|
Point Cloud Library (PCL)
1.15.1-dev
|
ColorVolume class. More...
#include </__w/1/s/gpu/kinfu/include/pcl/gpu/kinfu/color_volume.h>
Public Types | |
| using | PointType = PointXYZ |
| using | Ptr = shared_ptr< ColorVolume > |
| using | ConstPtr = shared_ptr< const ColorVolume > |
Public Member Functions | |
| ColorVolume (const TsdfVolume &tsdf, int max_weight=-1) | |
| Constructor. More... | |
| void | reset () |
| Resets color volume to uninitialized state. More... | |
| int | getMaxWeight () const |
| Returns running average length. More... | |
| DeviceArray2D< int > | data () const |
| Returns container with color volume in GPU memory. More... | |
| void | fetchColors (const DeviceArray< PointType > &cloud, DeviceArray< RGB > &colors) const |
| Computes colors from color volume. More... | |
ColorVolume class.
Definition at line 56 of file color_volume.h.
| using pcl::gpu::ColorVolume::ConstPtr = shared_ptr<const ColorVolume> |
Definition at line 61 of file color_volume.h.
Definition at line 59 of file color_volume.h.
| using pcl::gpu::ColorVolume::Ptr = shared_ptr<ColorVolume> |
Definition at line 60 of file color_volume.h.
| pcl::gpu::ColorVolume::ColorVolume | ( | const TsdfVolume & | tsdf, |
| int | max_weight = -1 |
||
| ) |
Constructor.
| [in] | tsdf | tsdf volume to get parameters from |
| [in] | max_weight | max weight for running average. Can be less than 255. Negative means default. |
| DeviceArray2D<int> pcl::gpu::ColorVolume::data | ( | ) | const |
Returns container with color volume in GPU memory.
| void pcl::gpu::ColorVolume::fetchColors | ( | const DeviceArray< PointType > & | cloud, |
| DeviceArray< RGB > & | colors | ||
| ) | const |
Computes colors from color volume.
| [in] | cloud | Points for which colors are to be computed. |
| [out] | colors | output array for colors |
| int pcl::gpu::ColorVolume::getMaxWeight | ( | ) | const |
Returns running average length.
| void pcl::gpu::ColorVolume::reset | ( | ) |
Resets color volume to uninitialized state.