Transform
Overview
Transform is a class in Aspose.3D FOSS for Java.
Inherits from: A3DObject.
This class provides 30 methods for working with Transform objects in Java programs.
Available methods include: Transform, getEulerAngles, getGeometricRotation, getGeometricScaling, getGeometricTranslation, getPostRotation, getPreRotation, getRotation, getRotationOffset, getRotationPivot, getScaling, getScalingOffset, and 18 additional methods.
All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: eulerAngles, geometricRotation, geometricScaling, geometricTranslation, postRotation, preRotation, and 8 more.
Description
Transform is a class in the Aspose.3D FOSS library for Java that exposes 44 methods and 16 properties for programmatic use. It extends A3DObject, inheriting shared functionality from its parent type.
Core capabilities include: vector3; vector3; vector3. These operations enable developers to integrate transform functionality directly into Java applications.
The class also provides the translation property (gets the translation), the scaling property (gets the scaling), the eulerAngles property (gets the euler angles).
The class offers 3 constructor overloads, allowing flexible initialization depending on the calling context.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
translation | Vector3 | Read | Gets the translation. |
scaling | Vector3 | Read | Gets the scaling. |
eulerAngles | Vector3 | Read | Gets the euler angles. |
rotation | Quaternion | Read | Gets the rotation. |
preRotation | Vector3 | Read | Gets the pre rotation. |
postRotation | Vector3 | Read | Gets the post rotation. |
geometricTranslation | Vector3 | Read | Gets the geometric translation. |
geometricScaling | Vector3 | Read | Gets the geometric scaling. |
geometricRotation | Vector3 | Read | Gets the geometric rotation. |
scalingOffset | Vector3 | Read | Gets the scaling offset. |
scalingPivot | Vector3 | Read | Gets the scaling pivot. |
rotationOffset | Vector3 | Read | Gets the rotation offset. |
rotationPivot | Vector3 | Read | Gets the rotation pivot. |
transformMatrix | Matrix4 | Read | Gets the transform matrix. |
Methods
| Signature | Description |
|---|---|
Transform() | |
Transform(name: String) | |
getTranslation() → Vector3 | Returns the translation. |
setTranslation(value: Vector3) | Sets the translation value. |
setTranslation(x: double, y: double, z: double) → Transform | Sets the translation value. |
getScaling() → Vector3 | Returns the scaling. |
setScaling(value: Vector3) | Sets the scaling value. |
setScale(x: double, y: double, z: double) → Transform | Sets the scale value. |
getEulerAngles() → Vector3 | Returns the euler angles. |
setEulerAngles(value: Vector3) | Sets the euler angles value. |
setEulerAngles(x: double, y: double, z: double) → Transform | Sets the euler angles value. |
getRotation() → Quaternion | Returns the rotation. |
setRotation(value: Quaternion) | Sets the rotation value. |
setRotation(x: double, y: double, z: double, w: double) → Transform | Sets the rotation value. |
setPreRotation(x: double, y: double, z: double) → Transform | Sets the pre rotation value. |
getPreRotation() → Vector3 | Returns the pre rotation. |
setPreRotation(value: Vector3) | Sets the pre rotation value. |
setPostRotation(x: double, y: double, z: double) → Transform | Sets the post rotation value. |
getPostRotation() → Vector3 | Returns the post rotation. |
setPostRotation(value: Vector3) | Sets the post rotation value. |
getGeometricTranslation() → Vector3 | Returns the geometric translation. |
setGeometricTranslation(value: Vector3) | Sets the geometric translation value. |
setGeometricTranslation(x: double, y: double, z: double) → Transform | Sets the geometric translation value. |
getGeometricScaling() → Vector3 | Returns the geometric scaling. |
setGeometricScaling(value: Vector3) | Sets the geometric scaling value. |
setGeometricScaling(x: double, y: double, z: double) → Transform | Sets the geometric scaling value. |
getGeometricRotation() → Vector3 | Returns the geometric rotation. |
setGeometricRotation(value: Vector3) | Sets the geometric rotation value. |
setGeometricRotation(x: double, y: double, z: double) → Transform | Sets the geometric rotation value. |
getScalingOffset() → Vector3 | Returns the scaling offset. |
setScalingOffset(value: Vector3) | Sets the scaling offset value. |
getScalingPivot() → Vector3 | Returns the scaling pivot. |
setScalingPivot(value: Vector3) | Sets the scaling pivot value. |
getRotationOffset() → Vector3 | Returns the rotation offset. |
setRotationOffset(value: Vector3) | Sets the rotation offset value. |
getRotationPivot() → Vector3 | Returns the rotation pivot. |
setRotationPivot(value: Vector3) | Sets the rotation pivot value. |
getTransformMatrix() → Matrix4 | Returns the transform matrix. |
setTransformMatrix(value: Matrix4) | Sets the transform matrix value. |