42 #include <pcl/point_cloud.h>
43 #include <pcl/point_types.h>
44 #include <pcl/common/random.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>
const GeneratorParameters & getParametersForY() const
const GeneratorParameters & getParametersForX() const
void setParametersForX(const GeneratorParameters &x_params)
Set parameters for x values generation.
const GeneratorParameters & getParametersForZ() const
A 2D point structure representing Euclidean xy coordinates.
typename GeneratorT::Parameters GeneratorParameters
CloudGenerator()
Default constructor.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
void setParametersForY(const GeneratorParameters &y_params)
Set parameters for y values generation.
void setParameters(const GeneratorParameters ¶ms)
Set parameters for x, y and z values.
typename GeneratorT::Parameters GeneratorParameters
void setParametersForZ(const GeneratorParameters &z_params)
Set parameters for z values generation.
A point structure representing Euclidean xyz coordinates, and the RGB color.
int fill(pcl::PointCloud< PointT > &cloud)
Generates a cloud with X Y Z picked within given ranges.