Point Cloud Library (PCL) 1.12.0
|
Holds a set of two-dimensional multi-channel data. More...
#include <pcl/ml/multi_channel_2d_data_set.h>
Public Member Functions | |
MultiChannel2DDataSet () | |
Constructor. | |
virtual | ~MultiChannel2DDataSet () |
Destructor. | |
void | addData (const std::size_t width, const std::size_t height) |
Adds a new two-dimensional data block to the data set. | |
void | releaseDataSet () |
Releases the data stored in the data set. | |
void | clear () |
Releases the data stored in the data set. | |
DATA_TYPE * | operator() (const std::size_t data_set_id, const std::size_t col, const std::size_t row) |
Returns a pointer to the specified data block at the specified location. | |
const DATA_TYPE * | operator() (const std::size_t data_set_id, const std::size_t col, const std::size_t row) const |
Returns a pointer to the specified data block at the specified location. | |
DATA_TYPE & | operator() (const std::size_t data_set_id, const std::size_t col, const std::size_t row, const std::size_t channel) |
Returns a reference to the specified data block at the specified location. | |
const DATA_TYPE & | operator() (const std::size_t data_set_id, const std::size_t col, const std::size_t row, const std::size_t channel) const |
Returns a reference to the specified data block at the specified location. | |
Holds a set of two-dimensional multi-channel data.
Definition at line 140 of file multi_channel_2d_data_set.h.
|
inline |
Constructor.
Definition at line 143 of file multi_channel_2d_data_set.h.
|
inlinevirtual |
Destructor.
Definition at line 146 of file multi_channel_2d_data_set.h.
|
inline |
Adds a new two-dimensional data block to the data set.
[in] | width | the width of the new data block |
[in] | height | the height of the new data block |
Definition at line 154 of file multi_channel_2d_data_set.h.
|
inline |
Releases the data stored in the data set.
Definition at line 175 of file multi_channel_2d_data_set.h.
|
inline |
Returns a pointer to the specified data block at the specified location.
[in] | data_set_id | the index of the data block |
[in] | col | the column of the desired location |
[in] | row | the row of the desired location |
Definition at line 187 of file multi_channel_2d_data_set.h.
|
inline |
Returns a pointer to the specified data block at the specified location.
[in] | data_set_id | the index of the data block |
[in] | col | the column of the desired location |
[in] | row | the row of the desired location |
Definition at line 201 of file multi_channel_2d_data_set.h.
|
inline |
Returns a reference to the specified data block at the specified location.
[in] | data_set_id | the index of the data block |
[in] | col | the column of the desired location |
[in] | row | the row of the desired location |
[in] | channel | the channel index |
Definition at line 216 of file multi_channel_2d_data_set.h.
|
inline |
Returns a reference to the specified data block at the specified location.
[in] | data_set_id | the index of the data block |
[in] | col | the column of the desired location |
[in] | row | the row of the desired location |
[in] | channel | the channel index |
Definition at line 232 of file multi_channel_2d_data_set.h.
|
inline |
Releases the data stored in the data set.
Definition at line 165 of file multi_channel_2d_data_set.h.
References pcl::ConstCloudIterator< PointT >::size().