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

A EPlaneCropper object is used to crop some points of a EPointCloud object. More...

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

Public Member Functions

 EPlaneCropper ()
 Creates an EPlaneCropper object using a horizontal plane as a default reference.
 EPlaneCropper (eVision.Easy3D.E3DPlane plane)
 Creates an EPlaneCropper object using a horizontal plane as a default reference.
 EPlaneCropper (eVision.Easy3D.EPlaneCropper other)
 Creates an EPlaneCropper object using a horizontal plane as a default reference.
void Load (string path)
 Loads the EPlaneCropper configuration. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads the EPlaneCropper configuration. The given ESerializer must have been created for reading.
void Save (string path)
 Saves the EPlaneCropper configuration. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves the EPlaneCropper configuration. The given ESerializer must have been created for writing.
void Crop (eVision.Easy3D.EPointCloud cloudIn, eVision.Easy3D.EPointCloud cloudOut, eVision.Easy3D.EPlaneCropperType type, float maxDistance)
 Crops an EPointCloud. An output point cloud is produced from an input point cloud by only keeping the points that satisfy the specified condition.
void Crop (eVision.Easy3D.EPointCloud cloudIn, eVision.Easy3D.EPointCloud cloudOut, eVision.Easy3D.EPlaneCropperType type)
 Crops an EPointCloud. An output point cloud is produced from an input point cloud by only keeping the points that satisfy the specified condition.

Properties

eVision.Easy3D.E3DPlane Plane [get, set]
 Sets/gets the new reference E3DPlane of the EPlaneCropper object.

Detailed Description

A EPlaneCropper object is used to crop some points of a EPointCloud object.

The points to keep are selected according to their positions with respect to a reference plane. A EPlaneCropper object is characterized by its reference plane and is used to produce an output EPointCloud object from an input EPointCloud object. The produced point cloud contains a subset of the input point cloud.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EPlaneCropper() [1/3]

eVision.Easy3D.EPlaneCropper.EPlaneCropper ( )

Creates an EPlaneCropper object using a horizontal plane as a default reference.

◆ EPlaneCropper() [2/3]

eVision.Easy3D.EPlaneCropper.EPlaneCropper ( eVision.Easy3D.E3DPlane plane)

Creates an EPlaneCropper object using a horizontal plane as a default reference.

Parameters
planeReference E3DPlane used for the initialization.

◆ EPlaneCropper() [3/3]

eVision.Easy3D.EPlaneCropper.EPlaneCropper ( eVision.Easy3D.EPlaneCropper other)

Creates an EPlaneCropper object using a horizontal plane as a default reference.

Parameters
otherReference EPlaneCropper used for the initialization.

Member Function Documentation

◆ Crop() [1/2]

void eVision.Easy3D.EPlaneCropper.Crop ( eVision.Easy3D.EPointCloud cloudIn,
eVision.Easy3D.EPointCloud cloudOut,
eVision.Easy3D.EPlaneCropperType type )

Crops an EPointCloud. An output point cloud is produced from an input point cloud by only keeping the points that satisfy the specified condition.

The condition tests the (signed) distance of the points with respect to the reference plane of the cropper.

Parameters
cloudInThe input point cloud.
cloudOutThe output point cloud.
typeAn enum of type EPlaneCropperType that specifies which points of the input point cloud will be copied to 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.

◆ Crop() [2/2]

void eVision.Easy3D.EPlaneCropper.Crop ( eVision.Easy3D.EPointCloud cloudIn,
eVision.Easy3D.EPointCloud cloudOut,
eVision.Easy3D.EPlaneCropperType type,
float maxDistance )

Crops an EPointCloud. An output point cloud is produced from an input point cloud by only keeping the points that satisfy the specified condition.

The condition tests the (signed) distance of the points with respect to the reference plane of the cropper.

Parameters
cloudInThe input point cloud.
cloudOutThe output point cloud.
typeAn enum of type EPlaneCropperType that specifies which points of the input point cloud will be copied to the output point cloud.
maxDistanceSpecifies the distance from the plane for the types "EPlaneCropperType_KeepClose" and "EPlaneCropperType_KeepFar". It should be 0 for the types "EPlaneCropperType_KeepAbove" and "EPlaneCropperType_KeepBelow.

The input point cloud 'cloudIn' should be different from the output point cloud 'cloudOut'. If not a exception will be thrown.

◆ Load() [1/2]

void eVision.Easy3D.EPlaneCropper.Load ( eVision.ESerializer serializer)

Loads the EPlaneCropper configuration. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.Easy3D.EPlaneCropper.Load ( string path)

Loads the EPlaneCropper configuration. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

void eVision.Easy3D.EPlaneCropper.Save ( eVision.ESerializer serializer)

Saves the EPlaneCropper configuration. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.Easy3D.EPlaneCropper.Save ( string path)

Saves the EPlaneCropper configuration. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

Property Documentation

◆ Plane

eVision.Easy3D.E3DPlane eVision.Easy3D.EPlaneCropper.Plane
getset

Sets/gets the new reference E3DPlane of the EPlaneCropper object.