Holds a set of two-dimensional multi-channel data.
More...
#include <pcl/ml/multi_channel_2d_data_set.h>
|
| MultiChannel2DDataSet () |
| Constructor. More...
|
|
void | addData (const std::size_t width, const std::size_t height) |
| Adds a new two-dimensional data block to the data set. More...
|
|
void | releaseDataSet () |
| Releases the data stored in the data set. More...
|
|
void | clear () |
| Releases the data stored in the data set. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
template<class DATA_TYPE, std::size_t NUM_OF_CHANNELS>
class pcl::MultiChannel2DDataSet< DATA_TYPE, NUM_OF_CHANNELS >
Holds a set of two-dimensional multi-channel data.
Definition at line 137 of file multi_channel_2d_data_set.h.
◆ MultiChannel2DDataSet()
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
◆ addData()
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
◆ clear()
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
◆ operator()() [1/4]
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
DATA_TYPE* pcl::MultiChannel2DDataSet< DATA_TYPE, NUM_OF_CHANNELS >::operator() |
( |
const std::size_t |
data_set_id, |
|
|
const std::size_t |
col, |
|
|
const std::size_t |
row |
|
) |
| |
|
inline |
Returns a pointer to the specified data block at the specified location.
- Parameters
-
[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 181 of file multi_channel_2d_data_set.h.
◆ operator()() [2/4]
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
const DATA_TYPE* pcl::MultiChannel2DDataSet< DATA_TYPE, NUM_OF_CHANNELS >::operator() |
( |
const std::size_t |
data_set_id, |
|
|
const std::size_t |
col, |
|
|
const std::size_t |
row |
|
) |
| const |
|
inline |
Returns a pointer to the specified data block at the specified location.
- Parameters
-
[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 195 of file multi_channel_2d_data_set.h.
◆ operator()() [3/4]
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
DATA_TYPE& pcl::MultiChannel2DDataSet< DATA_TYPE, NUM_OF_CHANNELS >::operator() |
( |
const std::size_t |
data_set_id, |
|
|
const std::size_t |
col, |
|
|
const std::size_t |
row, |
|
|
const std::size_t |
channel |
|
) |
| |
|
inline |
Returns a reference to the specified data block at the specified location.
- Parameters
-
[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 210 of file multi_channel_2d_data_set.h.
◆ operator()() [4/4]
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
const DATA_TYPE& pcl::MultiChannel2DDataSet< DATA_TYPE, NUM_OF_CHANNELS >::operator() |
( |
const std::size_t |
data_set_id, |
|
|
const std::size_t |
col, |
|
|
const std::size_t |
row, |
|
|
const std::size_t |
channel |
|
) |
| const |
|
inline |
Returns a reference to the specified data block at the specified location.
- Parameters
-
[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 226 of file multi_channel_2d_data_set.h.
◆ releaseDataSet()
template<class DATA_TYPE , std::size_t NUM_OF_CHANNELS>
The documentation for this class was generated from the following file: