Point Cloud Library (PCL)  1.14.0-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 ()=default
 Constructor. More...
 
 ~LINEMOD_OrientationMap ()=default
 Destructor. More...
 
std::size_t getWidth () const
 Returns the width of the modality data map. More...
 
std::size_t getHeight () const
 Returns the height of the modality data map. More...
 
void resize (const std::size_t width, const std::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 std::size_t col_index, const std::size_t row_index)
 Operator to access elements of the map. More...
 
const float & operator() (const std::size_t col_index, const std::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 62 of file surface_normal_modality.h.

Constructor & Destructor Documentation

◆ LINEMOD_OrientationMap()

pcl::LINEMOD_OrientationMap::LINEMOD_OrientationMap ( )
inlinedefault

Constructor.

◆ ~LINEMOD_OrientationMap()

pcl::LINEMOD_OrientationMap::~LINEMOD_OrientationMap ( )
inlinedefault

Destructor.

Member Function Documentation

◆ getHeight()

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

Returns the height of the modality data map.

Definition at line 79 of file surface_normal_modality.h.

◆ getWidth()

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

Returns the width of the modality data map.

Definition at line 72 of file surface_normal_modality.h.

◆ operator()() [1/2]

float& pcl::LINEMOD_OrientationMap::operator() ( const std::size_t  col_index,
const std::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 104 of file surface_normal_modality.h.

◆ operator()() [2/2]

const float& pcl::LINEMOD_OrientationMap::operator() ( const std::size_t  col_index,
const std::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 114 of file surface_normal_modality.h.

◆ resize()

void pcl::LINEMOD_OrientationMap::resize ( const std::size_t  width,
const std::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 91 of file surface_normal_modality.h.


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