CropBox is a filter that allows the user to filter all the data inside of a given box. More...
#include <crop_box.h>
Protected Member Functions | |
bool | child_init (ros::NodeHandle &nh, bool &has_service) |
Child initialization routine. | |
void | config_callback (pcl_ros::CropBoxConfig &config, uint32_t level) |
Dynamic reconfigure service callback. | |
void | filter (const PointCloud2::ConstPtr &input, const IndicesPtr &indices, PointCloud2 &output) |
Call the actual filter. | |
Protected Attributes | |
boost::shared_ptr < dynamic_reconfigure::Server < pcl_ros::CropBoxConfig > > | srv_ |
Pointer to a dynamic reconfigure service. | |
Private Attributes | |
pcl::CropBox< pcl::PCLPointCloud2 > | impl_ |
The PCL filter implementation used. |
CropBox is a filter that allows the user to filter all the data inside of a given box.
Definition at line 57 of file crop_box.h.
bool pcl_ros::CropBox::child_init | ( | ros::NodeHandle & | nh, |
bool & | has_service | ||
) | [protected, virtual] |
Child initialization routine.
nh | ROS node handle |
has_service | set to true if the child has a Dynamic Reconfigure service |
Reimplemented from pcl_ros::Filter.
Definition at line 44 of file crop_box.cpp.
void pcl_ros::CropBox::config_callback | ( | pcl_ros::CropBoxConfig & | config, |
uint32_t | level | ||
) | [protected] |
Dynamic reconfigure service callback.
config | the dynamic reconfigure CropBoxConfig object |
level | the dynamic reconfigure level |
Definition at line 57 of file crop_box.cpp.
void pcl_ros::CropBox::filter | ( | const PointCloud2::ConstPtr & | input, |
const IndicesPtr & | indices, | ||
PointCloud2 & | output | ||
) | [inline, protected, virtual] |
Call the actual filter.
input | the input point cloud dataset |
indices | the input set of indices to use from input |
output | the resultant filtered dataset |
Implements pcl_ros::Filter.
Definition at line 69 of file crop_box.h.
pcl::CropBox<pcl::PCLPointCloud2> pcl_ros::CropBox::impl_ [private] |
The PCL filter implementation used.
Definition at line 98 of file crop_box.h.
boost::shared_ptr<dynamic_reconfigure::Server<pcl_ros::CropBoxConfig> > pcl_ros::CropBox::srv_ [protected] |
Pointer to a dynamic reconfigure service.
Reimplemented from pcl_ros::Filter.
Definition at line 61 of file crop_box.h.