The PointCloud object class. More...
#include <PointCloud.h>
Public Member Functions | |
| PointCloud () | |
| Create an PointCloud object. | |
| ~PointCloud () | |
| Destroy the PointCloud object. | |
| PointCloud (const PointCloud &other) | |
| Copy Constructor. | |
| PointCloud & | operator= (const PointCloud &otherPointCloud) |
| Assignment operator. | |
| void | AddPoint (const Stereo3DPoint point) |
| Adds a point to the point cloud. | |
| Stereo3DPoint | GetPoint (const unsigned int index) const |
| Returns the Stereo3DPoint at the specified index. | |
| size_t | GetNumPoints () const |
| Returns the number of points in the point cloud. | |
| void | SavePointCloudAsPly (const std::string &) const |
| The function writes the point cloud data to the specified file in PLY format. | |
| void | LoadPointCloudFromPly (const std::string &filename) |
| The function reads the file and parses the data into a vector of 3D points. | |
| void | PrintPoints (unsigned int numPointsToPrint) const |
| The function prints a number of points from the point cloud to the console. | |
Public Member Functions inherited from IPointCloud | |
| virtual | ~IPointCloud (void) |
| virtual IPointCloud::PointCloudData * | GetPointCloudData () const =0 |
| virtual void | AddPoint (const Stereo3DPoint point)=0 |
| virtual Stereo3DPoint | GetPoint (const unsigned int index) const =0 |
| virtual size_t | GetNumPoints () const =0 |
| virtual void | SavePointCloudAsPly (const std::string &) const =0 |
| virtual void | LoadPointCloudFromPly (const std::string &filename)=0 |
| virtual void | PrintPoints (unsigned int numPointsToPrint) const =0 |
Protected Member Functions | |
| PointCloudData * | GetPointCloudData () const |
Protected Member Functions inherited from IPointCloud | |
| IPointCloud () | |
| IPointCloud (const IPointCloud &) | |
| IPointCloud & | operator= (const IPointCloud &) |
Friends | |
| class | PointCloudImpl |
Additional Inherited Members | |
Protected Attributes inherited from IPointCloud | |
| IPointCloud::PointCloudData * | m_pPointCloudData |
The PointCloud object class.