|
Point Cloud Library (PCL) 1.12.1
|
Holds two-dimensional multi-channel data. More...
#include <pcl/ml/multi_channel_2d_data_set.h>
Public Member Functions | |
| MultiChannel2DData () | |
| Constructor. | |
| virtual | ~MultiChannel2DData () |
| Destructor. | |
| void | resize (std::size_t width, std::size_t height) |
| Resizes the internal data storage. | |
| void | clear () |
| Clears the internal data storage and sets width and height to 0. | |
| DATA_TYPE * | operator() (const std::size_t col_index, const std::size_t row_index) |
| Returns a pointer to the internal data at the specified location. | |
| const DATA_TYPE * | operator() (const std::size_t col_index, const std::size_t row_index) const |
| Returns a pointer to the internal data at the specified location. | |
| DATA_TYPE & | operator() (const std::size_t col_index, const std::size_t row_index, const std::size_t channel) |
| Returns a reference to the internal data at the specified location. | |
| const DATA_TYPE & | operator() (const std::size_t col_index, const std::size_t row_index, const std::size_t channel) const |
| Returns a reference to the internal data at the specified location. | |
Holds two-dimensional multi-channel data.
Definition at line 49 of file multi_channel_2d_data_set.h.
|
inline |
Constructor.
Definition at line 52 of file multi_channel_2d_data_set.h.
|
inlinevirtual |
Destructor.
Definition at line 55 of file multi_channel_2d_data_set.h.
|
inline |
Clears the internal data storage and sets width and height to 0.
Definition at line 72 of file multi_channel_2d_data_set.h.
|
inline |
Returns a pointer to the internal data at the specified location.
| [in] | col_index | the column index |
| [in] | row_index | the row index |
Definition at line 85 of file multi_channel_2d_data_set.h.
|
inline |
Returns a pointer to the internal data at the specified location.
| [in] | col_index | the column index |
| [in] | row_index | the row index |
Definition at line 96 of file multi_channel_2d_data_set.h.
|
inline |
Returns a reference to the internal data at the specified location.
| [in] | col_index | the column index |
| [in] | row_index | the row index |
| [in] | channel | the channel index |
Definition at line 108 of file multi_channel_2d_data_set.h.
|
inline |
Returns a reference to the internal data at the specified location.
| [in] | col_index | the column index |
| [in] | row_index | the row index |
| [in] | channel | the channel index |
Definition at line 122 of file multi_channel_2d_data_set.h.
|
inline |
Resizes the internal data storage.
| [in] | width | the width of the resized 2D data array |
| [in] | height | the height of the resized 2D data array |
Definition at line 63 of file multi_channel_2d_data_set.h.