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

Map that stores orientations. More...

#include <pcl/recognition/surface_normal_modality.h>

Public Member Functions

 LINEMOD_OrientationMap ()
 Constructor. More...
 
 ~LINEMOD_OrientationMap ()
 Destructor. More...
 
size_t getWidth () const
 Returns the width of the modality data map. More...
 
size_t getHeight () const
 Returns the height of the modality data map. More...
 
void resize (const size_t width, const size_t height, const float value)
 Resizes the map to the specific width and height and initializes all new elements with the specified value. More...
 
float & operator() (const size_t col_index, const size_t row_index)
 Operator to access elements of the map. More...
 
const float & operator() (const size_t col_index, const size_t row_index) const
 Operator to access elements of the map. More...
 

Detailed Description

Map that stores orientations.

Author
Stefan Holzer

Definition at line 54 of file surface_normal_modality.h.

Constructor & Destructor Documentation

pcl::LINEMOD_OrientationMap::LINEMOD_OrientationMap ( )
inline

Constructor.

Definition at line 58 of file surface_normal_modality.h.

pcl::LINEMOD_OrientationMap::~LINEMOD_OrientationMap ( )
inline

Destructor.

Definition at line 60 of file surface_normal_modality.h.

Member Function Documentation

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

Returns the height of the modality data map.

Definition at line 71 of file surface_normal_modality.h.

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

Returns the width of the modality data map.

Definition at line 64 of file surface_normal_modality.h.

float& pcl::LINEMOD_OrientationMap::operator() ( const size_t  col_index,
const size_t  row_index 
)
inline

Operator to access elements of the map.

Parameters
[in]col_indexthe column index of the element to access.
[in]row_indexthe row index of the element to access.

Definition at line 96 of file surface_normal_modality.h.

const float& pcl::LINEMOD_OrientationMap::operator() ( const size_t  col_index,
const size_t  row_index 
) const
inline

Operator to access elements of the map.

Parameters
[in]col_indexthe column index of the element to access.
[in]row_indexthe row index of the element to access.

Definition at line 106 of file surface_normal_modality.h.

void pcl::LINEMOD_OrientationMap::resize ( const size_t  width,
const size_t  height,
const float  value 
)
inline

Resizes the map to the specific width and height and initializes all new elements with the specified value.

Parameters
[in]widththe width of the resized map.
[in]heightthe height of the resized map.
[in]valuethe value all new elements will be initialized with.

Definition at line 83 of file surface_normal_modality.h.

Referenced by pcl::SurfaceNormalModality< PointInT >::computeAndQuantizeSurfaceNormals2().


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