45 output.header = cloud->header;
60 impl_.setInputCloud (cloud);
61 impl_.setIndices (indices);
62 impl_.setSearchSurface (surface);
63 impl_.setInputNormals (normals);
66 impl_.compute (output);
70 output.header = cloud->header;
void publish(const boost::shared_ptr< M > &message) const
pcl::PrincipalCurvaturesEstimation< pcl::PointXYZ, pcl::Normal, pcl::PrincipalCurvatures > impl_
void computePublish(const PointCloudInConstPtr &cloud, const PointCloudNConstPtr &normals, const PointCloudInConstPtr &surface, const IndicesPtr &indices)
Compute the feature and publish it.
pcl::PointCloud< pcl::PrincipalCurvatures > PointCloudOut
PrincipalCurvaturesEstimation estimates the directions (eigenvectors) and magnitudes (eigenvalues) of...
int k_
The number of K nearest neighbors to use for each point.
PointCloudN::ConstPtr PointCloudNConstPtr
double search_radius_
The nearest neighbors search radius for each point.
void emptyPublish(const PointCloudInConstPtr &cloud)
Publish an empty point cloud of the feature output type.
PLUGINLIB_EXPORT_CLASS(CropBox, nodelet::Nodelet)
ros::Publisher pub_output_
The output PointCloud publisher.
PointCloudIn::ConstPtr PointCloudInConstPtr
pcl_ros::PrincipalCurvaturesEstimation PrincipalCurvaturesEstimation