Public Member Functions | Private Attributes
pcl::LinearizedMaps Class Reference

Stores a set of linearized maps. More...

#include <linemod.h>

List of all members.

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.

Detailed Description

Stores a set of linearized maps.

Author:
Stefan Holzer

Definition at line 200 of file linemod.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 204 of file linemod.h.

virtual pcl::LinearizedMaps::~LinearizedMaps ( ) [inline, virtual]

Destructor.

Definition at line 209 of file linemod.h.


Member Function Documentation

size_t pcl::LinearizedMaps::getHeight ( ) const [inline]

Returns the height of the linearized map.

Definition at line 219 of file linemod.h.

size_t pcl::LinearizedMaps::getMapMemorySize ( ) const [inline]

Returns the size of the memory map.

Definition at line 227 of file linemod.h.

unsigned char* pcl::LinearizedMaps::getOffsetMap ( const size_t  col_index,
const size_t  row_index 
) [inline]

Returns a linearized map starting at the specified position.

Parameters:
[in]col_indexthe column index at which the returned map starts.
[in]row_indexthe row index at which the returned map starts.

Definition at line 285 of file linemod.h.

size_t pcl::LinearizedMaps::getStepSize ( ) const [inline]

Returns the step-size used to construct the linearized map.

Definition at line 223 of file linemod.h.

size_t pcl::LinearizedMaps::getWidth ( ) const [inline]

Returns the width of the linearized map.

Definition at line 215 of file linemod.h.

void pcl::LinearizedMaps::initialize ( const size_t  width,
const size_t  height,
const size_t  step_size 
) [inline]

Initializes the linearized map.

Parameters:
[in]widththe width of the source map.
[in]heightthe height of the source map.
[in]step_sizethe step-size used to sample the source map.

Definition at line 235 of file linemod.h.

unsigned char* pcl::LinearizedMaps::operator() ( const size_t  col_index,
const size_t  row_index 
) [inline]

Operator to access elements of the linearized map by column and row index.

Parameters:
[in]col_indexthe column index.
[in]row_indexthe row index.

Definition at line 275 of file linemod.h.

Releases the internal memory.

Definition at line 256 of file linemod.h.


Member Data Documentation

size_t pcl::LinearizedMaps::height_ [private]

the original height of the data represented by the map.

Definition at line 300 of file linemod.h.

std::vector<unsigned char*> pcl::LinearizedMaps::maps_ [private]

a vector containing all the linearized maps.

Definition at line 308 of file linemod.h.

the actual height of the linearized map.

Definition at line 304 of file linemod.h.

the actual width of the linearized map.

Definition at line 302 of file linemod.h.

the step-size used for sampling the original data.

Definition at line 306 of file linemod.h.

size_t pcl::LinearizedMaps::width_ [private]

the original width of the data represented by the map.

Definition at line 298 of file linemod.h.


The documentation for this class was generated from the following file:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:42:11