Skip To Content ArcGIS for Developers Sign In Dashboard

TransformationMatrix QML Type

A transformation matrix consisting of a translation vector and a rotation quaternion. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.6
Inherits:

Object

Properties

Signals

Methods

Detailed Description

After it is instantiated, the TransformationMatrix object is immutable.

The default transformation matrix is constucted using the values (0, 0, 0, 1) for x, y, z, w quaternion and (0, 0, 0) for x, y, z translations.

Property Documentation

quaternionW : double

The w quaternion of the transformation matrix.

You cannot change this property after the object is instantiated.


quaternionX : double

The x quaternion of the transformation matrix.

You cannot change this property after the object is instantiated.


quaternionY : double

The y quaternion of the transformation matrix.

You cannot change this property after the object is instantiated.


quaternionZ : double

The z quaternion of the transformation matrix.

You cannot change this property after the object is instantiated.


translationX : double

The x position of the transformation matrix.

You cannot change this property after the object is instantiated.


translationY : double

The y position of the transformation matrix.

You cannot change this property after the object is instantiated.


translationZ : double

The z position of the transformation matrix.

You cannot change this property after the object is instantiated.


Signal Documentation

quaternionWChanged()

Emitted when the quaternionW for the transformation matrix changes.


quaternionXChanged()

Emitted when the quaternionX for the transformation matrix changes.


quaternionYChanged()

Emitted when the quaternionY for the transformation matrix changes.


quaternionZChanged()

Emitted when the quaternionZ for the transformation matrix changes.


translationXChanged()

Emitted when the translationX for the transformation matrix changes.


translationYChanged()

Emitted when the translationY for the transformation matrix changes.


translationZChanged()

Emitted when the translationZ for the transformation matrix changes.


Method Documentation

TransformationMatrix addTransformation(TransformationMatrix other)

Adds another transformation matrix to this transformation matrix and returns the result.


TransformationMatrix createIdentityMatrix()

Creates a TransformationMatrix object with an identity matrix.

This TransformationMatrix will have no transformation. The values are (0, 0, 0, 1) for x, y, z, w quaternion and (0, 0, 0) for x, y, z translations.

Subtracting another TransformationMatrix from a TransformationMatrix created with this constructor is useful for getting the inverse of that TransformationMatrix: identity matrix - other matrix = inverse(other matrix).


TransformationMatrix createWithQuaternionAndTranslation(double quaternionX, double quaternionY, double quaternionZ, double quaternionW, double translationX, double translationY, double translationZ)

Constructs a transformation matrix using x, y, z, w quaternion and x, y, z translations.

  • quaternionX - The x quaternion of the transformation matrix.
  • quaternionY - The y quaternion of the transformation matrix.
  • quaternionZ - The z quaternion of the transformation matrix.
  • quaternionW - The w quaternion of the transformation matrix.
  • translationX - The x position of the transformation matrix.
  • translationY - The y position of the transformation matrix.
  • translationZ - The z position of the transformation matrix.

TransformationMatrix subtractTransformation(TransformationMatrix other)

Subtracts another transformation matrix from this transformation matrix and returns the result.



Feedback on this topic?