Transform

General

Transform és una classe en Aspose.3d per a Java. Heretaris de: A3DObject.

Transform.Transform creates a new Transform with default parameters.

Propietats

NomTipus de productesAccésDescripció
translationVector3Llegeix.La propietat obté o fixa el vector de traducció de la transformació.
scalingVector3Llegeix.
eulerAnglesVector3Llegeix.La propietat obté o fixa la rotació com angles d’Euler.
rotationQuaternionLlegeix.La propietat obté o fixa la rotació com a Quaternió.
preRotationVector3Llegeix.Propietat obté o fixa els angles de pre-rotació.
postRotationVector3Llegeix.Propietat obté o fixa els angles pos-rotació.
geometricTranslationVector3Llegeix.
geometricScalingVector3Llegeix.La propietat obté o fixa el vector d’escala geometrica.
geometricRotationVector3Llegeix.La propietat obté o fixa el vector de rotació geomètrica.
scalingOffsetVector3Llegeix.La propietat obté o fixa el vector d’escalament de desplaçament.
scalingPivotVector3Llegeix.La propietat obté o fixa el punt de pivot d’escala.
rotationOffsetVector3Llegeix.La propietat obté o fixa el vector de desplaçament de rotació.
rotationPivotVector3Llegeix.Propietat obté o fixa el punt de rotació del pivot.
transformMatrixMatrix4Llegeix.La propietat obté o fixa la matriu de transformació 4x4

Mètodes

SignaturaDescripció
Transform()Crea una nova transformació amb paràmetres predeterminats
Transform(name: String)
getTranslation() → Vector3Retorna el vector de traducció de la transformació.
setTranslation(value: Vector3)S’estableix la traducció utilitzant x, y, z coordenades i torna aquest
setTranslation(x: double, y: double, z: double) → Transform
getScaling() → Vector3Retorna el vector d’escala de la transformació.
setScaling(value: Vector3)S’estableix l’escala utilitzant un valor Vector3
setScale(x: double, y: double, z: double) → TransformS’estableixen els factors d’escala x, y, z i torna aquest
getEulerAngles() → Vector3Retorna la rotació expressada com a angles d’Euler.
setEulerAngles(value: Vector3)Establi la rotació utilitzant x, y, z angles d’Euler i torna aquest
setEulerAngles(x: double, y: double, z: double) → Transform
getRotation() → QuaternionRetorna la rotació com a Quaternió.
setRotation(value: Quaternion)Establi la rotació utilitzant components de quaterni x, y, z, w i torna aquest
setRotation(x: double, y: double, z: double, w: double) → Transform
setPreRotation(x: double, y: double, z: double) → TransformEstabli els angles de pre-rotació (x, y, z) i torna aquest
getPreRotation() → Vector3Retorna els angles de pre-rotació com a vector3
setPreRotation(value: Vector3)
setPostRotation(x: double, y: double, z: double) → TransformEstabli el post-rotació utilitzant un valor Vector3
getPostRotation() → Vector3Retorna els angles pos-rotació com a vector3
setPostRotation(value: Vector3)
getGeometricTranslation() → Vector3Retorna el vector de traducció geomètrica.
setGeometricTranslation(value: Vector3)S’estableix la traducció geomètrica utilitzant x, y, z i torna aquest
setGeometricTranslation(x: double, y: double, z: double) → Transform
getGeometricScaling() → Vector3Retorna el vector de escala geometrica.
setGeometricScaling(value: Vector3)Ajusta escala geomètrica utilitzant un Vector3
setGeometricScaling(x: double, y: double, z: double) → Transform
getGeometricRotation() → Vector3Retorna el vector de rotació geomètrica.
setGeometricRotation(value: Vector3)Ajusta la rotació geomètrica utilitzant un Vector3
setGeometricRotation(x: double, y: double, z: double) → Transform
getScalingOffset() → Vector3Retorna el vector d’escala de compensació
setScalingOffset(value: Vector3)
getScalingPivot() → Vector3
setScalingPivot(value: Vector3)
getRotationOffset() → Vector3
setRotationOffset(value: Vector3)
getRotationPivot() → Vector3
setRotationPivot(value: Vector3)
getTransformMatrix() → Matrix4
setTransformMatrix(value: Matrix4)
 Català