Map that stores orientations. More...
#include <surface_normal_modality.h>
Public Member Functions | |
size_t | getHeight () const |
Returns the height of the modality data map. | |
size_t | getWidth () const |
Returns the width of the modality data map. | |
LINEMOD_OrientationMap () | |
Constructor. | |
float & | operator() (const size_t col_index, const size_t row_index) |
Operator to access elements of the map. | |
const float & | operator() (const size_t col_index, const size_t row_index) const |
Operator to access elements of the map. | |
void | resize (const size_t width, const size_t height, const float value) |
Resizes the map to the specific width and height and initializes all new elements with the specified value. | |
~LINEMOD_OrientationMap () | |
Destructor. | |
Private Attributes | |
size_t | height_ |
The height of the map. | |
std::vector< float > | map_ |
Storage for the data of the map. | |
size_t | width_ |
The width of the map. |
Map that stores orientations.
Definition at line 55 of file surface_normal_modality.h.
pcl::LINEMOD_OrientationMap::LINEMOD_OrientationMap | ( | ) | [inline] |
Constructor.
Definition at line 59 of file surface_normal_modality.h.
pcl::LINEMOD_OrientationMap::~LINEMOD_OrientationMap | ( | ) | [inline] |
Destructor.
Definition at line 61 of file surface_normal_modality.h.
size_t pcl::LINEMOD_OrientationMap::getHeight | ( | ) | const [inline] |
Returns the height of the modality data map.
Definition at line 72 of file surface_normal_modality.h.
size_t pcl::LINEMOD_OrientationMap::getWidth | ( | ) | const [inline] |
Returns the width of the modality data map.
Definition at line 65 of file surface_normal_modality.h.
float& pcl::LINEMOD_OrientationMap::operator() | ( | const size_t | col_index, |
const size_t | row_index | ||
) | [inline] |
Operator to access elements of the map.
[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 97 of file surface_normal_modality.h.
const float& pcl::LINEMOD_OrientationMap::operator() | ( | const size_t | col_index, |
const size_t | row_index | ||
) | const [inline] |
Operator to access elements of the map.
[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 107 of file surface_normal_modality.h.
void pcl::LINEMOD_OrientationMap::resize | ( | const size_t | width, |
const 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.
[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 84 of file surface_normal_modality.h.
size_t pcl::LINEMOD_OrientationMap::height_ [private] |
The height of the map.
Definition at line 116 of file surface_normal_modality.h.
std::vector<float> pcl::LINEMOD_OrientationMap::map_ [private] |
Storage for the data of the map.
Definition at line 118 of file surface_normal_modality.h.
size_t pcl::LINEMOD_OrientationMap::width_ [private] |
The width of the map.
Definition at line 114 of file surface_normal_modality.h.