Structure describing scale, rotation and translation transformation in 3D space. More...
#include <kanzi/core/math/srt_value_3d.hpp>
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< SRTValue3D > | create (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) |
Structure describing scale, rotation and translation transformation in 3D space.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void kanzi::SRTValue3D::rotate | ( | KzcQuaternion | rotation | ) |
Matrix4x4 kanzi::SRTValue3D::toMatrix | ( | ) | const |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
friend |
|
friend |