A filter to remove parts of the robot seen in a pointcloud. More...
#include <self_see_filter.h>
Public Types | |
typedef pcl::PointCloud< PointT > | PointCloud |
Public Member Functions | |
virtual bool | configure (void) |
void | fillDiff (const PointCloud &data_in, const std::vector< int > &keep, PointCloud &data_out) |
void | fillResult (const PointCloud &data_in, const std::vector< int > &keep, PointCloud &data_out) |
robot_self_filter::SelfMask < PointT > * | getSelfMask () |
SelfFilter (ros::NodeHandle nh) | |
Construct the filter. | |
void | setSensorFrame (const std::string &frame) |
virtual bool | update (const PointCloud &data_in, PointCloud &data_out) |
Update the filter and return the data seperately. | |
virtual bool | update (const PointCloud &data_in, PointCloud &data_out, PointCloud &data_diff) |
Update the filter and return the data seperately. | |
virtual bool | update (const std::vector< PointCloud > &data_in, std::vector< PointCloud > &data_out) |
bool | updateWithSensorFrame (const PointCloud &data_in, PointCloud &data_out, const std::string &sensor_frame) |
bool | updateWithSensorFrame (const PointCloud &data_in, PointCloud &data_out, PointCloud &data_diff, const std::string &sensor_frame) |
virtual bool | updateWithSensorFrame (const std::vector< PointCloud > &data_in, std::vector< PointCloud > &data_out, const std::string &sensor_frame) |
virtual | ~SelfFilter (void) |
Destructor to clean up. | |
Protected Attributes | |
bool | invert_ |
bool | keep_organized_ |
double | min_sensor_dist_ |
ros::NodeHandle | nh_ |
std::string | sensor_frame_ |
robot_self_filter::SelfMask < PointT > * | sm_ |
tf::TransformListener | tf_ |
A filter to remove parts of the robot seen in a pointcloud.
Definition at line 45 of file self_see_filter.h.
typedef pcl::PointCloud<PointT> filters::SelfFilter< PointT >::PointCloud |
Definition at line 49 of file self_see_filter.h.
filters::SelfFilter< PointT >::SelfFilter | ( | ros::NodeHandle | nh | ) | [inline] |
Construct the filter.
Definition at line 51 of file self_see_filter.h.
virtual filters::SelfFilter< PointT >::~SelfFilter | ( | void | ) | [inline, virtual] |
Destructor to clean up.
Definition at line 111 of file self_see_filter.h.
virtual bool filters::SelfFilter< PointT >::configure | ( | void | ) | [inline, virtual] |
Implements filters::FilterBase< pcl::PointCloud< PointT > >.
Definition at line 116 of file self_see_filter.h.
void filters::SelfFilter< PointT >::fillDiff | ( | const PointCloud & | data_in, |
const std::vector< int > & | keep, | ||
PointCloud & | data_out | ||
) | [inline] |
Definition at line 173 of file self_see_filter.h.
void filters::SelfFilter< PointT >::fillResult | ( | const PointCloud & | data_in, |
const std::vector< int > & | keep, | ||
PointCloud & | data_out | ||
) | [inline] |
Definition at line 192 of file self_see_filter.h.
robot_self_filter::SelfMask<PointT>* filters::SelfFilter< PointT >::getSelfMask | ( | ) | [inline] |
Definition at line 238 of file self_see_filter.h.
void filters::SelfFilter< PointT >::setSensorFrame | ( | const std::string & | frame | ) | [inline] |
Definition at line 242 of file self_see_filter.h.
virtual bool filters::SelfFilter< PointT >::update | ( | const PointCloud & | data_in, |
PointCloud & | 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 138 of file self_see_filter.h.
virtual bool filters::SelfFilter< PointT >::update | ( | const PointCloud & | data_in, |
PointCloud & | data_out, | ||
PointCloud & | 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 160 of file self_see_filter.h.
virtual bool filters::SelfFilter< PointT >::update | ( | const std::vector< PointCloud > & | data_in, |
std::vector< PointCloud > & | data_out | ||
) | [inline, virtual] |
Definition at line 228 of file self_see_filter.h.
bool filters::SelfFilter< PointT >::updateWithSensorFrame | ( | const PointCloud & | data_in, |
PointCloud & | data_out, | ||
const std::string & | sensor_frame | ||
) | [inline] |
Definition at line 128 of file self_see_filter.h.
bool filters::SelfFilter< PointT >::updateWithSensorFrame | ( | const PointCloud & | data_in, |
PointCloud & | data_out, | ||
PointCloud & | data_diff, | ||
const std::string & | sensor_frame | ||
) | [inline] |
Definition at line 150 of file self_see_filter.h.
virtual bool filters::SelfFilter< PointT >::updateWithSensorFrame | ( | const std::vector< PointCloud > & | data_in, |
std::vector< PointCloud > & | data_out, | ||
const std::string & | sensor_frame | ||
) | [inline, virtual] |
Definition at line 222 of file self_see_filter.h.
bool filters::SelfFilter< PointT >::invert_ [protected] |
Definition at line 252 of file self_see_filter.h.
bool filters::SelfFilter< PointT >::keep_organized_ [protected] |
Definition at line 255 of file self_see_filter.h.
double filters::SelfFilter< PointT >::min_sensor_dist_ [protected] |
Definition at line 254 of file self_see_filter.h.
ros::NodeHandle filters::SelfFilter< PointT >::nh_ [protected] |
Definition at line 251 of file self_see_filter.h.
std::string filters::SelfFilter< PointT >::sensor_frame_ [protected] |
Definition at line 253 of file self_see_filter.h.
robot_self_filter::SelfMask<PointT>* filters::SelfFilter< PointT >::sm_ [protected] |
Definition at line 249 of file self_see_filter.h.
tf::TransformListener filters::SelfFilter< PointT >::tf_ [protected] |
Definition at line 248 of file self_see_filter.h.