Decimation of an eVision.Easy3D.EPointCloud. More...


Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.Easy3D.EGridDecimator object. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint cellSize) |
| Creates an eVision.Easy3D.EGridDecimator object. | |
| None | __init__ (self, float isotropicCellSize) |
| Creates an eVision.Easy3D.EGridDecimator object. | |
| None | __init__ (self, eVision.Easy3D.EGridDecimator other) |
| Creates an eVision.Easy3D.EGridDecimator object. | |
| None | Decimate (self, eVision.Easy3D.EPointCloud cloudIn, eVision.Easy3D.EPointCloud cloudOut) |
| Decimates a given eVision.Easy3D.EPointCloud and writes the result into a new point cloud. | |
| eVision.Easy3D.E3DPoint | CellSize (self) |
| Gets/sets the size of the cells in the grid. | |
| CellSize (self, eVision.Easy3D.E3DPoint value) | |
| Gets/sets the size of the cells in the grid. | |
| Public Member Functions inherited from eVision.Easy3D.EDecimator | |
| None | __init__ (self) |
| Creates an eVision.Easy3D.EDecimator object. | |
| None | Load (self, str path) |
| Loads the decimator configuration. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the decimator configuration. | |
| None | Save (self, str path) |
| Saves the decimator configuration. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the decimator configuration. | |
Decimation of an eVision.Easy3D.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.
Remarks:
License(s): Easy3D
| None eVision.Easy3D.EGridDecimator.__init__ | ( | self | ) |
Creates an eVision.Easy3D.EGridDecimator object.
If the required cell size is not specified, the default value is 10, 10, 10.
| None eVision.Easy3D.EGridDecimator.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | cellSize ) |
Creates an eVision.Easy3D.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 |
| None eVision.Easy3D.EGridDecimator.__init__ | ( | self, | |
| float | isotropicCellSize ) |
Creates an eVision.Easy3D.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 |
| None eVision.Easy3D.EGridDecimator.__init__ | ( | self, | |
| eVision.Easy3D.EGridDecimator | other ) |
Creates an eVision.Easy3D.EGridDecimator object.
If the required cell size is not specified, the default value is 10, 10, 10.
| other | Reference to the eVision.Easy3D.EGridDecimator object used for the initialization. |
| eVision.Easy3D.E3DPoint eVision.Easy3D.EGridDecimator.CellSize | ( | self | ) |
Gets/sets the size of the cells in the grid.
| eVision.Easy3D.EGridDecimator.CellSize | ( | self, | |
| eVision.Easy3D.E3DPoint | value ) |
Gets/sets the size of the cells in the grid.
| None eVision.Easy3D.EGridDecimator.Decimate | ( | self, | |
| eVision.Easy3D.EPointCloud | cloudIn, | ||
| eVision.Easy3D.EPointCloud | cloudOut ) |
Decimates a given eVision.Easy3D.EPointCloud and writes the result into a new point cloud.
Remarks:
The input point cloud 'cloudIn' should be different from the output point cloud 'cloudOut'. If not a exception will be thrown.
| cloudIn | The input point cloud. |
| cloudOut | The output point cloud. |
Reimplemented from eVision.Easy3D.EDecimator.