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

Stores a set of energy maps. More...

#include <linemod.h>

List of all members.

Public Member Functions

 EnergyMaps ()
 Constructor.
size_t getHeight () const
 Returns the height of the energy maps.
size_t getNumOfBins () const
 Returns the number of bins used for quantization (which is equal to the number of energy maps).
size_t getWidth () const
 Returns the width of the energy maps.
void initialize (const size_t width, const size_t height, const size_t nr_bins)
 Initializes the set of energy maps.
unsigned char & operator() (const size_t bin_index, const size_t col_index, const size_t row_index)
 Operator for accessing a specific element in the set of energy maps.
unsigned char & operator() (const size_t bin_index, const size_t index)
 Operator for accessing a specific element in the set of energy maps.
unsigned char * operator() (const size_t bin_index)
 Returns a pointer to the data of the specified energy map.
const unsigned char & operator() (const size_t bin_index, const size_t col_index, const size_t row_index) const
 Operator for accessing a specific element in the set of energy maps.
const unsigned char & operator() (const size_t bin_index, const size_t index) const
 Operator for accessing a specific element in the set of energy maps.
const unsigned char * operator() (const size_t bin_index) const
 Returns a pointer to the data of the specified energy map.
void releaseAll ()
 Releases the internal data.
virtual ~EnergyMaps ()
 Destructor.

Private Attributes

size_t height_
 The height of the energy maps.
std::vector< unsigned char * > maps_
 Storage for the energy maps.
size_t nr_bins_
 The number of quantization bins (== the number of internally stored energy maps).
size_t width_
 The width of the energy maps.

Detailed Description

Stores a set of energy maps.

Author:
Stefan Holzer

Definition at line 55 of file linemod.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 59 of file linemod.h.

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

Destructor.

Definition at line 64 of file linemod.h.


Member Function Documentation

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

Returns the height of the energy maps.

Definition at line 77 of file linemod.h.

size_t pcl::EnergyMaps::getNumOfBins ( ) const [inline]

Returns the number of bins used for quantization (which is equal to the number of energy maps).

Definition at line 84 of file linemod.h.

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

Returns the width of the energy maps.

Definition at line 70 of file linemod.h.

void pcl::EnergyMaps::initialize ( const size_t  width,
const size_t  height,
const size_t  nr_bins 
) [inline]

Initializes the set of energy maps.

Parameters:
[in]widththe width of the energy maps.
[in]heightthe height of the energy maps.
[in]nr_binsthe number of bins used for quantization.

Definition at line 95 of file linemod.h.

unsigned char& pcl::EnergyMaps::operator() ( const size_t  bin_index,
const size_t  col_index,
const size_t  row_index 
) [inline]

Operator for accessing a specific element in the set of energy maps.

Parameters:
[in]bin_indexthe quantization bin (states which of the energy maps to access).
[in]col_indexthe column index within the specified energy map.
[in]row_indexthe row index within the specified energy map.

Definition at line 132 of file linemod.h.

unsigned char& pcl::EnergyMaps::operator() ( const size_t  bin_index,
const size_t  index 
) [inline]

Operator for accessing a specific element in the set of energy maps.

Parameters:
[in]bin_indexthe quantization bin (states which of the energy maps to access).
[in]indexthe element index within the specified energy map.

Definition at line 142 of file linemod.h.

unsigned char* pcl::EnergyMaps::operator() ( const size_t  bin_index) [inline]

Returns a pointer to the data of the specified energy map.

Parameters:
[in]bin_indexthe index of the energy map to return (== the quantization bin).

Definition at line 151 of file linemod.h.

const unsigned char& pcl::EnergyMaps::operator() ( const size_t  bin_index,
const size_t  col_index,
const size_t  row_index 
) const [inline]

Operator for accessing a specific element in the set of energy maps.

Parameters:
[in]bin_indexthe quantization bin (states which of the energy maps to access).
[in]col_indexthe column index within the specified energy map.
[in]row_indexthe row index within the specified energy map.

Definition at line 162 of file linemod.h.

const unsigned char& pcl::EnergyMaps::operator() ( const size_t  bin_index,
const size_t  index 
) const [inline]

Operator for accessing a specific element in the set of energy maps.

Parameters:
[in]bin_indexthe quantization bin (states which of the energy maps to access).
[in]indexthe element index within the specified energy map.

Definition at line 172 of file linemod.h.

const unsigned char* pcl::EnergyMaps::operator() ( const size_t  bin_index) const [inline]

Returns a pointer to the data of the specified energy map.

Parameters:
[in]bin_indexthe index of the energy map to return (== the quantization bin).

Definition at line 181 of file linemod.h.

void pcl::EnergyMaps::releaseAll ( ) [inline]

Releases the internal data.

Definition at line 114 of file linemod.h.


Member Data Documentation

size_t pcl::EnergyMaps::height_ [private]

The height of the energy maps.

Definition at line 190 of file linemod.h.

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

Storage for the energy maps.

Definition at line 194 of file linemod.h.

size_t pcl::EnergyMaps::nr_bins_ [private]

The number of quantization bins (== the number of internally stored energy maps).

Definition at line 192 of file linemod.h.

size_t pcl::EnergyMaps::width_ [private]

The width of the energy maps.

Definition at line 188 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:39:58