PointCoding class More...
#include <point_coding.h>
Public Member Functions | |
| void | decodePoints (PointCloudPtr outputCloud_arg, const double *referencePoint_arg, std::size_t beginIdx_arg, std::size_t endIdx_arg) |
| Decode differential point information. | |
| 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. | |
| std::vector< char > & | getDifferentialDataVector () |
| Get reference to vector containing differential color data. | |
| float | getPrecision () |
| Retrieve precision of point information. | |
| void | initializeDecoding () |
| Initialize decoding of differential point. | |
| void | initializeEncoding () |
| Initialize encoding of differential point. | |
| PointCoding () | |
| Constructor. | |
| void | setPointCount (unsigned int pointCount_arg) |
| Set amount of points within point cloud to be encoded and reserve memory. | |
| void | setPrecision (float precision_arg) |
| Define precision of point information. | |
| virtual | ~PointCoding () |
| Empty class constructor. | |
Protected Attributes | |
| PointCloudPtr | output_ |
| Pointer to output point cloud dataset. | |
| float | pointCompressionResolution_ |
| Precision of point coding. | |
| std::vector< char > | pointDiffDataVector_ |
| Vector for storing differential point information. | |
| std::vector< char >::const_iterator | pointDiffDataVectorIterator_ |
| Iterator on differential point information vector. | |
Private Types | |
| typedef pcl::PointCloud< PointT > | PointCloud |
| typedef boost::shared_ptr < const PointCloud > | PointCloudConstPtr |
| typedef boost::shared_ptr < PointCloud > | PointCloudPtr |
PointCoding class
Definition at line 59 of file point_coding.h.
typedef pcl::PointCloud<PointT> pcl::octree::PointCoding< PointT >::PointCloud [private] |
Definition at line 62 of file point_coding.h.
typedef boost::shared_ptr<const PointCloud> pcl::octree::PointCoding< PointT >::PointCloudConstPtr [private] |
Definition at line 64 of file point_coding.h.
typedef boost::shared_ptr<PointCloud> pcl::octree::PointCoding< PointT >::PointCloudPtr [private] |
Definition at line 63 of file point_coding.h.
| pcl::octree::PointCoding< PointT >::PointCoding | ( | ) | [inline] |
Constructor.
Definition at line 68 of file point_coding.h.
| virtual pcl::octree::PointCoding< PointT >::~PointCoding | ( | ) | [inline, virtual] |
Empty class constructor.
Definition at line 76 of file point_coding.h.
| void pcl::octree::PointCoding< PointT >::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 169 of file point_coding.h.
| void pcl::octree::PointCoding< PointT >::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 134 of file point_coding.h.
| std::vector<char>& pcl::octree::PointCoding< PointT >::getDifferentialDataVector | ( | ) | [inline] |
Get reference to vector containing differential color data.
Definition at line 123 of file point_coding.h.
| float pcl::octree::PointCoding< PointT >::getPrecision | ( | ) | [inline] |
Retrieve precision of point information.
Definition at line 93 of file point_coding.h.
| void pcl::octree::PointCoding< PointT >::initializeDecoding | ( | ) | [inline] |
Initialize decoding of differential point.
Definition at line 116 of file point_coding.h.
| void pcl::octree::PointCoding< PointT >::initializeEncoding | ( | ) | [inline] |
Initialize encoding of differential point.
Definition at line 109 of file point_coding.h.
| void pcl::octree::PointCoding< PointT >::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 102 of file point_coding.h.
| void pcl::octree::PointCoding< PointT >::setPrecision | ( | float | precision_arg | ) | [inline] |
Define precision of point information.
| precision_arg,: | precision |
Definition at line 84 of file point_coding.h.
PointCloudPtr pcl::octree::PointCoding< PointT >::output_ [protected] |
Pointer to output point cloud dataset.
Definition at line 199 of file point_coding.h.
float pcl::octree::PointCoding< PointT >::pointCompressionResolution_ [protected] |
Precision of point coding.
Definition at line 208 of file point_coding.h.
std::vector<char> pcl::octree::PointCoding< PointT >::pointDiffDataVector_ [protected] |
Vector for storing differential point information.
Definition at line 202 of file point_coding.h.
std::vector<char>::const_iterator pcl::octree::PointCoding< PointT >::pointDiffDataVectorIterator_ [protected] |
Iterator on differential point information vector.
Definition at line 205 of file point_coding.h.