45 output.header = cloud->header;
60 impl_.setIndices (indices);
64 impl_.compute (output);
68 output.header = cloud->header;
pcl::IndicesPtr IndicesPtr
int k_
The number of K nearest neighbors to use for each point.
void publish(const boost::shared_ptr< M > &message) const
pcl_ros::MomentInvariantsEstimation MomentInvariantsEstimation
double search_radius_
The nearest neighbors search radius for each point.
pcl::PointCloud< pcl::MomentInvariants > PointCloudOut
void computePublish(const PointCloudInConstPtr &cloud, const PointCloudInConstPtr &surface, const IndicesPtr &indices)
Compute the feature and publish it.
MomentInvariantsEstimation estimates the 3 moment invariants (j1, j2, j3) at each 3D point...
void emptyPublish(const PointCloudInConstPtr &cloud)
Publish an empty point cloud of the feature output type.
ros::Publisher pub_output_
The output PointCloud publisher.
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
boost::shared_ptr< T > pcl_ptr(const boost::shared_ptr< T > &p)
boost::shared_ptr< T > ros_ptr(const boost::shared_ptr< T > &p)
pcl::MomentInvariantsEstimation< pcl::PointXYZ, pcl::MomentInvariants > impl_