Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions
pcl::EnergyMaps Class Reference

Stores a set of energy maps. More...

#include <pcl/recognition/linemod.h>

Public Member Functions

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

Detailed Description

Stores a set of energy maps.

Author
Stefan Holzer

Definition at line 54 of file linemod.h.

Constructor & Destructor Documentation

pcl::EnergyMaps::EnergyMaps ( )
inline

Constructor.

Definition at line 58 of file linemod.h.

virtual pcl::EnergyMaps::~EnergyMaps ( )
inlinevirtual

Destructor.

Definition at line 63 of file linemod.h.

Member Function Documentation

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

Returns the height of the energy maps.

Definition at line 76 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 83 of file linemod.h.

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

Returns the width of the energy maps.

Definition at line 69 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 94 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 131 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 141 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 150 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 161 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 171 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 180 of file linemod.h.

void pcl::EnergyMaps::releaseAll ( )
inline

Releases the internal data.

Definition at line 113 of file linemod.h.


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