OpenStructure
|
#include <transform.hh>
Public Member Functions | |
Transform () | |
geom::Mat4 | GetMatrix () const |
geom::Mat4 | GetTransposedMatrix () const |
void | SetCenter (const geom::Vec3 &c) |
geom::Vec3 | GetCenter () const |
geom::Vec3 | Apply (const geom::Vec3 &v) const |
geom::Vec4 | Apply (const geom::Vec4 &v) const |
rotation | |
void | ApplyXAxisRotation (float delta) |
void | ApplyYAxisRotation (float delta) |
void | ApplyZAxisRotation (float delta) |
void | ApplyAxisRotation (float delta, const geom::Vec3 &axis) |
geom::Mat3 | GetXAxisRotation (float delta) |
geom::Mat3 | GetYAxisRotation (float delta) |
geom::Mat3 | GetZAxisRotation (float delta) |
geom::Mat3 | GetRot () const |
void | SetRot (const geom::Mat3 &r) |
void | ApplyXAxisTranslation (float delta) |
void | ApplyYAxisTranslation (float delta) |
void | ApplyZAxisTranslation (float delta) |
void | SetTrans (const geom::Vec3 &t) |
geom::Vec3 | GetTrans () const |
Related Functions | |
(Note that these are not member functions.) | |
Transform DLLEXPORT_OST_MOL | TransformFromInfo (const info::InfoGroup &group) |
void DLLEXPORT_OST_MOL | TransformToInfo (const Transform &transform, info::InfoGroup &group) |
basic and essential transformation class, including translation, rotation and center of rotation
Definition at line 34 of file transform.hh.
Transform | ( | ) |
geom::Vec3 Apply | ( | const geom::Vec3 & | v | ) | const |
geom::Vec4 Apply | ( | const geom::Vec4 & | v | ) | const |
void ApplyAxisRotation | ( | float | delta, |
const geom::Vec3 & | axis | ||
) |
void ApplyXAxisRotation | ( | float | delta | ) |
rotate around x-axis
void ApplyXAxisTranslation | ( | float | delta | ) |
translation
void ApplyYAxisRotation | ( | float | delta | ) |
void ApplyYAxisTranslation | ( | float | delta | ) |
void ApplyZAxisRotation | ( | float | delta | ) |
void ApplyZAxisTranslation | ( | float | delta | ) |
geom::Vec3 GetCenter | ( | ) | const |
geom::Mat4 GetMatrix | ( | ) | const |
geom::Mat3 GetRot | ( | ) | const |
geom::Vec3 GetTrans | ( | ) | const |
geom::Mat4 GetTransposedMatrix | ( | ) | const |
geom::Mat3 GetXAxisRotation | ( | float | delta | ) |
geom::Mat3 GetYAxisRotation | ( | float | delta | ) |
geom::Mat3 GetZAxisRotation | ( | float | delta | ) |
void SetCenter | ( | const geom::Vec3 & | c | ) |
void SetRot | ( | const geom::Mat3 & | r | ) |
void SetTrans | ( | const geom::Vec3 & | t | ) |
|
related |
read transformation from info group
|
related |
store transformation in info group