#include <kanzi/core/math/srt_value_3d.hpp>
Public Member Functions | |
SRTValue3DLongerPath (const SRTValue3D &value) | |
Public Member Functions inherited from kanzi::SRTValue3D | |
KZ_NO_DISCARD Quaternion | getRotation () const |
Returns the rotation as a quaternion. More... | |
KZ_NO_DISCARD Vector3 | getScale () const |
Returns the scale. More... | |
KZ_NO_DISCARD float | getScaleX () const |
Returns the scale along the x-axis. More... | |
KZ_NO_DISCARD float | getScaleY () const |
Returns the scale along the y-axis. More... | |
KZ_NO_DISCARD float | getScaleZ () const |
Returns the scale along the z-axis. More... | |
KZ_NO_DISCARD Vector3 | getTranslation () const |
Returns the translation. More... | |
KZ_NO_DISCARD float | getTranslationX () const |
Returns the translation along the x-axis. More... | |
KZ_NO_DISCARD float | getTranslationY () const |
Returns the translation along the y-axis. More... | |
KZ_NO_DISCARD float | getTranslationZ () const |
Returns the translation along the z-axis. More... | |
void | rotate (Quaternion rotation) |
Applies a rotation to the current rotation. More... | |
KZ_NO_DISCARD SRTValue3D | rotated (Quaternion rotation) const |
Rotates the SRT object. More... | |
void | scale (Vector3 factor) |
Multiplies the current scale with the provided scaling factor. More... | |
KZ_NO_DISCARD SRTValue3D | scaled (Vector3 scale) const |
Scales the SRT object. More... | |
void | setRotation (Quaternion value) |
Sets the rotation. More... | |
void | setRotation (Vector3 eulerAnglesInRadians) |
Sets the rotation. More... | |
void | setScale (Vector3 value) |
Sets the scale. More... | |
void | setScaleX (float value) |
Sets the scale along the x-axis. More... | |
void | setScaleY (float value) |
Sets the scale along the y-axis. More... | |
void | setScaleZ (float value) |
Sets the scale along the z-axis. More... | |
void | setTranslation (Vector3 value) |
Sets the translation. More... | |
void | setTranslationX (float value) |
Sets the translation along the x-axis. More... | |
void | setTranslationY (float value) |
Sets the translation along the y-axis. More... | |
void | setTranslationZ (float value) |
Sets the translation along the z-axis. More... | |
SRTValue3D () | |
Default constructor. More... | |
SRTValue3D (Vector3 scale, Vector3 eulerAnglesInRadians, Vector3 translation) | |
Constructor with the supplied scale, rotation angle, and translation. More... | |
SRTValue3D (Vector3 scale, Quaternion rotation, Vector3 translation) | |
Constructor with the supplied scale, rotation as a quaternion, and translation. More... | |
KZ_NO_DISCARD Matrix4x4 | toMatrix () const |
Converts the SRT representation to Matrix4x4 transform. More... | |
void | translate (Vector3 translation) |
Adds the provided translation to the current translation. More... | |
KZ_NO_DISCARD SRTValue3D | translated (Vector3 translation) const |
Translates the SRT object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from kanzi::SRTValue3D | |
static KZ_NO_DISCARD optional< SRTValue3D > | create (const Matrix4x4 &matrix) |
Attempts to create an SRT object from a given transformation 4x4 matrix. More... | |
static KZ_NO_DISCARD SRTValue3D | createScale (Vector3 scale) |
Creates a scale SRT. More... | |
static KZ_NO_DISCARD SRTValue3D | createTranslation (Vector3 translation) |
Creates a translation SRT. More... | |
static KZ_NO_DISCARD SRTValue3D | createUniformScale (float scale) |
Creates a uniform scale SRT. More... | |
|
inlineexplicit |