ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Skeleton manager to load and store skeletal information about an actor. More...

#include <skeleton.h>

Collaboration diagram for Stark::Skeleton:

List of all members.

Public Member Functions

 Skeleton ()
 ~Skeleton ()
void animate (uint32 time)
 Increment the skeleton timestamp, and apply bone animations if required.
void setAnim (SkeletonAnim *anim)
 Start reading animation data from the specified stream.
void readFromStream (ArchiveReadStream *stream)
 Create skeleton object from the specified stream.
const Common::Array< BoneNode * > getBones ()
 Obtain the list of bones.

Private Member Functions

void setNode (uint32 time, BoneNode *bone, const BoneNode *parent)

Private Attributes

Common::Array< BoneNode * > _bones
SkeletonAnim_anim
uint32 _lastTime

Detailed Description

Skeleton manager to load and store skeletal information about an actor.

Definition at line 63 of file stark/model/skeleton.h.


Constructor & Destructor Documentation

Stark::Skeleton::Skeleton (  ) 

Definition at line 30 of file stark/model/skeleton.cpp.

Stark::Skeleton::~Skeleton (  ) 

Definition at line 36 of file stark/model/skeleton.cpp.


Member Function Documentation

void Stark::Skeleton::animate ( uint32  time  ) 

Increment the skeleton timestamp, and apply bone animations if required.

Definition at line 87 of file stark/model/skeleton.cpp.

const Common::Array< BoneNode * > Stark::Skeleton::getBones (  ) 

Obtain the list of bones.

Definition at line 41 of file stark/model/skeleton.cpp.

void Stark::Skeleton::readFromStream ( ArchiveReadStream stream  ) 

Create skeleton object from the specified stream.

Definition at line 45 of file stark/model/skeleton.cpp.

void Stark::Skeleton::setAnim ( SkeletonAnim anim  ) 

Start reading animation data from the specified stream.

Definition at line 68 of file stark/model/skeleton.cpp.

void Stark::Skeleton::setNode ( uint32  time,
BoneNode bone,
const BoneNode parent 
) [private]

Definition at line 72 of file stark/model/skeleton.cpp.


Member Data Documentation

Definition at line 92 of file stark/model/skeleton.h.

Definition at line 91 of file stark/model/skeleton.h.

Definition at line 94 of file stark/model/skeleton.h.


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


Generated on Sat Apr 9 2016 05:01:32 for ResidualVM by doxygen 1.7.1
curved edge   curved edge