53template<
typename Po
intT>
201#define PCL_INSTANTIATE_ColorCoding(T) template class PCL_EXPORTS pcl::octree::ColorCoding<T>;
Iterator class for point clouds with or without given indices.
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
PointCoding()
Constructor.
void encodePoints(const Indices &indexVector_arg, const double *referencePoint_arg, PointCloudConstPtr inputCloud_arg)
Encode differential point information for a subset of points from point cloud.
void initializeEncoding()
Initialize encoding of differential point.
std::vector< char > pointDiffDataVector_
Vector for storing differential point information
float pointCompressionResolution_
Precision of point coding.
void initializeDecoding()
Initialize decoding of differential point.
void decodePoints(PointCloudPtr outputCloud_arg, const double *referencePoint_arg, uindex_t beginIdx_arg, uindex_t endIdx_arg)
Decode differential point information.
float getPrecision()
Retrieve precision of point information.
virtual ~PointCoding()
Empty class constructor.
std::vector< char > & getDifferentialDataVector()
Get reference to vector containing differential color data.
void setPointCount(unsigned int pointCount_arg)
Set amount of points within point cloud to be encoded and reserve memory.
std::vector< char >::const_iterator pointDiffDataVectorIterator_
Iterator on differential point information vector.
PointCloudPtr output_
Pointer to output point cloud dataset.
void setPrecision(float precision_arg)
Define precision of point information.
detail::int_type_t< detail::index_type_size, false > uindex_t
Type used for an unsigned index in PCL.
A point structure representing Euclidean xyz coordinates, and the RGB color.