Decimation of an EPointCloud. More...
#include <eVision/Easy3D/EGridDecimator.h>
Public Member Functions | |
| EGridDecimator () | |
| Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10. | |
| EGridDecimator (const eVision::Easy3D::E3DPoint &cellSize) | |
| Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10. | |
| EGridDecimator (float isotropicCellSize) | |
| Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10. | |
| EGridDecimator (const eVision::Easy3D::EGridDecimator &other) | |
| Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10. | |
| virtual | ~EGridDecimator () throw () |
| eVision::Easy3D::EGridDecimator & | operator= (const eVision::Easy3D::EGridDecimator &other) |
| Assignment operator. | |
| virtual bool | operator== (const eVision::Easy3D::EDecimator &other) const |
| test equality between two EGridDecimator. | |
| virtual bool | operator!= (const eVision::Easy3D::EDecimator &other) const |
| test inequality between two EGridDecimator. | |
| void | SetCellSize (const eVision::Easy3D::E3DPoint &cellSize) |
| Gets/sets the size of the cells in the grid. | |
| eVision::Easy3D::E3DPoint | GetCellSize () const |
| Gets/sets the size of the cells in the grid. | |
| 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. | |
| EGridDecimator (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 grid decimator decimates a point cloud by creating a new point cloud containing a point for each grid cell where at least one point exists in the input.
For each grid cell, the output point is the centroid of the input points in the cell. If the cloud has attributes, the attributes of each centroid are the ones of its closest point in the input and the same cell.
License(s): Easy3D
| eVision::Easy3D::EGridDecimator::EGridDecimator | ( | ) |
Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.
| eVision::Easy3D::EGridDecimator::EGridDecimator | ( | const eVision::Easy3D::E3DPoint & | cellSize | ) |
Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.
| cellSize | E3DPoint whose dimensions represent the x,y,z size of the cell |
| eVision::Easy3D::EGridDecimator::EGridDecimator | ( | float | isotropicCellSize | ) |
Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.
| isotropicCellSize | float representing the x,y and z size of the cell |
| eVision::Easy3D::EGridDecimator::EGridDecimator | ( | const eVision::Easy3D::EGridDecimator & | other | ) |
Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.
| other | Reference to the EGridDecimator object used for the initialization. |
|
virtual | ||||||||||||
| eVision::Easy3D::EGridDecimator::EGridDecimator | ( | 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.
| eVision::Easy3D::E3DPoint eVision::Easy3D::EGridDecimator::GetCellSize | ( | ) | const |
Gets/sets the size of the cells in the grid.
|
virtual |
test inequality between two EGridDecimator.
| other | the EGridDecimator to be compared with |
Reimplemented from eVision::Easy3D::EDecimator.
| eVision::Easy3D::EGridDecimator & eVision::Easy3D::EGridDecimator::operator= | ( | const eVision::Easy3D::EGridDecimator & | other | ) |
Assignment operator.
| other | The EGridDecimator object that should be copied. |
|
virtual |
test equality between two EGridDecimator.
| other | the EGridDecimator to be compared with |
Reimplemented from eVision::Easy3D::EDecimator.
| void eVision::Easy3D::EGridDecimator::SetCellSize | ( | const eVision::Easy3D::E3DPoint & | cellSize | ) |
Gets/sets the size of the cells in the grid.
| cellSize | An E3DPoint whose x/y/z coordinates represent the x/y/z size of the cell. |