ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PCL_Normal_Estimator< Point, Normal > Class Template Reference

Class grouping different variants of the algorithm Class using a dependency to Point Cloud Library. More...

#include <PCL_normEst.h>

Public Types

enum  {
  MEAN = 0 , BEST = 1 , CLUSTER = 2 , POINTS = 100 ,
  UNIF = 101 , CUBES = 102 , KNN = 200 , RADIUS = 201
}
 

Public Member Functions

 PCL_Normal_Estimator (typename pcl::PointCloud< Point >::Ptr points, typename pcl::PointCloud< Normal >::Ptr normals)
 Constructor. More...
 
int & number_of_planes ()
 
int number_of_planes () const
 
int & accum_slices ()
 
int accum_slices () const
 
int & rotation_number ()
 
int rotation_number () const
 
int & normal_selection_mode ()
 
int normal_selection_mode () const
 
float & cluster_angle_rad ()
 
float cluster_angle_rad () const
 
int & minimal_neighbor_number_for_range_search ()
 
int minimal_neighbor_number_for_range_search () const
 
float & small_radius_fact ()
 
float small_radius_fact () const
 
int & number_of_cubes ()
 
int number_of_cubes () const
 
pcl::PointCloud< Point >::Ptr & point_cloud ()
 
pcl::PointCloud< Point >::Ptr point_cloud () const
 
pcl::PointCloud< Normal >::Ptr & normal_cloud ()
 
pcl::PointCloud< Normal >::Ptr normal_cloud () const
 
void estimate (int method=POINTS, int neighborhood_type=KNN, float neighborhood_size=200)
 

Detailed Description

template<class Point, class Normal>
class PCL_Normal_Estimator< Point, Normal >

Class grouping different variants of the algorithm Class using a dependency to Point Cloud Library.

Definition at line 66 of file PCL_normEst.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Point , class Normal >
anonymous enum
Enumerator
MEAN 

MEAN value 0, used for normal computation by mean

BEST 

BEST value 1, used for normal computation by best confidence

CLUSTER 

CLUSTER value 2, used for normal computation by clustering

POINTS 
UNIF 

UNIF value 101, used for method choice, triplets by uniform selection in the neighborhood sphere

CUBES 

CUBES value 102, used for method choice, triplets by selection with cubes discretization

KNN 

KNN value 200, neighborhood selection type, k-nearest neighbors

RADIUS 

RADIUS value 201, neighborhood selection type, range search

Definition at line 68 of file PCL_normEst.h.

Constructor & Destructor Documentation

◆ PCL_Normal_Estimator()

template<class Point , class Normal >
PCL_Normal_Estimator< Point, Normal >::PCL_Normal_Estimator ( typename pcl::PointCloud< Point >::Ptr  points,
typename pcl::PointCloud< Normal >::Ptr  normals 
)
inline

Constructor.

Parameters
points
normals

Definition at line 91 of file PCL_normEst.h.

Member Function Documentation

◆ accum_slices() [1/2]

template<class Point , class Normal >
int& PCL_Normal_Estimator< Point, Normal >::accum_slices ( )
inline

Definition at line 99 of file PCL_normEst.h.

◆ accum_slices() [2/2]

template<class Point , class Normal >
int PCL_Normal_Estimator< Point, Normal >::accum_slices ( ) const
inline

Definition at line 100 of file PCL_normEst.h.

◆ cluster_angle_rad() [1/2]

template<class Point , class Normal >
float& PCL_Normal_Estimator< Point, Normal >::cluster_angle_rad ( )
inline

Definition at line 105 of file PCL_normEst.h.

◆ cluster_angle_rad() [2/2]

template<class Point , class Normal >
float PCL_Normal_Estimator< Point, Normal >::cluster_angle_rad ( ) const
inline

Definition at line 106 of file PCL_normEst.h.

◆ estimate()

template<class Point , class Normal >
void PCL_Normal_Estimator< Point, Normal >::estimate ( int  method = POINTS,
int  neighborhood_type = KNN,
float  neighborhood_size = 200 
)
inline

◆ minimal_neighbor_number_for_range_search() [1/2]

template<class Point , class Normal >
int& PCL_Normal_Estimator< Point, Normal >::minimal_neighbor_number_for_range_search ( )
inline

Definition at line 108 of file PCL_normEst.h.

◆ minimal_neighbor_number_for_range_search() [2/2]

template<class Point , class Normal >
int PCL_Normal_Estimator< Point, Normal >::minimal_neighbor_number_for_range_search ( ) const
inline

Definition at line 111 of file PCL_normEst.h.

◆ normal_cloud() [1/2]

template<class Point , class Normal >
pcl::PointCloud<Normal>::Ptr& PCL_Normal_Estimator< Point, Normal >::normal_cloud ( )
inline

Definition at line 121 of file PCL_normEst.h.

◆ normal_cloud() [2/2]

template<class Point , class Normal >
pcl::PointCloud<Normal>::Ptr PCL_Normal_Estimator< Point, Normal >::normal_cloud ( ) const
inline

Definition at line 122 of file PCL_normEst.h.

◆ normal_selection_mode() [1/2]

template<class Point , class Normal >
int& PCL_Normal_Estimator< Point, Normal >::normal_selection_mode ( )
inline

Definition at line 103 of file PCL_normEst.h.

◆ normal_selection_mode() [2/2]

template<class Point , class Normal >
int PCL_Normal_Estimator< Point, Normal >::normal_selection_mode ( ) const
inline

Definition at line 104 of file PCL_normEst.h.

◆ number_of_cubes() [1/2]

template<class Point , class Normal >
int& PCL_Normal_Estimator< Point, Normal >::number_of_cubes ( )
inline

Definition at line 116 of file PCL_normEst.h.

◆ number_of_cubes() [2/2]

template<class Point , class Normal >
int PCL_Normal_Estimator< Point, Normal >::number_of_cubes ( ) const
inline

Definition at line 117 of file PCL_normEst.h.

◆ number_of_planes() [1/2]

template<class Point , class Normal >
int& PCL_Normal_Estimator< Point, Normal >::number_of_planes ( )
inline

Definition at line 97 of file PCL_normEst.h.

◆ number_of_planes() [2/2]

template<class Point , class Normal >
int PCL_Normal_Estimator< Point, Normal >::number_of_planes ( ) const
inline

Definition at line 98 of file PCL_normEst.h.

◆ point_cloud() [1/2]

template<class Point , class Normal >
pcl::PointCloud<Point>::Ptr& PCL_Normal_Estimator< Point, Normal >::point_cloud ( )
inline

Definition at line 119 of file PCL_normEst.h.

◆ point_cloud() [2/2]

template<class Point , class Normal >
pcl::PointCloud<Point>::Ptr PCL_Normal_Estimator< Point, Normal >::point_cloud ( ) const
inline

Definition at line 120 of file PCL_normEst.h.

◆ rotation_number() [1/2]

template<class Point , class Normal >
int& PCL_Normal_Estimator< Point, Normal >::rotation_number ( )
inline

Definition at line 101 of file PCL_normEst.h.

◆ rotation_number() [2/2]

template<class Point , class Normal >
int PCL_Normal_Estimator< Point, Normal >::rotation_number ( ) const
inline

Definition at line 102 of file PCL_normEst.h.

◆ small_radius_fact() [1/2]

template<class Point , class Normal >
float& PCL_Normal_Estimator< Point, Normal >::small_radius_fact ( )
inline

Definition at line 114 of file PCL_normEst.h.

◆ small_radius_fact() [2/2]

template<class Point , class Normal >
float PCL_Normal_Estimator< Point, Normal >::small_radius_fact ( ) const
inline

Definition at line 115 of file PCL_normEst.h.


The documentation for this class was generated from the following file: