Stores a set of linearized maps. More...
#include <linemod.h>
Public Member Functions | |
size_t | getHeight () const |
Returns the height of the linearized map. | |
size_t | getMapMemorySize () const |
Returns the size of the memory map. | |
unsigned char * | getOffsetMap (const size_t col_index, const size_t row_index) |
Returns a linearized map starting at the specified position. | |
size_t | getStepSize () const |
Returns the step-size used to construct the linearized map. | |
size_t | getWidth () const |
Returns the width of the linearized map. | |
void | initialize (const size_t width, const size_t height, const size_t step_size) |
Initializes the linearized map. | |
LinearizedMaps () | |
Constructor. | |
unsigned char * | operator() (const size_t col_index, const size_t row_index) |
Operator to access elements of the linearized map by column and row index. | |
void | releaseAll () |
Releases the internal memory. | |
virtual | ~LinearizedMaps () |
Destructor. | |
Private Attributes | |
size_t | height_ |
the original height of the data represented by the map. | |
std::vector< unsigned char * > | maps_ |
a vector containing all the linearized maps. | |
size_t | mem_height_ |
the actual height of the linearized map. | |
size_t | mem_width_ |
the actual width of the linearized map. | |
size_t | step_size_ |
the step-size used for sampling the original data. | |
size_t | width_ |
the original width of the data represented by the map. |
pcl::LinearizedMaps::LinearizedMaps | ( | ) | [inline] |
virtual pcl::LinearizedMaps::~LinearizedMaps | ( | ) | [inline, virtual] |
size_t pcl::LinearizedMaps::getHeight | ( | ) | const [inline] |
size_t pcl::LinearizedMaps::getMapMemorySize | ( | ) | const [inline] |
unsigned char* pcl::LinearizedMaps::getOffsetMap | ( | const size_t | col_index, |
const size_t | row_index | ||
) | [inline] |
size_t pcl::LinearizedMaps::getStepSize | ( | ) | const [inline] |
size_t pcl::LinearizedMaps::getWidth | ( | ) | const [inline] |
void pcl::LinearizedMaps::initialize | ( | const size_t | width, |
const size_t | height, | ||
const size_t | step_size | ||
) | [inline] |
unsigned char* pcl::LinearizedMaps::operator() | ( | const size_t | col_index, |
const size_t | row_index | ||
) | [inline] |
void pcl::LinearizedMaps::releaseAll | ( | ) | [inline] |
size_t pcl::LinearizedMaps::height_ [private] |
std::vector<unsigned char*> pcl::LinearizedMaps::maps_ [private] |
size_t pcl::LinearizedMaps::mem_height_ [private] |
size_t pcl::LinearizedMaps::mem_width_ [private] |
size_t pcl::LinearizedMaps::step_size_ [private] |
size_t pcl::LinearizedMaps::width_ [private] |