Class Pointcloud
Defined in File Pointcloud.h
Class Documentation
-
class Pointcloud
A collection of 3D coordinates (point3d), which are regarded as endpoints of a 3D laser scan.
Public Types
-
typedef point3d_collection::iterator iterator
-
typedef point3d_collection::const_iterator const_iterator
Public Functions
-
Pointcloud()
-
~Pointcloud()
-
Pointcloud(const Pointcloud &other)
-
Pointcloud(Pointcloud *other)
-
inline size_t size() const
-
void clear()
-
inline void reserve(size_t size)
-
inline void push_back(float x, float y, float z)
-
void push_back(const Pointcloud &other)
Add points from other Pointcloud.
-
void writeVrml(std::string filename)
Export the Pointcloud to a VRML file.
-
void rotate(double roll, double pitch, double yaw)
Rotate each point in pointcloud.
-
void calcBBX(point3d &lowerBound, point3d &upperBound) const
Calculate bounding box of Pointcloud.
-
void crop(point3d lowerBound, point3d upperBound)
Crop Pointcloud to given bounding box.
-
void minDist(double thres)
-
void subSampleRandom(unsigned int num_samples, Pointcloud &sample_cloud)
-
inline const_iterator begin() const
-
inline const_iterator end() const
-
point3d getPoint(unsigned int i) const
Returns a copy of the ith point in point cloud. Use operator[] for direct access to point reference.
-
std::istream &readBinary(std::istream &s)
-
std::istream &read(std::istream &s)
-
std::ostream &writeBinary(std::ostream &s) const
-
typedef point3d_collection::iterator iterator