40 #ifndef PCL_COMMON_GENERATE_H_ 41 #define PCL_COMMON_GENERATE_H_ 43 #include <pcl/point_cloud.h> 58 template <
typename Po
intT,
typename GeneratorT>
140 GeneratorT x_generator_, y_generator_, z_generator_;
143 template <
typename GeneratorT>
181 GeneratorT x_generator_;
182 GeneratorT y_generator_;
187 #include <pcl/common/impl/generate.hpp>
const GeneratorParameters & getParametersForZ() const
void setParametersForX(const GeneratorParameters &x_params)
Set parameters for x values generation.
GeneratorT::Parameters GeneratorParameters
const GeneratorParameters & getParametersForY() const
GeneratorT::Parameters GeneratorParameters
A 2D point structure representing Euclidean xy coordinates.
Defines all the PCL implemented PointT point type structures.
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.
const GeneratorParameters & getParametersForX() const
void setParameters(const GeneratorParameters ¶ms)
Set parameters for x, y and z values.
CloudGenerator class generates a point cloud using some randoom number generator.
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.