A filter to remove parts of the robot seen in a pointcloud. More...
#include <self_see_filter.h>
Public Member Functions | |
virtual bool | configure (void) |
void | fillDiff (const pcl::PointCloud< pcl::PointXYZ > &data_in, const std::vector< int > &keep, pcl::PointCloud< pcl::PointXYZ > &data_out) |
void | fillResult (const pcl::PointCloud< pcl::PointXYZ > &data_in, const std::vector< int > &keep, pcl::PointCloud< pcl::PointXYZ > &data_out) |
robot_self_filter::SelfMask * | getSelfMask () |
SelfFilter (ros::NodeHandle nh) | |
Construct the filter. | |
void | setSensorFrame (const std::string &frame) |
virtual bool | update (const pcl::PointCloud< pcl::PointXYZ > &data_in, pcl::PointCloud< pcl::PointXYZ > &data_out, pcl::PointCloud< pcl::PointXYZ > &data_diff) |
Update the filter and return the data seperately. | |
virtual bool | update (const pcl::PointCloud< pcl::PointXYZ > &data_in, pcl::PointCloud< pcl::PointXYZ > &data_out) |
Update the filter and return the data seperately. | |
bool | updateWithSensorFrame (const pcl::PointCloud< pcl::PointXYZ > &data_in, pcl::PointCloud< pcl::PointXYZ > &data_out, pcl::PointCloud< pcl::PointXYZ > &data_diff, const std::string &sensor_frame) |
bool | updateWithSensorFrame (const pcl::PointCloud< pcl::PointXYZ > &data_in, pcl::PointCloud< pcl::PointXYZ > &data_out, const std::string &sensor_frame) |
virtual | ~SelfFilter (void) |
Destructor to clean up. | |
Protected Attributes | |
std::string | annotate_ |
bool | invert_ |
double | min_sensor_dist_ |
ros::NodeHandle | nh_ |
std::string | sensor_frame_ |
robot_self_filter::SelfMask * | sm_ |
tf::TransformListener | tf_ |
A filter to remove parts of the robot seen in a pointcloud.
Definition at line 38 of file self_see_filter.h.
filters::SelfFilter< T >::SelfFilter | ( | ros::NodeHandle | nh | ) | [inline] |
Construct the filter.
Definition at line 38 of file self_see_filter.h.
virtual filters::SelfFilter< T >::~SelfFilter | ( | void | ) | [inline, virtual] |
Destructor to clean up.
Definition at line 117 of file self_see_filter.h.
virtual bool filters::SelfFilter< T >::configure | ( | void | ) | [inline, virtual] |
Definition at line 123 of file self_see_filter.h.
void filters::SelfFilter< T >::fillDiff | ( | const pcl::PointCloud< pcl::PointXYZ > & | data_in, | |
const std::vector< int > & | keep, | |||
pcl::PointCloud< pcl::PointXYZ > & | data_out | |||
) | [inline] |
Definition at line 188 of file self_see_filter.h.
void filters::SelfFilter< T >::fillResult | ( | const pcl::PointCloud< pcl::PointXYZ > & | data_in, | |
const std::vector< int > & | keep, | |||
pcl::PointCloud< pcl::PointXYZ > & | data_out | |||
) | [inline] |
Definition at line 217 of file self_see_filter.h.
robot_self_filter::SelfMask* filters::SelfFilter< T >::getSelfMask | ( | ) | [inline] |
Definition at line 298 of file self_see_filter.h.
void filters::SelfFilter< T >::setSensorFrame | ( | const std::string & | frame | ) | [inline] |
Definition at line 303 of file self_see_filter.h.
virtual bool filters::SelfFilter< T >::update | ( | const pcl::PointCloud< pcl::PointXYZ > & | data_in, | |
pcl::PointCloud< pcl::PointXYZ > & | data_out, | |||
pcl::PointCloud< pcl::PointXYZ > & | data_diff | |||
) | [inline, virtual] |
Update the filter and return the data seperately.
data_in | T array with length width | |
data_out | T array with length width |
Definition at line 172 of file self_see_filter.h.
virtual bool filters::SelfFilter< T >::update | ( | const pcl::PointCloud< pcl::PointXYZ > & | data_in, | |
pcl::PointCloud< pcl::PointXYZ > & | data_out | |||
) | [inline, virtual] |
Update the filter and return the data seperately.
data_in | T array with length width | |
data_out | T array with length width |
Definition at line 147 of file self_see_filter.h.
bool filters::SelfFilter< T >::updateWithSensorFrame | ( | const pcl::PointCloud< pcl::PointXYZ > & | data_in, | |
pcl::PointCloud< pcl::PointXYZ > & | data_out, | |||
pcl::PointCloud< pcl::PointXYZ > & | data_diff, | |||
const std::string & | sensor_frame | |||
) | [inline] |
Definition at line 162 of file self_see_filter.h.
bool filters::SelfFilter< T >::updateWithSensorFrame | ( | const pcl::PointCloud< pcl::PointXYZ > & | data_in, | |
pcl::PointCloud< pcl::PointXYZ > & | data_out, | |||
const std::string & | sensor_frame | |||
) | [inline] |
Definition at line 136 of file self_see_filter.h.
std::string filters::SelfFilter< T >::annotate_ [protected] |
Definition at line 316 of file self_see_filter.h.
bool filters::SelfFilter< T >::invert_ [protected] |
Definition at line 314 of file self_see_filter.h.
double filters::SelfFilter< T >::min_sensor_dist_ [protected] |
Definition at line 317 of file self_see_filter.h.
ros::NodeHandle filters::SelfFilter< T >::nh_ [protected] |
Definition at line 313 of file self_see_filter.h.
std::string filters::SelfFilter< T >::sensor_frame_ [protected] |
Definition at line 315 of file self_see_filter.h.
robot_self_filter::SelfMask* filters::SelfFilter< T >::sm_ [protected] |
Definition at line 311 of file self_see_filter.h.
tf::TransformListener filters::SelfFilter< T >::tf_ [protected] |
Definition at line 310 of file self_see_filter.h.