Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_perception::KMeans Class Reference

#include <kmeans.h>

Inheritance diagram for jsk_perception::KMeans:
Inheritance graph
[legend]

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_
 

Detailed Description

Definition at line 80 of file kmeans.h.

Member Typedef Documentation

◆ Config

typedef jsk_perception::KMeansConfig jsk_perception::KMeans::Config

Definition at line 115 of file kmeans.h.

Constructor & Destructor Documentation

◆ KMeans()

jsk_perception::KMeans::KMeans ( )
inline

Definition at line 116 of file kmeans.h.

Member Function Documentation

◆ apply()

void jsk_perception::KMeans::apply ( const sensor_msgs::Image::ConstPtr &  image_msg)
protectedvirtual

Definition at line 110 of file kmeans.cpp.

◆ configCallback()

void jsk_perception::KMeans::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 103 of file kmeans.cpp.

◆ onInit()

void jsk_perception::KMeans::onInit ( )
protectedvirtual

Definition at line 79 of file kmeans.cpp.

◆ subscribe()

void jsk_perception::KMeans::subscribe ( )
protectedvirtual

Definition at line 91 of file kmeans.cpp.

◆ unsubscribe()

void jsk_perception::KMeans::unsubscribe ( )
protectedvirtual

Definition at line 98 of file kmeans.cpp.

Member Data Documentation

◆ mutex_

boost::mutex jsk_perception::KMeans::mutex_
protected

Definition at line 124 of file kmeans.h.

◆ n_clusters_

int jsk_perception::KMeans::n_clusters_
protected

Definition at line 128 of file kmeans.h.

◆ pub_

ros::Publisher jsk_perception::KMeans::pub_
protected

Definition at line 126 of file kmeans.h.

◆ srv_

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_perception::KMeans::srv_
protected

Definition at line 127 of file kmeans.h.

◆ sub_

ros::Subscriber jsk_perception::KMeans::sub_
protected

Definition at line 125 of file kmeans.h.


The documentation for this class was generated from the following files:


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Fri May 16 2025 03:11:17