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

NameTypeAccessDescription
translationVector3ReadGets the translation.
scalingVector3ReadGets the scaling.
eulerAnglesVector3ReadGets the euler angles.
rotationQuaternionReadGets the rotation.
preRotationVector3ReadGets the pre rotation.
postRotationVector3ReadGets the post rotation.
geometricTranslationVector3ReadGets the geometric translation.
geometricScalingVector3ReadGets the geometric scaling.
geometricRotationVector3ReadGets the geometric rotation.
scalingOffsetVector3ReadGets the scaling offset.
scalingPivotVector3ReadGets the scaling pivot.
rotationOffsetVector3ReadGets the rotation offset.
rotationPivotVector3ReadGets the rotation pivot.
transformMatrixMatrix4ReadGets the transform matrix.

Methods

SignatureDescription
Transform()
Transform(name: String)
getTranslation()Vector3Returns the translation.
setTranslation(value: Vector3)Sets the translation value.
setTranslation(x: double, y: double, z: double)TransformSets the translation value.
getScaling()Vector3Returns the scaling.
setScaling(value: Vector3)Sets the scaling value.
setScale(x: double, y: double, z: double)TransformSets the scale value.
getEulerAngles()Vector3Returns the euler angles.
setEulerAngles(value: Vector3)Sets the euler angles value.
setEulerAngles(x: double, y: double, z: double)TransformSets the euler angles value.
getRotation()QuaternionReturns the rotation.
setRotation(value: Quaternion)Sets the rotation value.
setRotation(x: double, y: double, z: double, w: double)TransformSets the rotation value.
setPreRotation(x: double, y: double, z: double)TransformSets the pre rotation value.
getPreRotation()Vector3Returns the pre rotation.
setPreRotation(value: Vector3)Sets the pre rotation value.
setPostRotation(x: double, y: double, z: double)TransformSets the post rotation value.
getPostRotation()Vector3Returns the post rotation.
setPostRotation(value: Vector3)Sets the post rotation value.
getGeometricTranslation()Vector3Returns the geometric translation.
setGeometricTranslation(value: Vector3)Sets the geometric translation value.
setGeometricTranslation(x: double, y: double, z: double)TransformSets the geometric translation value.
getGeometricScaling()Vector3Returns the geometric scaling.
setGeometricScaling(value: Vector3)Sets the geometric scaling value.
setGeometricScaling(x: double, y: double, z: double)TransformSets the geometric scaling value.
getGeometricRotation()Vector3Returns the geometric rotation.
setGeometricRotation(value: Vector3)Sets the geometric rotation value.
setGeometricRotation(x: double, y: double, z: double)TransformSets the geometric rotation value.
getScalingOffset()Vector3Returns the scaling offset.
setScalingOffset(value: Vector3)Sets the scaling offset value.
getScalingPivot()Vector3Returns the scaling pivot.
setScalingPivot(value: Vector3)Sets the scaling pivot value.
getRotationOffset()Vector3Returns the rotation offset.
setRotationOffset(value: Vector3)Sets the rotation offset value.
getRotationPivot()Vector3Returns the rotation pivot.
setRotationPivot(value: Vector3)Sets the rotation pivot value.
getTransformMatrix()Matrix4Returns the transform matrix.
setTransformMatrix(value: Matrix4)Sets the transform matrix value.

See Also