Stores a set of linearized maps.
More...
#include <pcl/recognition/linemod.h>
|
| LinearizedMaps ()=default |
| Constructor. More...
|
|
virtual | ~LinearizedMaps ()=default |
| Destructor. More...
|
|
std::size_t | getWidth () const |
| Returns the width of the linearized map. More...
|
|
std::size_t | getHeight () const |
| Returns the height of the linearized map. More...
|
|
std::size_t | getStepSize () const |
| Returns the step-size used to construct the linearized map. More...
|
|
std::size_t | getMapMemorySize () const |
| Returns the size of the memory map. More...
|
|
void | initialize (const std::size_t width, const std::size_t height, const std::size_t step_size) |
| Initializes the linearized map. More...
|
|
void | releaseAll () |
| Releases the internal memory. More...
|
|
unsigned char * | operator() (const std::size_t col_index, const std::size_t row_index) |
| Operator to access elements of the linearized map by column and row index. More...
|
|
unsigned char * | getOffsetMap (const std::size_t col_index, const std::size_t row_index) |
| Returns a linearized map starting at the specified position. More...
|
|
Stores a set of linearized maps.
- Author
- Stefan Holzer
Definition at line 194 of file linemod.h.
◆ LinearizedMaps()
pcl::LinearizedMaps::LinearizedMaps |
( |
| ) |
|
|
default |
◆ ~LinearizedMaps()
virtual pcl::LinearizedMaps::~LinearizedMaps |
( |
| ) |
|
|
virtualdefault |
◆ getHeight()
std::size_t pcl::LinearizedMaps::getHeight |
( |
| ) |
const |
|
inline |
Returns the height of the linearized map.
Definition at line 209 of file linemod.h.
◆ getMapMemorySize()
std::size_t pcl::LinearizedMaps::getMapMemorySize |
( |
| ) |
const |
|
inline |
Returns the size of the memory map.
Definition at line 217 of file linemod.h.
◆ getOffsetMap()
unsigned char* pcl::LinearizedMaps::getOffsetMap |
( |
const std::size_t |
col_index, |
|
|
const std::size_t |
row_index |
|
) |
| |
|
inline |
Returns a linearized map starting at the specified position.
- Parameters
-
[in] | col_index | the column index at which the returned map starts. |
[in] | row_index | the row index at which the returned map starts. |
Definition at line 275 of file linemod.h.
◆ getStepSize()
std::size_t pcl::LinearizedMaps::getStepSize |
( |
| ) |
const |
|
inline |
Returns the step-size used to construct the linearized map.
Definition at line 213 of file linemod.h.
◆ getWidth()
std::size_t pcl::LinearizedMaps::getWidth |
( |
| ) |
const |
|
inline |
Returns the width of the linearized map.
Definition at line 205 of file linemod.h.
◆ initialize()
void pcl::LinearizedMaps::initialize |
( |
const std::size_t |
width, |
|
|
const std::size_t |
height, |
|
|
const std::size_t |
step_size |
|
) |
| |
|
inline |
Initializes the linearized map.
- Parameters
-
[in] | width | the width of the source map. |
[in] | height | the height of the source map. |
[in] | step_size | the step-size used to sample the source map. |
Definition at line 225 of file linemod.h.
References pcl::aligned_malloc().
◆ operator()()
unsigned char* pcl::LinearizedMaps::operator() |
( |
const std::size_t |
col_index, |
|
|
const std::size_t |
row_index |
|
) |
| |
|
inline |
Operator to access elements of the linearized map by column and row index.
- Parameters
-
[in] | col_index | the column index. |
[in] | row_index | the row index. |
Definition at line 265 of file linemod.h.
◆ releaseAll()
void pcl::LinearizedMaps::releaseAll |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: