Map that stores orientations.
More...
#include <pcl/recognition/surface_normal_modality.h>
|
| LINEMOD_OrientationMap ()=default |
| Constructor. More...
|
|
| ~LINEMOD_OrientationMap ()=default |
| Destructor. More...
|
|
std::size_t | getWidth () const |
| Returns the width of the modality data map. More...
|
|
std::size_t | getHeight () const |
| Returns the height of the modality data map. More...
|
|
void | resize (const std::size_t width, const std::size_t height, const float value) |
| Resizes the map to the specific width and height and initializes all new elements with the specified value. More...
|
|
float & | operator() (const std::size_t col_index, const std::size_t row_index) |
| Operator to access elements of the map. More...
|
|
const float & | operator() (const std::size_t col_index, const std::size_t row_index) const |
| Operator to access elements of the map. More...
|
|
Map that stores orientations.
- Author
- Stefan Holzer
Definition at line 62 of file surface_normal_modality.h.
◆ LINEMOD_OrientationMap()
pcl::LINEMOD_OrientationMap::LINEMOD_OrientationMap |
( |
| ) |
|
|
inlinedefault |
◆ ~LINEMOD_OrientationMap()
pcl::LINEMOD_OrientationMap::~LINEMOD_OrientationMap |
( |
| ) |
|
|
inlinedefault |
◆ getHeight()
std::size_t pcl::LINEMOD_OrientationMap::getHeight |
( |
| ) |
const |
|
inline |
◆ getWidth()
std::size_t pcl::LINEMOD_OrientationMap::getWidth |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
float& pcl::LINEMOD_OrientationMap::operator() |
( |
const std::size_t |
col_index, |
|
|
const std::size_t |
row_index |
|
) |
| |
|
inline |
Operator to access elements of the map.
- Parameters
-
[in] | col_index | the column index of the element to access. |
[in] | row_index | the row index of the element to access. |
Definition at line 104 of file surface_normal_modality.h.
◆ operator()() [2/2]
const float& pcl::LINEMOD_OrientationMap::operator() |
( |
const std::size_t |
col_index, |
|
|
const std::size_t |
row_index |
|
) |
| const |
|
inline |
Operator to access elements of the map.
- Parameters
-
[in] | col_index | the column index of the element to access. |
[in] | row_index | the row index of the element to access. |
Definition at line 114 of file surface_normal_modality.h.
◆ resize()
void pcl::LINEMOD_OrientationMap::resize |
( |
const std::size_t |
width, |
|
|
const std::size_t |
height, |
|
|
const float |
value |
|
) |
| |
|
inline |
Resizes the map to the specific width and height and initializes all new elements with the specified value.
- Parameters
-
[in] | width | the width of the resized map. |
[in] | height | the height of the resized map. |
[in] | value | the value all new elements will be initialized with. |
Definition at line 91 of file surface_normal_modality.h.
The documentation for this struct was generated from the following file: