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

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

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

Public Member Functions

None __init__ (self)
 Creates an eVision.Easy3D.ERandomDecimator object.
None __init__ (self, int numberOfPoints)
 Creates an eVision.Easy3D.ERandomDecimator object.
None __init__ (self, eVision.Easy3D.ERandomDecimator other)
 Creates an eVision.Easy3D.ERandomDecimator 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.
int NumberOfPoints (self)
 Sets/gets the parameter "number of points" (number of points after decimation).
 NumberOfPoints (self, int value)
 Sets/gets the parameter "number of points" (number of points after decimation).
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.

Detailed Description

Decimation of an eVision.Easy3D.EPointCloud.

The random decimator decimates a point cloud by copying a specified number of points, randomly selected, to a new point cloud.

Remarks:

License(s): Easy3D

Constructor & Destructor Documentation

◆ __init__() [1/3]

None eVision.Easy3D.ERandomDecimator.__init__ ( self)

Creates an eVision.Easy3D.ERandomDecimator object.

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

◆ __init__() [2/3]

None eVision.Easy3D.ERandomDecimator.__init__ ( self,
int numberOfPoints )

Creates an eVision.Easy3D.ERandomDecimator object.

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

Parameters
numberOfPointsNumber of points after decimation.

◆ __init__() [3/3]

None eVision.Easy3D.ERandomDecimator.__init__ ( self,
eVision.Easy3D.ERandomDecimator other )

Creates an eVision.Easy3D.ERandomDecimator object.

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

Parameters
otherReference to the eVision.Easy3D.ERandomDecimator object used for the initialization.

Member Function Documentation

◆ Decimate()

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

Parameters
cloudInThe input point cloud.
cloudOutThe output point cloud.

Reimplemented from eVision.Easy3D.EDecimator.

◆ NumberOfPoints() [1/2]

int eVision.Easy3D.ERandomDecimator.NumberOfPoints ( self)

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

◆ NumberOfPoints() [2/2]

eVision.Easy3D.ERandomDecimator.NumberOfPoints ( self,
int value )

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