45 output.header = cloud->header;
63 impl_.setInputCloud (cloud);
64 impl_.setIndices (indices);
65 impl_.setSearchSurface (surface);
66 impl_.setInputNormals (normals);
69 impl_.compute (output);
72 output.header = cloud->header;
pcl_ros::BoundaryEstimation BoundaryEstimation
void publish(const boost::shared_ptr< M > &message) const
pcl::BoundaryEstimation< pcl::PointXYZ, pcl::Normal, pcl::Boundary > impl_
void emptyPublish(const PointCloudInConstPtr &cloud)
Publish an empty point cloud of the feature output type.
int k_
The number of K nearest neighbors to use for each point.
PointCloudN::ConstPtr PointCloudNConstPtr
PLUGINLIB_EXPORT_CLASS(BoundaryEstimation, nodelet::Nodelet)
void computePublish(const PointCloudInConstPtr &cloud, const PointCloudNConstPtr &normals, const PointCloudInConstPtr &surface, const IndicesPtr &indices)
Compute the feature and publish it.
boost::shared_ptr< std::vector< int > > IndicesPtr
double search_radius_
The nearest neighbors search radius for each point.
BoundaryEstimation estimates whether a set of points is lying on surface boundaries using an angle cr...
pcl::PointCloud< pcl::Boundary > PointCloudOut
int spatial_locator_type_
Parameter for the spatial locator tree. By convention, the values represent: 0: ANN (Approximate Near...
ros::Publisher pub_output_
The output PointCloud publisher.
PointCloudIn::ConstPtr PointCloudInConstPtr
KdTreePtr tree_
The input point cloud dataset.