A eVision.Easy3D.EPlaneCropper object is used to crop some points of a eVision.Easy3D.EPointCloud object. More...
Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.Easy3D.EPlaneCropper object using a horizontal plane as a default reference. | |
| None | __init__ (self, eVision.Easy3D.E3DPlane plane) |
| Creates an eVision.Easy3D.EPlaneCropper object using a horizontal plane as a default reference. | |
| None | __init__ (self, eVision.Easy3D.EPlaneCropper other) |
| Creates an eVision.Easy3D.EPlaneCropper object using a horizontal plane as a default reference. | |
| None | Load (self, str path) |
| Loads the eVision.Easy3D.EPlaneCropper configuration. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.Easy3D.EPlaneCropper configuration. | |
| None | Save (self, str path) |
| Saves the eVision.Easy3D.EPlaneCropper configuration. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.Easy3D.EPlaneCropper configuration. | |
| None | Crop (self, eVision.Easy3D.EPointCloud cloudIn, eVision.Easy3D.EPointCloud cloudOut, eVision.Easy3D.EPlaneCropperType type, float maxDistance) |
| Crops an eVision.Easy3D.EPointCloud. | |
| None | Crop (self, eVision.Easy3D.EPointCloud cloudIn, eVision.Easy3D.EPointCloud cloudOut, eVision.Easy3D.EPlaneCropperType type) |
| Crops an eVision.Easy3D.EPointCloud. | |
| eVision.Easy3D.E3DPlane | Plane (self) |
| Sets/gets the new reference eVision.Easy3D.E3DPlane of the eVision.Easy3D.EPlaneCropper object. | |
| Plane (self, eVision.Easy3D.E3DPlane value) | |
| Sets/gets the new reference eVision.Easy3D.E3DPlane of the eVision.Easy3D.EPlaneCropper object. | |
A eVision.Easy3D.EPlaneCropper object is used to crop some points of a eVision.Easy3D.EPointCloud object.
The points to keep are selected according to their positions with respect to a reference plane. A eVision.Easy3D.EPlaneCropper object is characterized by its reference plane and is used to produce an output eVision.Easy3D.EPointCloud object from an input eVision.Easy3D.EPointCloud object. The produced point cloud contains a subset of the input point cloud.
Remarks:
License(s): Easy3D
| None eVision.Easy3D.EPlaneCropper.__init__ | ( | self | ) |
Creates an eVision.Easy3D.EPlaneCropper object using a horizontal plane as a default reference.
| None eVision.Easy3D.EPlaneCropper.__init__ | ( | self, | |
| eVision.Easy3D.E3DPlane | plane ) |
Creates an eVision.Easy3D.EPlaneCropper object using a horizontal plane as a default reference.
| plane | Reference eVision.Easy3D.E3DPlane used for the initialization. |
| None eVision.Easy3D.EPlaneCropper.__init__ | ( | self, | |
| eVision.Easy3D.EPlaneCropper | other ) |
Creates an eVision.Easy3D.EPlaneCropper object using a horizontal plane as a default reference.
| other | Reference eVision.Easy3D.EPlaneCropper used for the initialization. |
| None eVision.Easy3D.EPlaneCropper.Crop | ( | self, | |
| eVision.Easy3D.EPointCloud | cloudIn, | ||
| eVision.Easy3D.EPointCloud | cloudOut, | ||
| eVision.Easy3D.EPlaneCropperType | type ) |
Crops an eVision.Easy3D.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.
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. |
| type | An enum of type eVision.Easy3D.EPlaneCropperType that specifies which points of the input point cloud will be copied to the output point cloud. |
| None eVision.Easy3D.EPlaneCropper.Crop | ( | self, | |
| eVision.Easy3D.EPointCloud | cloudIn, | ||
| eVision.Easy3D.EPointCloud | cloudOut, | ||
| eVision.Easy3D.EPlaneCropperType | type, | ||
| float | maxDistance ) |
Crops an eVision.Easy3D.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.
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. |
| type | An enum of type eVision.Easy3D.EPlaneCropperType that specifies which points of the input point cloud will be copied to the output point cloud. |
| maxDistance | Specifies 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. |
| None eVision.Easy3D.EPlaneCropper.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.Easy3D.EPlaneCropper configuration.
The given ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.Easy3D.EPlaneCropper.Load | ( | self, | |
| str | path ) |
Loads the eVision.Easy3D.EPlaneCropper configuration.
The given ESerializer must have been created for reading.
| path | The file path. |
| eVision.Easy3D.E3DPlane eVision.Easy3D.EPlaneCropper.Plane | ( | self | ) |
Sets/gets the new reference eVision.Easy3D.E3DPlane of the eVision.Easy3D.EPlaneCropper object.
| eVision.Easy3D.EPlaneCropper.Plane | ( | self, | |
| eVision.Easy3D.E3DPlane | value ) |
Sets/gets the new reference eVision.Easy3D.E3DPlane of the eVision.Easy3D.EPlaneCropper object.
| None eVision.Easy3D.EPlaneCropper.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.Easy3D.EPlaneCropper configuration.
The given ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.Easy3D.EPlaneCropper.Save | ( | self, | |
| str | path ) |
Saves the eVision.Easy3D.EPlaneCropper configuration.
The given ESerializer must have been created for writing.
| path | The file path. |