Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions
pcl::gpu::ColorVolume Class Reference

ColorVolume class. More...

#include </__w/1/s/gpu/kinfu/include/pcl/gpu/kinfu/color_volume.h>

Public Types

using PointType = PointXYZ
using Ptr = boost::shared_ptr< ColorVolume >

Public Member Functions

 ColorVolume (const TsdfVolume &tsdf, int max_weight=-1)
 Constructor. More...
 ~ColorVolume ()
 Destructor. 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...

Detailed Description

ColorVolume class.

Anatoly Baskeheev, Itseez Ltd, (mynam.nosp@m.e.my.nosp@m.surna.nosp@m.me@m.nosp@m.ycomp.nosp@m.any..nosp@m.com)

Definition at line 55 of file color_volume.h.

Member Typedef Documentation

◆ PointType

Definition at line 58 of file color_volume.h.

◆ Ptr

using pcl::gpu::ColorVolume::Ptr = boost::shared_ptr<ColorVolume>

Definition at line 59 of file color_volume.h.

Constructor & Destructor Documentation

◆ ColorVolume()

pcl::gpu::ColorVolume::ColorVolume ( const TsdfVolume tsdf,
int  max_weight = -1 


[in]tsdftsdf volume to get parameters from
[in]max_weightmax weight for running average. Can be less than 255. Negative means default.

◆ ~ColorVolume()

pcl::gpu::ColorVolume::~ColorVolume ( )


Member Function Documentation

◆ data()

DeviceArray2D<int> pcl::gpu::ColorVolume::data ( ) const

Returns container with color volume in GPU memory.

◆ fetchColors()

void pcl::gpu::ColorVolume::fetchColors ( const DeviceArray< PointType > &  cloud,
DeviceArray< RGB > &  colors 
) const

Computes colors from color volume.

[in]cloudPoints for which colors are to be computed.
[out]colorsoutput array for colors

◆ getMaxWeight()

int pcl::gpu::ColorVolume::getMaxWeight ( ) const

Returns running average length.

◆ reset()

void pcl::gpu::ColorVolume::reset ( )

Resets color volume to uninitialized state.

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