42 #include <pcl/gpu/containers/device_array.h>
44 #include <pcl/point_cloud.h>
64 using Ptr = shared_ptr<ColorVolume>;
65 using ConstPtr = shared_ptr<const ColorVolume>;
96 Eigen::Vector3i resolution_;
99 Eigen::Vector3f volume_size_;
DeviceArray2D< int > data() const
Returns container with color volume in GPU memory.
void reset()
Resets color volume to uninitialized state.
shared_ptr< ColorVolume > Ptr
shared_ptr< const ColorVolume > ConstPtr
void fetchColors(const DeviceArray< PointType > &cloud, DeviceArray< RGB > &colors) const
Computes colors from color volume.
ColorVolume(const TsdfVolume &tsdf, int max_weight=-1)
Constructor.
int getMaxWeight() const
Returns running average length.
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.