#include <FCDAnimation.h>
Inheritance diagram for FCDAnimation:
Public Member Functions | |
FCDAnimation (FCDocument *document, FCDAnimation *parent=NULL) | |
Constructor. | |
virtual | ~FCDAnimation () |
Destructor . | |
virtual Type | GetType () const |
Retrieves the entity class type. | |
FCDAnimation * | GetParent () |
Retrieves the parent of the animation structure. | |
const FCDAnimation * | GetParent () const |
See above. | |
virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Copies the animation tree into a clone. | |
virtual FCDEntity * | FindDaeId (const fm::string &daeId) |
Retrieves the entity with the given COLLADA id. | |
virtual const FCDEntity * | FindDaeId (const fm::string &daeId) const |
See above. | |
size_t | GetChildrenCount () const |
Retrieves the number of animation entity sub-trees contained by this animation entity tree. | |
FCDAnimation * | GetChild (size_t index) |
Retrieves an animation entity sub-tree contained by this animation entity tree. | |
const FCDAnimation * | GetChild (size_t index) const |
See above. | |
FCDAnimation * | AddChild () |
Creates a new animation entity sub-tree contained within this animation entity tree. | |
void | GetHierarchicalAssets (FCDAssetList &assets) |
Retrieves the asset information structures that affect this entity in its hierarchy. | |
virtual void | GetHierarchicalAssets (FCDAssetConstList &assets) const |
See above. | |
void | FindAnimationChannels (const fm::string &pointer, FCDAnimationChannelList &targetChannels) |
Retrieves the animation channels that target the given COLLADA target pointer. | |
size_t | GetChannelCount () const |
Retrieves the number of animation channels at this level within the animation tree. | |
FCDAnimationChannel * | GetChannel (size_t index) |
Retrieves an animation channel contained by this animation entity. | |
const FCDAnimationChannel * | GetChannel (size_t index) const |
See above. | |
void | GetChannels () const |
[INTERNAL] Retrieves the channels' list | |
FCDAnimationChannel * | AddChannel () |
Adds a new animation channel to this animation entity. | |
void | GetCurves (FCDAnimationCurveList &curves) |
Retrieves all the curves created in the subtree of this animation element. |
An animation entity contains a list of child animation entities, in order to form a tree of animation entities. It also hold a list of animation channels, which hold the information to generate animation curves.
In other words, the animation entity is a structural class used to group animation channels hierarchically.
|
Constructor. Do not use directly. Instead, use the FCDLibrary::AddEntity function or the AddChild function, depending on the hierarchical level of the animation entity.
|
|
Adds a new animation channel to this animation entity.
|
|
Creates a new animation entity sub-tree contained within this animation entity tree.
|
|
Copies the animation tree into a clone. The clone may reside in another document.
Reimplemented from FCDEntity. |
|
Retrieves the animation channels that target the given COLLADA target pointer.
|
|
Retrieves the entity with the given COLLADA id. This function will look through the local sub-tree of animations for the given COLLADA id.
Reimplemented from FCDEntity. |
|
Retrieves an animation channel contained by this animation entity.
|
|
Retrieves the number of animation channels at this level within the animation tree.
|
|
[INTERNAL] Retrieves the channels' list
|
|
Retrieves an animation entity sub-tree contained by this animation entity tree.
|
|
Retrieves the number of animation entity sub-trees contained by this animation entity tree.
|
|
Retrieves all the curves created in the subtree of this animation element.
|
|
Retrieves the asset information structures that affect this entity in its hierarchy.
Reimplemented from FCDEntity. |
|
Retrieves the parent of the animation structure.
|
|
Retrieves the entity class type. This function is a part of the FCDEntity interface.
Reimplemented from FCDEntity. |