kanzi::SRTValue3D Class Reference

Structure describing scale, rotation and translation transformation in 3D space. More...

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

Inheritance diagram for kanzi::SRTValue3D:
kanzi::SRTValue3DLongerPath

Public Member Functions

 SRTValue3D ()
 
 SRTValue3D (Vector3 scale, Vector3 rotationAnglesInRadians, Vector3 translation)
 
 SRTValue3D (Vector3 scale, KzcQuaternion rotation, Vector3 translation)
 
Vector3 getScale () const
 
void setScale (Vector3 value)
 
float getScaleX () const
 
void setScaleX (float value)
 
float getScaleY () const
 
void setScaleY (float value)
 
float getScaleZ () const
 
void setScaleZ (float value)
 
void scale (Vector3 factor)
 
KzcQuaternion getRotation () const
 
void setRotation (KzcQuaternion value)
 
void setRotation (Vector3 rotationAnglesInRadians)
 
Vector3 getTranslation () const
 
void setTranslation (Vector3 value)
 
float getTranslationX () const
 
void setTranslationX (float value)
 
float getTranslationY () const
 
void setTranslationY (float value)
 
float getTranslationZ () const
 
void setTranslationZ (float value)
 
void rotate (KzcQuaternion rotation)
 
Matrix4x4 toMatrix () const
 

Static Public Member Functions

static optional< SRTValue3Dcreate (const Matrix4x4 &matrix)
 
static SRTValue3D createScale (Vector3 scale)
 
static SRTValue3D createUniformScale (float scale)
 
static SRTValue3D createTranslation (Vector3 translation)
 

Friends

bool operator== (const SRTValue3D &left, const SRTValue3D &right)
 
bool operator!= (const SRTValue3D &left, const SRTValue3D &right)
 

Detailed Description

Structure describing scale, rotation and translation transformation in 3D space.

Constructor & Destructor Documentation

kanzi::SRTValue3D::SRTValue3D ( )
inlineexplicit
kanzi::SRTValue3D::SRTValue3D ( Vector3  scale,
Vector3  rotationAnglesInRadians,
Vector3  translation 
)
inlineexplicit
kanzi::SRTValue3D::SRTValue3D ( Vector3  scale,
KzcQuaternion  rotation,
Vector3  translation 
)
inlineexplicit

Member Function Documentation

Vector3 kanzi::SRTValue3D::getScale ( ) const
inline
void kanzi::SRTValue3D::setScale ( Vector3  value)
inline
float kanzi::SRTValue3D::getScaleX ( ) const
inline
void kanzi::SRTValue3D::setScaleX ( float  value)
inline
float kanzi::SRTValue3D::getScaleY ( ) const
inline
void kanzi::SRTValue3D::setScaleY ( float  value)
inline
float kanzi::SRTValue3D::getScaleZ ( ) const
inline
void kanzi::SRTValue3D::setScaleZ ( float  value)
inline
void kanzi::SRTValue3D::scale ( Vector3  factor)
inline
KzcQuaternion kanzi::SRTValue3D::getRotation ( ) const
inline
void kanzi::SRTValue3D::setRotation ( KzcQuaternion  value)
inline
void kanzi::SRTValue3D::setRotation ( Vector3  rotationAnglesInRadians)
inline
Vector3 kanzi::SRTValue3D::getTranslation ( ) const
inline
void kanzi::SRTValue3D::setTranslation ( Vector3  value)
inline
float kanzi::SRTValue3D::getTranslationX ( ) const
inline
void kanzi::SRTValue3D::setTranslationX ( float  value)
inline
float kanzi::SRTValue3D::getTranslationY ( ) const
inline
void kanzi::SRTValue3D::setTranslationY ( float  value)
inline
float kanzi::SRTValue3D::getTranslationZ ( ) const
inline
void kanzi::SRTValue3D::setTranslationZ ( float  value)
inline
void kanzi::SRTValue3D::rotate ( KzcQuaternion  rotation)
Matrix4x4 kanzi::SRTValue3D::toMatrix ( ) const
static optional<SRTValue3D> kanzi::SRTValue3D::create ( const Matrix4x4 matrix)
static
static SRTValue3D kanzi::SRTValue3D::createScale ( Vector3  scale)
inlinestatic
static SRTValue3D kanzi::SRTValue3D::createUniformScale ( float  scale)
inlinestatic
static SRTValue3D kanzi::SRTValue3D::createTranslation ( Vector3  translation)
inlinestatic

Friends And Related Function Documentation

bool operator== ( const SRTValue3D left,
const SRTValue3D right 
)
friend
bool operator!= ( const SRTValue3D left,
const SRTValue3D right 
)
friend

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