34 #ifndef OCTOMAP_POINTCLOUD_H 35 #define OCTOMAP_POINTCLOUD_H 81 void rotate(
double roll,
double pitch,
double yaw);
115 std::istream&
read(std::istream &s);
const point3d & operator[](size_t i) const
void minDist(double thres)
void writeVrml(std::string filename)
Export the Pointcloud to a VRML file.
point3d_collection::iterator iterator
pose6d current_inv_transform
void transform(pose6d transform)
Apply transform to each point.
void push_back(float x, float y, float z)
std::ostream & writeBinary(std::ostream &s) const
void subSampleRandom(unsigned int num_samples, Pointcloud &sample_cloud)
std::vector< octomath::Vector3 > point3d_collection
point3d_collection points
std::istream & readBinary(std::istream &s)
This class represents a tree-dimensional pose of an object.
void calcBBX(point3d &lowerBound, point3d &upperBound) const
Calculate bounding box of Pointcloud.
std::istream & read(std::istream &s)
This class represents a three-dimensional vector.
void reserve(size_t size)
const_iterator end() const
void transformAbsolute(pose6d transform)
Apply transform to each point, undo previous transforms.
octomath::Vector3 point3d
Use Vector3 (float precision) as a point3d in octomap.
point3d getPoint(unsigned int i) const
void rotate(double roll, double pitch, double yaw)
Rotate each point in pointcloud.
void crop(point3d lowerBound, point3d upperBound)
Crop Pointcloud to given bounding box.
const_iterator begin() const
point3d_collection::const_iterator const_iterator
void push_back(const point3d &p)
void push_back(point3d *p)