Point Cloud Library (PCL)
1.14.1-dev
|
PointCoding class More...
#include <pcl/compression/point_coding.h>
Public Member Functions | |
PointCoding ()=default | |
Constructor. More... | |
virtual | ~PointCoding ()=default |
Empty class constructor. More... | |
void | setPrecision (float precision_arg) |
Define precision of point information. More... | |
float | getPrecision () |
Retrieve precision of point information. More... | |
void | setPointCount (unsigned int pointCount_arg) |
Set amount of points within point cloud to be encoded and reserve memory. More... | |
void | initializeEncoding () |
Initialize encoding of differential point. More... | |
void | initializeDecoding () |
Initialize decoding of differential point. More... | |
std::vector< char > & | getDifferentialDataVector () |
Get reference to vector containing differential color data. More... | |
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. More... | |
void | decodePoints (PointCloudPtr outputCloud_arg, const double *referencePoint_arg, uindex_t beginIdx_arg, uindex_t endIdx_arg) |
Decode differential point information. More... | |
Protected Attributes | |
PointCloudPtr | output_ {nullptr} |
Pointer to output point cloud dataset. More... | |
std::vector< char > | pointDiffDataVector_ |
Vector for storing differential point information More... | |
std::vector< char >::const_iterator | pointDiffDataVectorIterator_ |
Iterator on differential point information vector. More... | |
float | pointCompressionResolution_ {0.001f} |
Precision of point coding. More... | |
PointCoding class
Definition at line 54 of file point_coding.h.
|
default |
Constructor.
|
virtualdefault |
Empty class constructor.
|
inline |
Decode differential point information.
outputCloud_arg | output point cloud |
referencePoint_arg | coordinates of reference point |
beginIdx_arg | index indicating first point to be assigned with color information |
endIdx_arg | index indicating last point to be assigned with color information |
Definition at line 153 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointCompressionResolution_, and pcl::octree::PointCoding< PointT >::pointDiffDataVectorIterator_.
|
inline |
Encode differential point information for a subset of points from point cloud.
indexVector_arg | indices defining a subset of points from points cloud |
referencePoint_arg | coordinates of reference point |
inputCloud_arg | input point cloud |
Definition at line 123 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointCompressionResolution_, and pcl::octree::PointCoding< PointT >::pointDiffDataVector_.
|
inline |
Get reference to vector containing differential color data.
Definition at line 112 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointDiffDataVector_.
|
inline |
Retrieve precision of point information.
Definition at line 82 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointCompressionResolution_.
|
inline |
Initialize decoding of differential point.
Definition at line 105 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointDiffDataVector_, and pcl::octree::PointCoding< PointT >::pointDiffDataVectorIterator_.
|
inline |
Initialize encoding of differential point.
Definition at line 98 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointDiffDataVector_.
|
inline |
Set amount of points within point cloud to be encoded and reserve memory.
pointCount_arg | amounts of points within point cloud |
Definition at line 91 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointDiffDataVector_.
|
inline |
Define precision of point information.
precision_arg | precision |
Definition at line 73 of file point_coding.h.
References pcl::octree::PointCoding< PointT >::pointCompressionResolution_.
|
protected |
Pointer to output point cloud dataset.
Definition at line 180 of file point_coding.h.
|
protected |
Precision of point coding.
Definition at line 189 of file point_coding.h.
Referenced by pcl::octree::PointCoding< PointT >::decodePoints(), pcl::octree::PointCoding< PointT >::encodePoints(), pcl::octree::PointCoding< PointT >::getPrecision(), and pcl::octree::PointCoding< PointT >::setPrecision().
|
protected |
Vector for storing differential point information
Definition at line 183 of file point_coding.h.
Referenced by pcl::octree::PointCoding< PointT >::encodePoints(), pcl::octree::PointCoding< PointT >::getDifferentialDataVector(), pcl::octree::PointCoding< PointT >::initializeDecoding(), pcl::octree::PointCoding< PointT >::initializeEncoding(), and pcl::octree::PointCoding< PointT >::setPointCount().
|
protected |
Iterator on differential point information vector.
Definition at line 186 of file point_coding.h.
Referenced by pcl::octree::PointCoding< PointT >::decodePoints(), and pcl::octree::PointCoding< PointT >::initializeDecoding().