fast::Transform class

Data object for a 3D affine transform.

The 3D transform is stored as an Eigen Affine3f object (4x4 32 bit float matrix)

Base classes

class DataObject
Abstract data object class.

Constructors, destructors, conversion operators

~Transform()

Public functions

auto create(Affine3f transform) -> std::shared_ptr<Transform>
auto create(Matrix4f matrix) -> std::shared_ptr<Transform>
auto create(Vector3f translation, Vector3f scaling, float rotation, Vector3f rotationAxis) -> std::shared_ptr<Transform>
auto get() const -> Affine3f
void set(Affine3f transform)
auto getMatrix() const -> Matrix4f
void setMatrix(Matrix4f matrix)
void setTranslation(Vector3f translation)
auto getTranslation() const -> Vector3f
void addTranslation(Vector3f translation)
void setRotation(float angles, Vector3f axis)
void addRotation(float angles, Vector3f axis)
auto getRotation() const -> AngleAxisf
void setScaling(Vector3f scaling)
void addScaling(Vector3f scaling)
void free(ExecutionDevice::pointer device) virtual
void freeAll() virtual