Point Cloud Library (PCL)
1.3.1
|
PointCoding class More...
#include <pcl/compression/point_coding.h>
Public Member Functions | |
PointCoding () | |
Constructor. | |
virtual | ~PointCoding () |
Empty class constructor. | |
void | setPrecision (float precision_arg) |
Define precision of point information. | |
float | getPrecision () |
Retrieve precision of point information. | |
void | setPointCount (unsigned int pointCount_arg) |
Set amount of points within point cloud to be encoded and reserve memory. | |
void | initializeEncoding () |
Initialize encoding of differential point. | |
void | initializeDecoding () |
Initialize decoding of differential point. | |
std::vector< char > & | getDifferentialDataVector () |
Get reference to vector containing differential color data. | |
void | encodePoints (const typename std::vector< int > &indexVector_arg, const double *referencePoint_arg, PointCloudConstPtr inputCloud_arg) |
Encode differential point information for a subset of points from point cloud. | |
void | decodePoints (PointCloudPtr outputCloud_arg, const double *referencePoint_arg, std::size_t beginIdx_arg, std::size_t endIdx_arg) |
Decode differential point information. |
PointCoding class
pcl::octree::PointCoding::PointCoding | ( | ) | [inline] |
Constructor.
Definition at line 76 of file point_coding.h.
virtual pcl::octree::PointCoding::~PointCoding | ( | ) | [inline, virtual] |
Empty class constructor.
Definition at line 83 of file point_coding.h.
void pcl::octree::PointCoding::decodePoints | ( | PointCloudPtr | outputCloud_arg, |
const double * | referencePoint_arg, | ||
std::size_t | beginIdx_arg, | ||
std::size_t | endIdx_arg | ||
) | [inline] |
Decode differential point information.
outputCloud_arg | output point cloud |
referencePoint_arg | coordinates of reference point |
beginIdx_arg | index indicating first point to be assiged with color information |
endIdx_arg | index indicating last point to be assiged with color information |
Definition at line 184 of file point_coding.h.
void pcl::octree::PointCoding::encodePoints | ( | const typename std::vector< int > & | indexVector_arg, |
const double * | referencePoint_arg, | ||
PointCloudConstPtr | inputCloud_arg | ||
) | [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 147 of file point_coding.h.
std::vector<char>& pcl::octree::PointCoding::getDifferentialDataVector | ( | ) | [inline] |
Get reference to vector containing differential color data.
Definition at line 136 of file point_coding.h.
float pcl::octree::PointCoding::getPrecision | ( | ) | [inline] |
Retrieve precision of point information.
Definition at line 102 of file point_coding.h.
void pcl::octree::PointCoding::initializeDecoding | ( | ) | [inline] |
Initialize decoding of differential point.
Definition at line 128 of file point_coding.h.
void pcl::octree::PointCoding::initializeEncoding | ( | ) | [inline] |
Initialize encoding of differential point.
Definition at line 120 of file point_coding.h.
void pcl::octree::PointCoding::setPointCount | ( | unsigned int | pointCount_arg | ) | [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 112 of file point_coding.h.
void pcl::octree::PointCoding::setPrecision | ( | float | precision_arg | ) | [inline] |
Define precision of point information.
precision_arg,: | precision |
Definition at line 92 of file point_coding.h.