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

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

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

Public Member Functions

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

Static Public Member Functions

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

Properties

eVision.Easy3D.E3DTransformMatrix Transform [get, set]
 Sets the E3DTransformMatrix that will be used.

Detailed Description

Manages a 3D coordinates transformation context.

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

◆ EAffineTransformer() [1/2]

eVision.Easy3D.EAffineTransformer.EAffineTransformer ( )

Creates an EAffineTransformer object.

◆ EAffineTransformer() [2/2]

eVision.Easy3D.EAffineTransformer.EAffineTransformer ( eVision.Easy3D.EAffineTransformer other)

Copy constructor of an EAffineTransformer object.

Parameters
otherAnother EAffineTransformer.

Member Function Documentation

◆ AddAnisotropicScalingTransform()

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

Adds anisotropic scaling to the current 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 ( float scale)

Adds isotropic scaling to the current E3DTransformMatrix.

Parameters
scaleScaling factor.

◆ AddOrthographicProjectionTransform()

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

Adds an orthographic projection to the current E3DTransformMatrix.

Parameters
widthWidth of the viewport.
heightHeight of the viewport.

◆ AddPerspectiveProjectionTransform()

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

Adds a perspective projection to the current 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 ( float Angle)

Adds rotation around the X axis to the current E3DTransformMatrix.

Parameters
AngleRotation angle.

◆ AddRotationYTransform()

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

Adds rotation around the Y axis to the current E3DTransformMatrix.

Parameters
AngleRotation angle.

◆ AddRotationZTransform()

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

Adds rotation around the Z axis to the current E3DTransformMatrix.

Parameters
AngleRotation angle.

◆ AddTransform()

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

Composes a custom transformation with the current E3DTransformMatrix.

Parameters
matrixTransformation matrix.

◆ AddTranslationTransform()

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

Adds translation to the current 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 E3DTransformMatrix to a EPointCloud, EMesh or (list of) 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]

void eVision.Easy3D.EAffineTransformer.ApplyMatrix ( eVision.Easy3D.E3DTransformMatrix matrix,
eVision.Easy3D.E3DPoint[] sourcePoints,
out eVision.Easy3D.E3DPoint[] transformedPoints )
static

Applies a E3DTransformMatrix to a EPointCloud, EMesh or (list of) 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.

◆ ApplyMatrix() [3/6]

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

Applies a E3DTransformMatrix to a EPointCloud, EMesh or (list of) 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() [4/6]

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

Applies a E3DTransformMatrix to a EPointCloud, EMesh or (list of) 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() [5/6]

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

Applies a E3DTransformMatrix to a EPointCloud, EMesh or (list of) 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() [6/6]

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

Applies a E3DTransformMatrix to a EPointCloud, EMesh or (list of) 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.

◆ ApplyTransform() [1/6]

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

Applies the current transformation to a EPointCloud, EMesh or list of 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]

void eVision.Easy3D.EAffineTransformer.ApplyTransform ( eVision.Easy3D.E3DPoint[] sourcePoints,
out eVision.Easy3D.E3DPoint[] transformedPoints )

Applies the current transformation to a EPointCloud, EMesh or list of 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.

◆ ApplyTransform() [3/6]

void eVision.Easy3D.EAffineTransformer.ApplyTransform ( eVision.Easy3D.EMesh mesh)

Applies the current transformation to a EPointCloud, EMesh or list of 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() [4/6]

void eVision.Easy3D.EAffineTransformer.ApplyTransform ( eVision.Easy3D.EMesh mesh,
eVision.Easy3D.EMesh transformedMesh )

Applies the current transformation to a EPointCloud, EMesh or list of 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() [5/6]

void eVision.Easy3D.EAffineTransformer.ApplyTransform ( eVision.Easy3D.EPointCloud cloud)

Applies the current transformation to a EPointCloud, EMesh or list of 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() [6/6]

void eVision.Easy3D.EAffineTransformer.ApplyTransform ( eVision.Easy3D.EPointCloud cloud,
eVision.Easy3D.EPointCloud transformedCloud )

Applies the current transformation to a EPointCloud, EMesh or list of 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.

◆ CreateAnisotropicScalingMatrix()

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

Creates an anisotropic scaling 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) E3DTransformMatrix.

◆ CreateIsotropicScalingMatrix()

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

Creates an isotropic scaling E3DTransformMatrix.

Parameters
scaleScaling factor.

◆ CreateOrthographicProjectionMatrix()

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

Creates an orthographic projection 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 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 E3DTransformMatrix around the X axis.

Parameters
AngleRotation angle.

◆ CreateRotationYMatrix()

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

Creates a rotation E3DTransformMatrix around the Y axis.

Parameters
AngleRotation angle.

◆ CreateRotationZMatrix()

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

Creates a rotation 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 E3DTransformMatrix.

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

◆ Reset()

void eVision.Easy3D.EAffineTransformer.Reset ( )

Resets the transformation E3DTransformMatrix to the identity.

Property Documentation

◆ Transform

eVision.Easy3D.E3DTransformMatrix eVision.Easy3D.EAffineTransformer.Transform
getset

Sets the E3DTransformMatrix that will be used.