42 #include <pcl/gpu/containers/device_array.h>
44 #include <pcl/point_cloud.h>
60 using Ptr = shared_ptr<ColorVolume>;
61 using ConstPtr = shared_ptr<const ColorVolume>;
90 Eigen::Vector3i resolution_;
93 Eigen::Vector3f volume_size_;
DeviceArray2D< int > data() const
Returns container with color volume in GPU memory.
int getMaxWeight() const
Returns running average length.
shared_ptr< ColorVolume > Ptr
ColorVolume(const TsdfVolume &tsdf, int max_weight=-1)
Constructor.
void fetchColors(const DeviceArray< PointType > &cloud, DeviceArray< RGB > &colors) const
Computes colors from color volume.
shared_ptr< const ColorVolume > ConstPtr
void reset()
Resets color volume to uninitialized state.
Defines all the PCL implemented PointT point type structures.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
Defines functions, macros and traits for allocating and using memory.
Defines all the PCL and non-PCL macros used.
A point structure representing Euclidean xyz coordinates.