#include <kmeans.h>
Public Types | |
typedef jsk_perception::KMeansConfig | Config |
Public Member Functions | |
KMeans () | |
Protected Member Functions | |
virtual void | apply (const sensor_msgs::Image::ConstPtr &image_msg) |
virtual void | configCallback (Config &config, uint32_t level) |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | unsubscribe () |
Protected Attributes | |
boost::mutex | mutex_ |
int | n_clusters_ |
ros::Publisher | pub_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
ros::Subscriber | sub_ |
typedef jsk_perception::KMeansConfig jsk_perception::KMeans::Config |
jsk_perception::KMeans::KMeans | ( | ) | [inline] |
void jsk_perception::KMeans::apply | ( | const sensor_msgs::Image::ConstPtr & | image_msg | ) | [protected, virtual] |
Definition at line 73 of file kmeans.cpp.
void jsk_perception::KMeans::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
Definition at line 66 of file kmeans.cpp.
void jsk_perception::KMeans::onInit | ( | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 45 of file kmeans.cpp.
void jsk_perception::KMeans::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 56 of file kmeans.cpp.
void jsk_perception::KMeans::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 61 of file kmeans.cpp.
boost::mutex jsk_perception::KMeans::mutex_ [protected] |
int jsk_perception::KMeans::n_clusters_ [protected] |
ros::Publisher jsk_perception::KMeans::pub_ [protected] |
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_perception::KMeans::srv_ [protected] |
ros::Subscriber jsk_perception::KMeans::sub_ [protected] |