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

Manages a 3D coordinates transformation context. More...

Public Member Functions

None __init__ (self)
 Creates an eVision.Easy3D.EAffineTransformer object.
None __init__ (self, eVision.Easy3D.EAffineTransformer other)
 Copy constructor of an eVision.Easy3D.EAffineTransformer object.
eVision.Easy3D.E3DTransformMatrix AddTransform (self, eVision.Easy3D.E3DTransformMatrix matrix)
 Composes a custom transformation with the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddRotationXTransform (self, float Angle)
 Adds rotation around the X axis to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddRotationYTransform (self, float Angle)
 Adds rotation around the Y axis to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddRotationZTransform (self, float Angle)
 Adds rotation around the Z axis to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddTranslationTransform (self, float dX, float dY, float dZ)
 Adds translation to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddIsotropicScalingTransform (self, float scale)
 Adds isotropic scaling to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddAnisotropicScalingTransform (self, float scaleX, float scaleY, float scaleZ)
 Adds anisotropic scaling to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddPerspectiveProjectionTransform (self, float distance, float width, float height)
 Adds a perspective projection to the current eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix AddOrthographicProjectionTransform (self, float width, float height)
 Adds an orthographic projection to the current eVision.Easy3D.E3DTransformMatrix.
None ApplyTransform (self, eVision.Easy3D.EPointCloud cloud, eVision.Easy3D.EPointCloud transformedCloud)
 Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.
None ApplyTransform (self, eVision.Easy3D.EPointCloud cloud)
 Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.
None ApplyTransform (self, eVision.Easy3D.EMesh mesh, eVision.Easy3D.EMesh transformedMesh)
 Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.
None ApplyTransform (self, eVision.Easy3D.EMesh mesh)
 Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.
None ApplyTransform (self, list[eVision._eVision.Easy3D.E3DPoint] sourcePoints, list[eVision._eVision.Easy3D.E3DPoint] transformedPoints)
 Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.
eVision.Easy3D.E3DPoint ApplyTransform (self, eVision.Easy3D.E3DPoint sourcePoint)
 Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.
None Reset (self)
 Resets the transformation eVision.Easy3D.E3DTransformMatrix to the identity.
eVision.Easy3D.E3DTransformMatrix Transform (self)
 Sets the eVision.Easy3D.E3DTransformMatrix that will be used.
 Transform (self, eVision.Easy3D.E3DTransformMatrix value)
 Sets the eVision.Easy3D.E3DTransformMatrix that will be used.

Static Public Member Functions

None ApplyMatrix (eVision.Easy3D.E3DTransformMatrix matrix, eVision.Easy3D.EPointCloud cloud, eVision.Easy3D.EPointCloud transformedCloud)
 Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.
None ApplyMatrix (eVision.Easy3D.E3DTransformMatrix matrix, eVision.Easy3D.EPointCloud cloud)
 Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.
None ApplyMatrix (eVision.Easy3D.E3DTransformMatrix matrix, list[eVision._eVision.Easy3D.E3DPoint] sourcePoints, list[eVision._eVision.Easy3D.E3DPoint] transformedPoints)
 Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.
None ApplyMatrix (eVision.Easy3D.E3DTransformMatrix matrix, eVision.Easy3D.EMesh mesh, eVision.Easy3D.EMesh transformedMesh)
 Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.
None ApplyMatrix (eVision.Easy3D.E3DTransformMatrix matrix, eVision.Easy3D.EMesh mesh)
 Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.
eVision.Easy3D.E3DPoint ApplyMatrix (eVision.Easy3D.E3DTransformMatrix matrix, eVision.Easy3D.E3DPoint sourcePoint)
 Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.
eVision.Easy3D.E3DTransformMatrix CreateIdentityMatrix ()
 Creates an identity (neutral) eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix CreateRotationXMatrix (float Angle)
 Creates a rotation eVision.Easy3D.E3DTransformMatrix around the X axis.
eVision.Easy3D.E3DTransformMatrix CreateRotationYMatrix (float Angle)
 Creates a rotation eVision.Easy3D.E3DTransformMatrix around the Y axis.
eVision.Easy3D.E3DTransformMatrix CreateRotationZMatrix (float Angle)
 Creates a rotation eVision.Easy3D.E3DTransformMatrix around the Z axis.
eVision.Easy3D.E3DTransformMatrix CreateTranslationMatrix (float dX, float dY, float dZ)
 Creates a translation eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix CreateIsotropicScalingMatrix (float scale)
 Creates an isotropic scaling eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix CreateAnisotropicScalingMatrix (float scaleX, float scaleY, float scaleZ)
 Creates an anisotropic scaling eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix CreatePerspectiveProjectionMatrix (float distance, float width, float height)
 Creates a perspective projection eVision.Easy3D.E3DTransformMatrix.
eVision.Easy3D.E3DTransformMatrix CreateOrthographicProjectionMatrix (float width, float height)
 Creates an orthographic projection eVision.Easy3D.E3DTransformMatrix.

Detailed Description

Manages a 3D coordinates transformation context.

Remarks:

By default, no transformation is done (identity matrix). The transformations are applied in the order in which the calls to AddTransform are done.

License(s): Easy3D

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.Easy3D.EAffineTransformer.__init__ ( self)

◆ __init__() [2/2]

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

Copy constructor of an eVision.Easy3D.EAffineTransformer object.

Parameters
otherAnother eVision.Easy3D.EAffineTransformer.

Member Function Documentation

◆ AddAnisotropicScalingTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddAnisotropicScalingTransform ( self,
float scaleX,
float scaleY,
float scaleZ )

Adds anisotropic scaling to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
scaleXScaling factor along the X axis.
scaleYScaling factor along the Y axis.
scaleZScaling factor along the Z axis.

◆ AddIsotropicScalingTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddIsotropicScalingTransform ( self,
float scale )

Adds isotropic scaling to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
scaleScaling factor.

◆ AddOrthographicProjectionTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddOrthographicProjectionTransform ( self,
float width,
float height )

Adds an orthographic projection to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
widthWidth of the viewport.
heightHeight of the viewport.

◆ AddPerspectiveProjectionTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddPerspectiveProjectionTransform ( self,
float distance,
float width,
float height )

Adds a perspective projection to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
distanceDistance of the viewport to the origin.
widthWidth of the viewport.
heightHeight of the viewport.

◆ AddRotationXTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddRotationXTransform ( self,
float Angle )

Adds rotation around the X axis to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
AngleRotation angle.

◆ AddRotationYTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddRotationYTransform ( self,
float Angle )

Adds rotation around the Y axis to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
AngleRotation angle.

◆ AddRotationZTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddRotationZTransform ( self,
float Angle )

Adds rotation around the Z axis to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
AngleRotation angle.

◆ AddTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddTransform ( self,
eVision.Easy3D.E3DTransformMatrix matrix )

Composes a custom transformation with the current eVision.Easy3D.E3DTransformMatrix.

Parameters
matrixTransformation matrix.

◆ AddTranslationTransform()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.AddTranslationTransform ( self,
float dX,
float dY,
float dZ )

Adds translation to the current eVision.Easy3D.E3DTransformMatrix.

Parameters
dXTranslation along the X axis.
dYTranslation along the Y axis.
dZTranslation along the Z axis.

◆ ApplyMatrix() [1/6]

eVision.Easy3D.E3DPoint eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
eVision.Easy3D.E3DPoint sourcePoint )
static

Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, the transformation is performed in place.

Parameters
matrixTransformation matrix.
sourcePointPoint to transform.

◆ ApplyMatrix() [2/6]

None eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
eVision.Easy3D.EMesh mesh )
static

Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, the transformation is performed in place.

Parameters
matrixTransformation matrix.
meshMesh to transform.

◆ ApplyMatrix() [3/6]

None eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
eVision.Easy3D.EMesh mesh,
eVision.Easy3D.EMesh transformedMesh )
static

Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, the transformation is performed in place.

Parameters
matrixTransformation matrix.
meshMesh to transform.
transformedMeshTransformed mesh.

◆ ApplyMatrix() [4/6]

None eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
eVision.Easy3D.EPointCloud cloud )
static

Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, the transformation is performed in place.

Parameters
matrixTransformation matrix.
cloudCloud to transform.

◆ ApplyMatrix() [5/6]

None eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
eVision.Easy3D.EPointCloud cloud,
eVision.Easy3D.EPointCloud transformedCloud )
static

Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, the transformation is performed in place.

Parameters
matrixTransformation matrix.
cloudCloud to transform.
transformedCloudTransformed cloud.

◆ ApplyMatrix() [6/6]

None eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
list[eVision._eVision.Easy3D.E3DPoint] sourcePoints,
list[eVision._eVision.Easy3D.E3DPoint] transformedPoints )
static

Applies a eVision.Easy3D.E3DTransformMatrix to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or (list of) eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, the transformation is performed in place.

Parameters
matrixTransformation matrix.
sourcePointsPoints list to transform.
transformedPointsTransformed points list.

◆ ApplyTransform() [1/6]

eVision.Easy3D.E3DPoint eVision.Easy3D.EAffineTransformer.ApplyTransform ( self,
eVision.Easy3D.E3DPoint sourcePoint )

Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, transformation is performed in place.

Parameters
sourcePointPoint to transform.

◆ ApplyTransform() [2/6]

None eVision.Easy3D.EAffineTransformer.ApplyTransform ( self,
eVision.Easy3D.EMesh mesh )

Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, transformation is performed in place.

Parameters
meshMesh to transform.

◆ ApplyTransform() [3/6]

None eVision.Easy3D.EAffineTransformer.ApplyTransform ( self,
eVision.Easy3D.EMesh mesh,
eVision.Easy3D.EMesh transformedMesh )

Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, transformation is performed in place.

Parameters
meshMesh to transform.
transformedMeshTransformed mesh.

◆ ApplyTransform() [4/6]

None eVision.Easy3D.EAffineTransformer.ApplyTransform ( self,
eVision.Easy3D.EPointCloud cloud )

Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, transformation is performed in place.

Parameters
cloudCloud to transform.

◆ ApplyTransform() [5/6]

None eVision.Easy3D.EAffineTransformer.ApplyTransform ( self,
eVision.Easy3D.EPointCloud cloud,
eVision.Easy3D.EPointCloud transformedCloud )

Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, transformation is performed in place.

Parameters
cloudCloud to transform.
transformedCloudTransformed cloud.

◆ ApplyTransform() [6/6]

None eVision.Easy3D.EAffineTransformer.ApplyTransform ( self,
list[eVision._eVision.Easy3D.E3DPoint] sourcePoints,
list[eVision._eVision.Easy3D.E3DPoint] transformedPoints )

Applies the current transformation to a eVision.Easy3D.EPointCloud, eVision.Easy3D.EMesh or list of eVision.Easy3D.E3DPoint.

If the second parameter is present, puts the transformed points in another point cloud or points list. With a single parameter, transformation is performed in place.

Parameters
sourcePointsPoints list to transform.
transformedPointsTransformed points list.

◆ CreateAnisotropicScalingMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateAnisotropicScalingMatrix ( float scaleX,
float scaleY,
float scaleZ )
static

Creates an anisotropic scaling eVision.Easy3D.E3DTransformMatrix.

Parameters
scaleXScaling factor along the X axis.
scaleYScaling factor along the Y axis.
scaleZScaling factor along the Z axis.

◆ CreateIdentityMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateIdentityMatrix ( )
static

Creates an identity (neutral) eVision.Easy3D.E3DTransformMatrix.

◆ CreateIsotropicScalingMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateIsotropicScalingMatrix ( float scale)
static

Creates an isotropic scaling eVision.Easy3D.E3DTransformMatrix.

Parameters
scaleScaling factor.

◆ CreateOrthographicProjectionMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateOrthographicProjectionMatrix ( float width,
float height )
static

Creates an orthographic projection eVision.Easy3D.E3DTransformMatrix.

Parameters
widthWidth of the viewport.
heightHeight of the viewport.

◆ CreatePerspectiveProjectionMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreatePerspectiveProjectionMatrix ( float distance,
float width,
float height )
static

Creates a perspective projection eVision.Easy3D.E3DTransformMatrix.

Parameters
distanceDistance of the viewport to the origin.
widthWidth of the viewport.
heightHeight of the viewport.

◆ CreateRotationXMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateRotationXMatrix ( float Angle)
static

Creates a rotation eVision.Easy3D.E3DTransformMatrix around the X axis.

Parameters
AngleRotation angle.

◆ CreateRotationYMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateRotationYMatrix ( float Angle)
static

Creates a rotation eVision.Easy3D.E3DTransformMatrix around the Y axis.

Parameters
AngleRotation angle.

◆ CreateRotationZMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateRotationZMatrix ( float Angle)
static

Creates a rotation eVision.Easy3D.E3DTransformMatrix around the Z axis.

Parameters
AngleRotation angle.

◆ CreateTranslationMatrix()

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.CreateTranslationMatrix ( float dX,
float dY,
float dZ )
static

Creates a translation eVision.Easy3D.E3DTransformMatrix.

Parameters
dXTranslation along the X axis.
dYTranslation along the Y axis.
dZTranslation along the Z axis.

◆ Reset()

None eVision.Easy3D.EAffineTransformer.Reset ( self)

Resets the transformation eVision.Easy3D.E3DTransformMatrix to the identity.

◆ Transform() [1/2]

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.Transform ( self)

Sets the eVision.Easy3D.E3DTransformMatrix that will be used.

◆ Transform() [2/2]

eVision.Easy3D.EAffineTransformer.Transform ( self,
eVision.Easy3D.E3DTransformMatrix value )

Sets the eVision.Easy3D.E3DTransformMatrix that will be used.