Kanzi 3.9.10
kanzi::SRTValue3DLongerPath Class Reference

#include <kanzi/core/math/srt_value_3d.hpp>

Inheritance diagram for kanzi::SRTValue3DLongerPath:
[legend]

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.
 
KZ_NO_DISCARD Vector3 getScale () const
 Returns the scale.
 
KZ_NO_DISCARD float getScaleX () const
 Returns the scale along the x-axis.
 
KZ_NO_DISCARD float getScaleY () const
 Returns the scale along the y-axis.
 
KZ_NO_DISCARD float getScaleZ () const
 Returns the scale along the z-axis.
 
KZ_NO_DISCARD Vector3 getTranslation () const
 Returns the translation.
 
KZ_NO_DISCARD float getTranslationX () const
 Returns the translation along the x-axis.
 
KZ_NO_DISCARD float getTranslationY () const
 Returns the translation along the y-axis.
 
KZ_NO_DISCARD float getTranslationZ () const
 Returns the translation along the z-axis.
 
void rotate (Quaternion rotation)
 Applies a rotation to the current rotation.
 
KZ_NO_DISCARD SRTValue3D rotated (Quaternion rotation) const
 Rotates the SRT object.
 
void scale (Vector3 factor)
 Multiplies the current scale with the provided scaling factor.
 
KZ_NO_DISCARD SRTValue3D scaled (Vector3 scale) const
 Scales the SRT object.
 
void setRotation (Quaternion value)
 Sets the rotation.
 
void setRotation (Vector3 eulerAnglesInRadians)
 Sets the rotation.
 
void setScale (Vector3 value)
 Sets the scale.
 
void setScaleX (float value)
 Sets the scale along the x-axis.
 
void setScaleY (float value)
 Sets the scale along the y-axis.
 
void setScaleZ (float value)
 Sets the scale along the z-axis.
 
void setTranslation (Vector3 value)
 Sets the translation.
 
void setTranslationX (float value)
 Sets the translation along the x-axis.
 
void setTranslationY (float value)
 Sets the translation along the y-axis.
 
void setTranslationZ (float value)
 Sets the translation along the z-axis.
 
 SRTValue3D ()
 Default constructor.
 
 SRTValue3D (Vector3 scale, Quaternion rotation, Vector3 translation)
 Constructor with the supplied scale, rotation as a quaternion, and translation.
 
 SRTValue3D (Vector3 scale, Vector3 eulerAnglesInRadians, Vector3 translation)
 Constructor with the supplied scale, rotation angle, and translation.
 
KZ_NO_DISCARD Matrix4x4 toMatrix () const
 Converts the SRT representation to Matrix4x4 transform.
 
void translate (Vector3 translation)
 Adds the provided translation to the current translation.
 
KZ_NO_DISCARD SRTValue3D translated (Vector3 translation) const
 Translates the SRT object.
 

Additional Inherited Members

- Static Public Member Functions inherited from kanzi::SRTValue3D
static KZ_NO_DISCARD optional< SRTValue3Dcreate (const Matrix4x4 &matrix)
 Attempts to create an SRT object from a given transformation 4x4 matrix.
 
static KZ_NO_DISCARD SRTValue3D createScale (Vector3 scale)
 Creates a scale SRT.
 
static KZ_NO_DISCARD SRTValue3D createTranslation (Vector3 translation)
 Creates a translation SRT.
 
static KZ_NO_DISCARD SRTValue3D createUniformScale (float scale)
 Creates a uniform scale SRT.
 

Constructor & Destructor Documentation

◆ SRTValue3DLongerPath()

kanzi::SRTValue3DLongerPath::SRTValue3DLongerPath ( const SRTValue3D & value)
inlineexplicit

The documentation for this class was generated from the following file: