|
Point Cloud Library (PCL)
1.15.1-dev
|
Look-up-table for fast surface normal quantization. More...
#include <pcl/recognition/surface_normal_modality.h>
Public Member Functions | |
| QuantizedNormalLookUpTable ()=default | |
| Constructor. More... | |
| ~QuantizedNormalLookUpTable () | |
| Destructor. More... | |
| void | initializeLUT (const int range_x_arg, const int range_y_arg, const int range_z_arg) |
| Initializes the LUT. More... | |
| unsigned char | operator() (const float x, const float y, const float z) const |
| Operator to access an element in the LUT. More... | |
| unsigned char | operator() (const int index) const |
| Operator to access an element in the LUT. More... | |
Public Attributes | |
| int | range_x {-1} |
| The range of the LUT in x-direction. More... | |
| int | range_y {-1} |
| The range of the LUT in y-direction. More... | |
| int | range_z {-1} |
| The range of the LUT in z-direction. More... | |
| int | offset_x {-1} |
| The offset in x-direction. More... | |
| int | offset_y {-1} |
| The offset in y-direction. More... | |
| int | offset_z {-1} |
| The offset in z-direction. More... | |
| int | size_x {-1} |
| The size of the LUT in x-direction. More... | |
| int | size_y {-1} |
| The size of the LUT in y-direction. More... | |
| int | size_z {-1} |
| The size of the LUT in z-direction. More... | |
| unsigned char * | lut {nullptr} |
| The LUT data. More... | |
Look-up-table for fast surface normal quantization.
Definition at line 132 of file surface_normal_modality.h.
|
default |
Constructor.
|
inline |
|
inline |
Initializes the LUT.
| [in] | range_x_arg | the range of the LUT in x-direction. |
| [in] | range_y_arg | the range of the LUT in y-direction. |
| [in] | range_z_arg | the range of the LUT in z-direction. |
Definition at line 173 of file surface_normal_modality.h.
References lut, M_PI, offset_x, offset_y, offset_z, range_x, range_y, range_z, size_x, size_y, and size_z.
|
inline |
|
inline |
Operator to access an element in the LUT.
| [in] | index | the index of the element. |
Definition at line 284 of file surface_normal_modality.h.
References lut.
| unsigned char* pcl::QuantizedNormalLookUpTable::lut {nullptr} |
The LUT data.
Definition at line 156 of file surface_normal_modality.h.
Referenced by initializeLUT(), operator()(), and ~QuantizedNormalLookUpTable().
| int pcl::QuantizedNormalLookUpTable::offset_x {-1} |
The offset in x-direction.
Definition at line 142 of file surface_normal_modality.h.
Referenced by initializeLUT(), and operator()().
| int pcl::QuantizedNormalLookUpTable::offset_y {-1} |
The offset in y-direction.
Definition at line 144 of file surface_normal_modality.h.
Referenced by initializeLUT(), and operator()().
| int pcl::QuantizedNormalLookUpTable::offset_z {-1} |
The offset in z-direction.
Definition at line 146 of file surface_normal_modality.h.
Referenced by initializeLUT().
| int pcl::QuantizedNormalLookUpTable::range_x {-1} |
The range of the LUT in x-direction.
Definition at line 135 of file surface_normal_modality.h.
Referenced by initializeLUT().
| int pcl::QuantizedNormalLookUpTable::range_y {-1} |
The range of the LUT in y-direction.
Definition at line 137 of file surface_normal_modality.h.
Referenced by initializeLUT().
| int pcl::QuantizedNormalLookUpTable::range_z {-1} |
The range of the LUT in z-direction.
Definition at line 139 of file surface_normal_modality.h.
Referenced by initializeLUT(), and operator()().
| int pcl::QuantizedNormalLookUpTable::size_x {-1} |
The size of the LUT in x-direction.
Definition at line 149 of file surface_normal_modality.h.
Referenced by initializeLUT(), and operator()().
| int pcl::QuantizedNormalLookUpTable::size_y {-1} |
The size of the LUT in y-direction.
Definition at line 151 of file surface_normal_modality.h.
Referenced by initializeLUT(), and operator()().
| int pcl::QuantizedNormalLookUpTable::size_z {-1} |
The size of the LUT in z-direction.
Definition at line 153 of file surface_normal_modality.h.
Referenced by initializeLUT().