Point Cloud Library (PCL)
1.10.0
|
37 #ifndef _PCL_GPU_FEATURES_HPP_
38 #define _PCL_GPU_FEATURES_HPP_
42 #include <pcl/gpu/containers/device_array.h>
43 #include <pcl/gpu/octree/device_format.hpp>
44 #include <pcl/gpu/octree/octree.hpp>
66 void setSearchSurface(
const PointCloud& surface);
67 void setIndices(
const Indices& indices);
68 void setRadiusSearch(
float radius,
int max_results);
86 void setInputNormals(
const Normals& normals);
100 void compute(
Normals& normals);
101 void setViewPoint(
float vpx,
float vpy,
float vpz);
102 void getViewPoint(
float& vpx,
float& vpy,
float& vpz);
108 float vpx_, vpy_, vpz_;
225 void setViewPoint(
float vpx,
float vpy,
float vpz);
226 void getViewPoint(
float& vpx,
float& vpy,
float& vpz);
228 void setUseGivenNormal (
bool use);
229 void setNormalToUse (
const NormalType& normal);
230 void setUseGivenCentroid (
bool use);
231 void setCentroidToUse (
const PointType& centroid);
233 void setNormalizeBins (
bool normalize);
234 void setNormalizeDistance (
bool normalize);
235 void setFillSizeComponent (
bool fill_size);
240 float vpx_, vpy_, vpz_;
242 bool use_given_normal_;
243 bool use_given_centroid_;
244 bool normalize_bins_;
245 bool normalize_distances_;
246 bool size_component_;
248 NormalType normal_to_use_;
249 PointType centroid_to_use_;
262 double support_angle_cos = 0.0,
263 unsigned int min_pts_neighb = 0);
265 void setImageWidth (
unsigned int bin_count);
266 void setSupportAngle (
float support_angle_cos);
267 void setMinPointCountInNeighbourhood (
unsigned int min_pts_neighb);
268 void setInputWithNormals (
const PointCloud& input,
const Normals& normals);
269 void setSearchSurfaceWithNormals (
const PointCloud& surface,
const Normals& normals);
271 void setRotationAxis (
const NormalType& axis);
272 void setInputRotationAxes (
const Normals& axes);
273 void useNormalsAsRotationAxis();
274 void setAngularDomain (
bool is_angular =
true);
275 void setRadialStructure (
bool is_radial =
true);
277 void compute(DeviceArray2D<SpinImage>& features, DeviceArray<unsigned char>& mask);
280 Normals input_normals_;
281 Normals rotation_axes_cloud_;
285 NormalType rotation_axis_;
286 bool use_custom_axis_;
Defines all the PCL and non-PCL macros used.
This file defines compatibility wrappers for low level I/O functions.
Class for PPFRGBRegion estimation.
Octree implementation on GPU.
Estimates spin-image descriptors in the given input points.
Feature represents the base feature class.
PointCloud represents the base class in PCL for storing collections of 3D points.
bool use_custom_axes_cloud_
Class for SpinImages estimation.
NeighborIndices nn_indices_
Class for PFH estimation.
void flipNormalTowardsViewpoint(const PointT &point, float vp_x, float vp_y, float vp_z, Eigen::Matrix< Scalar, 4, 1 > &normal)
Flip (in place) the estimated normal of a point towards a given viewpoint.
A point structure representing Euclidean xyz coordinates.
PrincipalCurvaturesEstimation estimates the directions (eigenvectors) and magnitudes (eigenvalues) of...
Class for PFHRGB estimation.
Class for normal estimation.
A point structure representing an N-D histogram.
Class for FPFH estimation.
unsigned int image_width_
Feature represents the base feature class that takes normals as input also.
unsigned int min_pts_neighb_