Decimation of an EPointCloud. More...
#include <eVision/Easy3D/ERandomDecimator.h>
Public Member Functions | |
| ERandomDecimator () | |
| Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000. | |
| ERandomDecimator (int numberOfPoints) | |
| Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000. | |
| ERandomDecimator (const eVision::Easy3D::ERandomDecimator &other) | |
| Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000. | |
| virtual | ~ERandomDecimator () throw () |
| eVision::Easy3D::ERandomDecimator & | operator= (const eVision::Easy3D::ERandomDecimator &other) |
| Assignment operator. | |
| virtual bool | operator== (const eVision::Easy3D::EDecimator &other) const |
| test equality between two ERandomDecimator. | |
| virtual bool | operator!= (const eVision::Easy3D::EDecimator &other) const |
| test inequality between two ERandomDecimator. | |
| void | SetNumberOfPoints (int numberOfPoints) |
| Sets/gets the parameter "number of points" (number of points after decimation). | |
| int | GetNumberOfPoints () const |
| Sets/gets the parameter "number of points" (number of points after decimation). | |
| virtual void | Decimate (const eVision::Easy3D::EPointCloud &cloudIn, eVision::Easy3D::EPointCloud &cloudOut) const |
| Decimates a given EPointCloud and writes the result into a new point cloud. | |
| ERandomDecimator (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::Easy3D::EDecimator | |
| EDecimator () | |
| Creates an EDecimator object. | |
| virtual | ~EDecimator () throw () |
| void | Load (const std::string &path) |
| Loads the decimator configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the decimator configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Saves the decimator configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the decimator configuration. The given ESerializer must have been created for writing. | |
| EDecimator (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Public Attributes inherited from eVision::Easy3D::EDecimator | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Decimation of an EPointCloud.
The random decimator decimates a point cloud by copying a specified number of points, randomly selected, to a new point cloud.
License(s): Easy3D
| eVision::Easy3D::ERandomDecimator::ERandomDecimator | ( | ) |
Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000.
| eVision::Easy3D::ERandomDecimator::ERandomDecimator | ( | int | numberOfPoints | ) |
Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000.
| numberOfPoints | Number of points after decimation. |
| eVision::Easy3D::ERandomDecimator::ERandomDecimator | ( | const eVision::Easy3D::ERandomDecimator & | other | ) |
Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000.
| other | Reference to the ERandomDecimator object used for the initialization. |
|
virtual | ||||||||||||
| eVision::Easy3D::ERandomDecimator::ERandomDecimator | ( | CppWrapperInternal::InternalConstructor | ) |
|
virtual |
Decimates a given EPointCloud and writes the result into a new point cloud.
| cloudIn | The input point cloud. |
| cloudOut | The output point cloud. |
The input point cloud 'cloudIn' should be different from the output point cloud 'cloudOut'. If not a exception will be thrown.
Reimplemented from eVision::Easy3D::EDecimator.
| int eVision::Easy3D::ERandomDecimator::GetNumberOfPoints | ( | ) | const |
Sets/gets the parameter "number of points" (number of points after decimation).
|
virtual |
test inequality between two ERandomDecimator.
| other | the ERandomDecimator to be compared with |
Reimplemented from eVision::Easy3D::EDecimator.
| eVision::Easy3D::ERandomDecimator & eVision::Easy3D::ERandomDecimator::operator= | ( | const eVision::Easy3D::ERandomDecimator & | other | ) |
Assignment operator.
| other | The ERandomDecimator object that should be copied. |
|
virtual |
test equality between two ERandomDecimator.
| other | the ERandomDecimator to be compared with |
Reimplemented from eVision::Easy3D::EDecimator.
| void eVision::Easy3D::ERandomDecimator::SetNumberOfPoints | ( | int | numberOfPoints | ) |
Sets/gets the parameter "number of points" (number of points after decimation).