Point Cloud Library (PCL)
1.9.1
|
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>
CloudGenerator()
Default constructor.
This file defines compatibility wrappers for low level I/O functions.
void setParametersForX(const GeneratorParameters &x_params)
Set parameters for x values generation.
int fill(pcl::PointCloud< PointT > &cloud)
Generates a cloud with X Y Z picked within given ranges.
void setParametersForZ(const GeneratorParameters &z_params)
Set parameters for z values generation.
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.
PointCloud represents the base class in PCL for storing collections of 3D points.
A point structure representing Euclidean xyz coordinates, and the RGB color.
GeneratorT::Parameters GeneratorParameters
CloudGenerator class generates a point cloud using some randoom number generator.
const GeneratorParameters & getParametersForX() const
A 2D point structure representing Euclidean xy coordinates.
GeneratorT::Parameters GeneratorParameters
const GeneratorParameters & getParametersForY() const
const GeneratorParameters & getParametersForZ() const