|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CAnimationSet Class ReferenceAn CAnimationSet is set of CAnimation.
More...
#include <animation_set.h>
Inheritance diagram for NL3D::CAnimationSet:
List of all members.
Detailed Description
An CAnimationSet is set of CAnimation.
It manages global channel ID for a set of animations with many tracks. An Id is associed with each track name.
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 54 of file animation_set.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
NL3D::CAnimationSet::~CAnimationSet |
( |
|
) |
|
|
Member Function Documentation
uint NL3D::CAnimationSet::addAnimation |
( |
const char * |
name, |
|
|
CAnimation * |
animation |
|
) |
|
|
|
Add an animation to the set.
The pointer of the animation must be allocated with new. It is then handled by the animation set. -
Parameters:
-
name |
is the name of the animation. |
animation |
is the animation pointer. |
-
Returns:
-
the id of the new animation.
Definition at line 61 of file animation_set.cpp.
References _Animation, _AnimationIdByName, and _AnimationName.
Referenced by loadFromFiles. |
uint NL3D::CAnimationSet::addSkeletonWeight |
( |
const char * |
name, |
|
|
CSkeletonWeight * |
skeletonWeight |
|
) |
|
|
void NL3D::CAnimationSet::build |
( |
|
) |
|
|
CAnimation* NL3D::CAnimationSet::getAnimation |
( |
uint |
animationId |
) |
[inline] |
|
const CAnimation* NL3D::CAnimationSet::getAnimation |
( |
uint |
animationId |
) |
const [inline] |
|
uint NL3D::CAnimationSet::getAnimationIdByName |
( |
const std::string & |
name |
) |
const [inline] |
|
const std::string& NL3D::CAnimationSet::getAnimationName |
( |
uint |
animationId |
) |
const [inline] |
|
uint NL3D::CAnimationSet::getChannelIdByName |
( |
const std::string & |
name |
) |
const [inline] |
|
uint NL3D::CAnimationSet::getNumAnimation |
( |
|
) |
const [inline] |
|
uint NL3D::CAnimationSet::getNumChannelId |
( |
|
) |
const |
|
uint NL3D::CAnimationSet::getNumSkeletonWeight |
( |
|
) |
const [inline] |
|
const CSkeletonWeight* NL3D::CAnimationSet::getSkeletonWeight |
( |
uint |
skeletonId |
) |
const [inline] |
|
uint NL3D::CAnimationSet::getSkeletonWeightIdByName |
( |
const std::string & |
name |
) |
const [inline] |
|
const std::string& NL3D::CAnimationSet::getSkeletonWeightName |
( |
uint |
skeletonId |
) |
const [inline] |
|
bool NL3D::CAnimationSet::loadFromFiles |
( |
const std::string & |
path, |
|
|
bool |
recurse = true, |
|
|
const char * |
ext = "anim", |
|
|
bool |
wantWarningMessage = true |
|
) |
|
|
void NL3D::CAnimationSet::reset |
( |
|
) |
|
|
|
Serial the template.
Definition at line 134 of file animation_set.cpp.
References _Animation, _AnimationIdByName, _AnimationName, _ChannelIdByName, _SkeletonWeight, _SkeletonWeightIdByName, _SkeletonWeightName, NLMISC::IStream::serialCheck, NLMISC::IStream::serialCont, NLMISC::IStream::serialContPtr, and NLMISC::IStream::serialVersion. |
Member Data Documentation
std::vector<CAnimation*> NL3D::CAnimationSet::_Animation [private]
|
|
std::map<std::string, uint32> NL3D::CAnimationSet::_AnimationIdByName [private]
|
|
std::vector<std::string> NL3D::CAnimationSet::_AnimationName [private]
|
|
std::map<std::string, uint32> NL3D::CAnimationSet::_ChannelIdByName [private]
|
|
std::vector<CSkeletonWeight*> NL3D::CAnimationSet::_SkeletonWeight [private]
|
|
std::map<std::string, uint32> NL3D::CAnimationSet::_SkeletonWeightIdByName [private]
|
|
std::vector<std::string> NL3D::CAnimationSet::_SkeletonWeightName [private]
|
|
The documentation for this class was generated from the following files:
|
|