eVision .NET API
Loading...
Searching...
No Matches
eVision.Easy3D.EGridDecimator Class Reference

Decimation of an EPointCloud. More...

Inheritance diagram for eVision.Easy3D.EGridDecimator:
Collaboration diagram for eVision.Easy3D.EGridDecimator:

Public Member Functions

 EGridDecimator ()
 Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.
 EGridDecimator (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 (eVision.Easy3D.EGridDecimator other)
 Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.
override void Decimate (eVision.Easy3D.EPointCloud cloudIn, eVision.Easy3D.EPointCloud cloudOut)
 Decimates a given EPointCloud and writes the result into a new point cloud.
Public Member Functions inherited from eVision.Easy3D.EDecimator
 EDecimator ()
 Creates an EDecimator object.
void Load (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 (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.

Properties

eVision.Easy3D.E3DPoint CellSize [get, set]
 Gets/sets the size of the cells in the grid.

Detailed Description

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

Constructor & Destructor Documentation

◆ EGridDecimator() [1/4]

eVision.Easy3D.EGridDecimator.EGridDecimator ( )

Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.

◆ EGridDecimator() [2/4]

eVision.Easy3D.EGridDecimator.EGridDecimator ( eVision.Easy3D.E3DPoint cellSize)

Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.

Parameters
cellSizeE3DPoint whose dimensions represent the x,y,z size of the cell

◆ EGridDecimator() [3/4]

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.

Parameters
isotropicCellSizefloat representing the x,y and z size of the cell

◆ EGridDecimator() [4/4]

eVision.Easy3D.EGridDecimator.EGridDecimator ( eVision.Easy3D.EGridDecimator other)

Creates an EGridDecimator object. If the required cell size is not specified, the default value is 10, 10, 10.

Parameters
otherReference to the EGridDecimator object used for the initialization.

Member Function Documentation

◆ Decimate()

override void eVision.Easy3D.EGridDecimator.Decimate ( eVision.Easy3D.EPointCloud cloudIn,
eVision.Easy3D.EPointCloud cloudOut )
virtual

Decimates a given EPointCloud and writes the result into a new point cloud.

Parameters
cloudInThe input point cloud.
cloudOutThe 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.

Property Documentation

◆ CellSize

eVision.Easy3D.E3DPoint eVision.Easy3D.EGridDecimator.CellSize
getset

Gets/sets the size of the cells in the grid.