43 #include <pcl/features/feature.h>
57 template <
typename Po
intInT,
typename Po
intNT,
typename Po
intOutT = pcl::PrincipalCurvatures>
61 using Ptr = shared_ptr<PrincipalCurvaturesEstimation<PointInT, PointNT, PointOutT> >;
62 using ConstPtr = shared_ptr<const PrincipalCurvaturesEstimation<PointInT, PointNT, PointOutT> >;
104 float &pcx,
float &pcy,
float &pcz,
float &pc1,
float &pc2);
130 #ifdef PCL_NO_PRECOMPILE
131 #include <pcl/features/impl/principal_curvatures.hpp>
Feature represents the base feature class.
shared_ptr< Feature< PointInT, PointOutT > > Ptr
std::string feature_name_
The feature name.
shared_ptr< const Feature< PointInT, PointOutT > > ConstPtr
PrincipalCurvaturesEstimation estimates the directions (eigenvectors) and magnitudes (eigenvalues) of...
int chunk_size_
Chunk size for (dynamic) scheduling.
void setNumberOfThreads(unsigned int nr_threads)
Initialize the scheduler and set the number of threads to use.
void computePointPrincipalCurvatures(const pcl::PointCloud< PointNT > &normals, int p_idx, const pcl::Indices &indices, float &pcx, float &pcy, float &pcz, float &pc1, float &pc2)
Perform Principal Components Analysis (PCA) on the point normals of a surface patch in the tangent pl...
PrincipalCurvaturesEstimation(unsigned int nr_threads=1, int chunk_size=256)
Initialize the scheduler and set the number of threads to use.
void computeFeature(PointCloudOut &output) override
Estimate the principal curvature (eigenvector of the max eigenvalue), along with both the max (pc1) a...
unsigned int threads_
The number of threads the scheduler should use.
IndicesAllocator<> Indices
Type used for indices in PCL.