42 #include <pcl/point_cloud.h>
57 template <
typename Po
intT,
typename GeneratorT>
139 GeneratorT x_generator_, y_generator_, z_generator_;
142 template <
typename GeneratorT>
180 GeneratorT x_generator_;
181 GeneratorT y_generator_;
186 #include <pcl/common/impl/generate.hpp>
PointCloud represents the base class in PCL for storing collections of 3D points.
typename GeneratorT::Parameters GeneratorParameters
int fill(pcl::PointCloud< PointT > &cloud)
Generates a cloud with X Y Z picked within given ranges.
const GeneratorParameters & getParametersForX() const
void setParametersForY(const GeneratorParameters &y_params)
Set parameters for y values generation.
const GeneratorParameters & getParametersForY() const
void setParametersForZ(const GeneratorParameters &z_params)
Set parameters for z values generation.
void setParameters(const GeneratorParameters ¶ms)
Set parameters for x, y and z values.
typename GeneratorT::Parameters GeneratorParameters
void setParametersForX(const GeneratorParameters &x_params)
Set parameters for x values generation.
const GeneratorParameters & getParametersForZ() const
CloudGenerator()
Default constructor.
Defines all the PCL implemented PointT point type structures.
CloudGenerator class generates a point cloud using some random number generator.
A 2D point structure representing Euclidean xy coordinates.
A point structure representing Euclidean xyz coordinates, and the RGB color.