Public Types | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
jsk_pcl_ros::ColorFilter< PackedComparison, Config > Class Template Referenceabstract

#include <color_filter.h>

Inheritance diagram for jsk_pcl_ros::ColorFilter< PackedComparison, Config >:
Inheritance graph
[legend]

Public Types

typedef PackedComparison Comparison
 
typedef pcl::ComparisonBase< pcl::PointXYZRGB >::Ptr ComparisonPtr
 
typedef pcl::ConditionBase< pcl::PointXYZRGB >::Ptr ConditionPtr
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, PCLIndicesMsgSyncPolicy
 

Protected Member Functions

virtual void configCallback (Config &config, uint32_t level)=0
 
virtual void convertToColorSpace (float &x, float &y, float &z, unsigned char r, unsigned char g, unsigned char b)=0
 
virtual void filter (const sensor_msgs::PointCloud2ConstPtr &input)
 
virtual void filter (const sensor_msgs::PointCloud2ConstPtr &input, const PCLIndicesMsg::ConstPtr &indices)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void updateCondition ()=0
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

sensor_msgs::PointCloud2 color_space_msg_
 
ros::Publisher color_space_pub_
 
pcl::ConditionalRemoval< pcl::PointXYZRGB > filter_instance_
 
boost::mutex mutex_
 
ros::Publisher pub_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
message_filters::Subscriber< PCLIndicesMsgsub_indices_
 
message_filters::Subscriber< sensor_msgs::PointCloud2 > sub_input_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
bool use_indices_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Private Member Functions

virtual void onInit ()
 

Friends

class HSIColorFilter
 
class RGBColorFilter
 

Additional Inherited Members

- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Detailed Description

template<class PackedComparison, typename Config>
class jsk_pcl_ros::ColorFilter< PackedComparison, Config >

Definition at line 58 of file color_filter.h.

Member Typedef Documentation

template<class PackedComparison, typename Config>
typedef PackedComparison jsk_pcl_ros::ColorFilter< PackedComparison, Config >::Comparison

Definition at line 67 of file color_filter.h.

template<class PackedComparison, typename Config>
typedef pcl::ComparisonBase<pcl::PointXYZRGB>::Ptr jsk_pcl_ros::ColorFilter< PackedComparison, Config >::ComparisonPtr

Definition at line 66 of file color_filter.h.

template<class PackedComparison, typename Config>
typedef pcl::ConditionBase<pcl::PointXYZRGB>::Ptr jsk_pcl_ros::ColorFilter< PackedComparison, Config >::ConditionPtr

Definition at line 65 of file color_filter.h.

template<class PackedComparison, typename Config>
typedef message_filters::sync_policies::ExactTime<sensor_msgs::PointCloud2, PCLIndicesMsg> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::SyncPolicy

Definition at line 64 of file color_filter.h.

Member Function Documentation

template<class PackedComparison, typename Config>
virtual void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::configCallback ( Config &  config,
uint32_t  level 
)
protectedpure virtual
template<class PackedComparison, typename Config>
virtual void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::convertToColorSpace ( float x,
float y,
float z,
unsigned char  r,
unsigned char  g,
unsigned char  b 
)
protectedpure virtual
template<class PackedComparison , typename Config >
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::filter ( const sensor_msgs::PointCloud2ConstPtr &  input)
protectedvirtual

Definition at line 304 of file color_filter_nodelet.cpp.

template<class PackedComparison , typename Config >
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::filter ( const sensor_msgs::PointCloud2ConstPtr &  input,
const PCLIndicesMsg::ConstPtr &  indices 
)
protectedvirtual

publish color spaces

Definition at line 242 of file color_filter_nodelet.cpp.

template<class PackedComparison , typename Config >
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::onInit ( void  )
privatevirtual
template<class PackedComparison , typename Config >
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::subscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 352 of file color_filter_nodelet.cpp.

template<class PackedComparison , typename Config >
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::unsubscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 368 of file color_filter_nodelet.cpp.

template<class PackedComparison, typename Config>
virtual void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::updateCondition ( )
protectedpure virtual

Friends And Related Function Documentation

template<class PackedComparison, typename Config>
friend class HSIColorFilter
friend

Definition at line 61 of file color_filter.h.

template<class PackedComparison, typename Config>
friend class RGBColorFilter
friend

Definition at line 60 of file color_filter.h.

Member Data Documentation

template<class PackedComparison, typename Config>
sensor_msgs::PointCloud2 jsk_pcl_ros::ColorFilter< PackedComparison, Config >::color_space_msg_
protected

Definition at line 75 of file color_filter.h.

template<class PackedComparison, typename Config>
ros::Publisher jsk_pcl_ros::ColorFilter< PackedComparison, Config >::color_space_pub_
protected

Definition at line 76 of file color_filter.h.

template<class PackedComparison, typename Config>
pcl::ConditionalRemoval<pcl::PointXYZRGB> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::filter_instance_
protected

Definition at line 71 of file color_filter.h.

template<class PackedComparison, typename Config>
boost::mutex jsk_pcl_ros::ColorFilter< PackedComparison, Config >::mutex_
protected

Definition at line 70 of file color_filter.h.

template<class PackedComparison, typename Config>
ros::Publisher jsk_pcl_ros::ColorFilter< PackedComparison, Config >::pub_
protected

Definition at line 74 of file color_filter.h.

template<class PackedComparison, typename Config>
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::ColorFilter< PackedComparison, Config >::srv_
protected

Definition at line 77 of file color_filter.h.

template<class PackedComparison, typename Config>
message_filters::Subscriber<PCLIndicesMsg> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::sub_indices_
protected

Definition at line 73 of file color_filter.h.

template<class PackedComparison, typename Config>
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::sub_input_
protected

Definition at line 72 of file color_filter.h.

template<class PackedComparison, typename Config>
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::ColorFilter< PackedComparison, Config >::sync_
protected

Definition at line 87 of file color_filter.h.

template<class PackedComparison, typename Config>
bool jsk_pcl_ros::ColorFilter< PackedComparison, Config >::use_indices_
protected

Definition at line 89 of file color_filter.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:47