Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Animation::Cage Class Reference

#include <Core/Animation/Cage.hpp>

+ Inheritance diagram for Ra::Core::Animation::Cage:
+ Collaboration diagram for Ra::Core::Animation::Cage:

Public Member Functions

 Cage (const uint n)
 
 Cage (const Cage &cage)
 
 ~Cage ()
 DESTRUCTOR.
 
void clear () override
 
- Public Member Functions inherited from Ra::Core::Animation::HandleArray
 HandleArray (const uint n)
 
 HandleArray (const HandleArray &handle)=default
 
HandleArrayoperator= (const HandleArray &handle)=default
 
virtual uint size () const
 
virtual const PosegetPose (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

VectorArray< Ra::Core::Vector3ui > m_triangle
 
- Public Attributes inherited from Ra::Core::Animation::HandleArray
LocalPose m_pose
 

Additional Inherited Members

- Public Types inherited from Ra::Core::Animation::HandleArray
enum class  SpaceType : bool { LOCAL , MODEL }
 
- Protected Attributes inherited from Ra::Core::Animation::HandleArray
Label m_name
 
std::vector< Labelm_label
 

Detailed Description

The Cage handle class.

The Cage handle is a variation of a triangular mesh. Instead of a list of vertices, it owns a list of transforms.

Warning
This class is probably unused

Definition at line 19 of file Cage.hpp.

Constructor & Destructor Documentation

◆ Cage() [1/3]

Ra::Core::Animation::Cage::Cage ( )

Definition at line 7 of file Cage.cpp.

◆ Cage() [2/3]

Ra::Core::Animation::Cage::Cage ( const uint n)
explicit

Definition at line 8 of file Cage.cpp.

◆ Cage() [3/3]

Ra::Core::Animation::Cage::Cage ( const Cage & cage)

Definition at line 9 of file Cage.cpp.

◆ ~Cage()

Ra::Core::Animation::Cage::~Cage ( )

DESTRUCTOR.

Definition at line 11 of file Cage.cpp.

Member Function Documentation

◆ clear()

void Ra::Core::Animation::Cage::clear ( )
overridevirtual

Clear the transformations data

Reimplemented from Ra::Core::Animation::HandleArray.

Definition at line 13 of file Cage.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_triangle

VectorArray<Ra::Core::Vector3ui> Ra::Core::Animation::Cage::m_triangle

The list of triangles in the cage.

Definition at line 34 of file Cage.hpp.


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