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

Decimation of an EPointCloud. More...

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

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 (eVision.Easy3D.ERandomDecimator other)
 Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000.
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

int NumberOfPoints [get, set]
 Sets/gets the parameter "number of points" (number of points after decimation).

Detailed Description

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

Constructor & Destructor Documentation

◆ ERandomDecimator() [1/3]

eVision.Easy3D.ERandomDecimator.ERandomDecimator ( )

Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000.

◆ ERandomDecimator() [2/3]

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.

Parameters
numberOfPointsNumber of points after decimation.

◆ ERandomDecimator() [3/3]

eVision.Easy3D.ERandomDecimator.ERandomDecimator ( eVision.Easy3D.ERandomDecimator other)

Creates an ERandomDecimator object. If the required number of points (after decimation) is not specified, the default value is 10000.

Parameters
otherReference to the ERandomDecimator object used for the initialization.

Member Function Documentation

◆ Decimate()

override void eVision.Easy3D.ERandomDecimator.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

◆ NumberOfPoints

int eVision.Easy3D.ERandomDecimator.NumberOfPoints
getset

Sets/gets the parameter "number of points" (number of points after decimation).