Radium Engine
1.5.20
|
#include <Core/Animation/HandleArray.hpp>
Public Types | |
enum class | SpaceType : bool { LOCAL , MODEL } |
Public Member Functions | |
HandleArray (const uint n) | |
HandleArray (const HandleArray &handle)=default | |
HandleArray & | operator= (const HandleArray &handle)=default |
virtual uint | size () const |
virtual void | clear () |
virtual const Pose & | getPose (const SpaceType MODE) const |
virtual void | setPose (const Pose &pose, const SpaceType MODE) |
virtual const Transform & | getTransform (const uint i, const SpaceType MODE) const |
virtual void | setTransform (const uint i, const Transform &T, const SpaceType MODE) |
Label | getName () const |
void | setName (const Label &name) |
Label | getLabel (const uint i) const |
void | setLabel (const uint i, const Label &text) |
Public Attributes | |
LocalPose | m_pose |
Protected Attributes | |
Label | m_name |
std::vector< Label > | m_label |
The HandleArray class describes the base handle structure used for deformation.
Definition at line 19 of file HandleArray.hpp.
|
strong |
The SpaceType specifies the space the transform lives in.
Definition at line 25 of file HandleArray.hpp.
Ra::Core::Animation::HandleArray::HandleArray | ( | ) |
Definition at line 7 of file HandleArray.cpp.
|
explicit |
Definition at line 9 of file HandleArray.cpp.
|
virtual |
Definition at line 12 of file HandleArray.cpp.
|
virtual |
Clear the transformations data
Reimplemented in Ra::Core::Animation::Cage, and Ra::Core::Animation::Skeleton.
Definition at line 14 of file HandleArray.cpp.
|
inline |
i-th
transform. Definition at line 104 of file HandleArray.hpp.
|
inline |
Definition at line 70 of file HandleArray.hpp.
MODE
space. Reimplemented in Ra::Core::Animation::Skeleton.
Definition at line 18 of file HandleArray.cpp.
|
virtual |
i-th
transformation in MODE
space. Reimplemented in Ra::Core::Animation::Skeleton.
Definition at line 26 of file HandleArray.cpp.
|
inline |
Set the name of the i-th
transform.
Definition at line 109 of file HandleArray.hpp.
|
inline |
Set the Handle's name
Definition at line 75 of file HandleArray.hpp.
Set the current pose.
pose | the new pose |
MODE | the space the psoe lives in |
Reimplemented in Ra::Core::Animation::Skeleton.
Definition at line 22 of file HandleArray.cpp.
|
virtual |
Set the i-th transform to T
, which is given in the MODE space.
Reimplemented in Ra::Core::Animation::Skeleton.
Definition at line 31 of file HandleArray.cpp.
|
inlinevirtual |
Reimplemented in Ra::Core::Animation::Skeleton.
Definition at line 38 of file HandleArray.hpp.
|
protected |
The names of the transforms.
Definition at line 101 of file HandleArray.hpp.
|
protected |
The Handle's name
Definition at line 96 of file HandleArray.hpp.
LocalPose Ra::Core::Animation::HandleArray::m_pose |
The current pose of the Handle
Definition at line 90 of file HandleArray.hpp.