Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches
PointCloud Class Reference

The PointCloud object class. More...

#include <PointCloud.h>

Inheritance diagram for PointCloud:
IPointCloud

Public Member Functions

 PointCloud ()
 Create an PointCloud object.
 
 ~PointCloud ()
 Destroy the PointCloud object.
 
PointCloudoperator= (const PointCloud &otherPointCloud)
 Assignment operator.
 
void AddPoint (const Stereo3DPoint point)
 Adds a point to 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.
 
size_t GetNumPoints () const
 Returns the number of points in the point cloud.
 
void PrintPoints (unsigned int numPointsToPrint) const
 The function prints a number of points from the point cloud to the console.
 

Protected Member Functions

PointCloudData * GetPointCloudData () const
 
- Protected Member Functions inherited from IPointCloud
 IPointCloud ()
 
virtual ~IPointCloud (void)
 
 IPointCloud (const IPointCloud &)
 
IPointCloudoperator= (const IPointCloud &)
 
virtual IPointCloud::PointCloudData * GetPointCloudData () const =0
 

Friends

class PointCloudImpl
 

Additional Inherited Members

- Protected Attributes inherited from IPointCloud
IPointCloud::PointCloudData * m_pPointCloudData
 

Detailed Description


The documentation for this class was generated from the following file: