#include <color_filter.h>
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, PCLIndicesMsg > | SyncPolicy |
Protected Member Functions | |
virtual void | configCallback (Config &config, uint32_t level)=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 Attributes | |
pcl::ConditionalRemoval < pcl::PointXYZRGB > | filter_instance_ |
boost::mutex | mutex_ |
ros::Publisher | pub_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
message_filters::Subscriber < PCLIndicesMsg > | sub_indices_ |
message_filters::Subscriber < sensor_msgs::PointCloud2 > | sub_input_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
bool | use_indices_ |
Private Member Functions | |
virtual void | onInit () |
Friends | |
class | HSIColorFilter |
class | RGBColorFilter |
Definition at line 58 of file color_filter.h.
typedef PackedComparison jsk_pcl_ros::ColorFilter< PackedComparison, Config >::Comparison |
Definition at line 67 of file color_filter.h.
typedef pcl::ComparisonBase<pcl::PointXYZRGB>::Ptr jsk_pcl_ros::ColorFilter< PackedComparison, Config >::ComparisonPtr |
Definition at line 66 of file color_filter.h.
typedef pcl::ConditionBase<pcl::PointXYZRGB>::Ptr jsk_pcl_ros::ColorFilter< PackedComparison, Config >::ConditionPtr |
Definition at line 65 of file color_filter.h.
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.
virtual void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, pure virtual] |
Implemented in jsk_pcl_ros::HSIColorFilter, and jsk_pcl_ros::RGBColorFilter.
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::filter | ( | const sensor_msgs::PointCloud2ConstPtr & | input | ) | [protected, virtual] |
Definition at line 234 of file color_filter_nodelet.cpp.
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::filter | ( | const sensor_msgs::PointCloud2ConstPtr & | input, |
const PCLIndicesMsg::ConstPtr & | indices | ||
) | [protected, virtual] |
Definition at line 211 of file color_filter_nodelet.cpp.
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::onInit | ( | void | ) | [private, virtual] |
Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.
Reimplemented in jsk_pcl_ros::HSIColorFilter, and jsk_pcl_ros::RGBColorFilter.
Definition at line 240 of file color_filter_nodelet.cpp.
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 261 of file color_filter_nodelet.cpp.
void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 277 of file color_filter_nodelet.cpp.
virtual void jsk_pcl_ros::ColorFilter< PackedComparison, Config >::updateCondition | ( | ) | [protected, pure virtual] |
Implemented in jsk_pcl_ros::HSIColorFilter, and jsk_pcl_ros::RGBColorFilter.
friend class HSIColorFilter [friend] |
Definition at line 61 of file color_filter.h.
friend class RGBColorFilter [friend] |
Definition at line 60 of file color_filter.h.
pcl::ConditionalRemoval<pcl::PointXYZRGB> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::filter_instance_ [protected] |
Definition at line 71 of file color_filter.h.
boost::mutex jsk_pcl_ros::ColorFilter< PackedComparison, Config >::mutex_ [protected] |
Definition at line 70 of file color_filter.h.
ros::Publisher jsk_pcl_ros::ColorFilter< PackedComparison, Config >::pub_ [protected] |
Definition at line 74 of file color_filter.h.
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::ColorFilter< PackedComparison, Config >::srv_ [protected] |
Definition at line 75 of file color_filter.h.
message_filters::Subscriber<PCLIndicesMsg> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::sub_indices_ [protected] |
Definition at line 73 of file color_filter.h.
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::ColorFilter< PackedComparison, Config >::sub_input_ [protected] |
Definition at line 72 of file color_filter.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::ColorFilter< PackedComparison, Config >::sync_ [protected] |
Definition at line 83 of file color_filter.h.
bool jsk_pcl_ros::ColorFilter< PackedComparison, Config >::use_indices_ [protected] |
Definition at line 85 of file color_filter.h.