GlsAnimation Library
1.0.5
Provides classes and functions to support animating GL Studio objects programmatically or with script files
|
#include <gls_animation.h>
Public Member Functions | |
GlsAnimationReversalAdapter (const std::string &name, GlsAnimation *animation) | |
GlsAnimationReversalAdapter (const std::string &name, const GlsAnimation::Ptr &animation) | |
bool | SetDisplayFrame (DisplayFrame *displayFrame) |
Override from GlsAnimation. | |
bool | IsReadyToAnimate () const |
Override from GlsAnimation. | |
Key | GetKey () const |
Override from GlsAnimation. | |
void | SetKey (const Key &key) |
Override from GlsAnimation. | |
Key | GetKeyRange () const |
Override from GlsAnimation. | |
KeyPair | GetMinMaxKeys () const |
Override from GlsAnimation. | |
void | Reset () |
Override from GlsAnimation. | |
virtual std::vector< std::string > | GetPropertyNames () const |
Override from GlsAnimation. | |
virtual void | RetargetPropertyNames (const std::vector< std::string > &propertyNames) |
Override from GlsAnimation. | |
virtual void | RetargetPropertyNames (const std::string &findStr, const std::string &replaceStr) |
Override from GlsAnimation. | |
GlsAnimation::Ptr | Clone () const |
Override from GlsAnimation. | |
Size | CountPropertyNames () const |
Override from GlsAnimation. | |
Public Member Functions inherited from disti::GlsAnimation | |
virtual | ~GlsAnimation () |
Destructor. | |
const std::string & | GetName () const |
Returns the given name of this animation sequence. | |
Additional Inherited Members | |
Public Types inherited from disti::GlsAnimation | |
typedef stdortr1::shared_ptr< GlsAnimation > | Ptr |
Alias for easier reading. | |
typedef GlsKeyframeCurveBase::Key | Key |
Alias for easier reading. | |
typedef GlsKeyframeCurveBase::KeyPair | KeyPair |
Alias for easier reading. | |
typedef GlsKeyframeCurveBase::Size | Size |
Alias for easier reading. | |
Protected Member Functions inherited from disti::GlsAnimation | |
GlsAnimation (const std::string &name) | |
Constructor - for base classes only. | |
Protected Attributes inherited from disti::GlsAnimation | |
DisplayFrame * | _displayFrame |
The display frame used for retargeting. | |
An adapter class to reverse a given animation. For example, if the held animation runs from 1 to 10, it converts SetKey(10) as SetKey(1) and so on.
|
inline |
Constructor
name | The name of this animation |
animation | The animation to reverse. The reverser object takes ownership of the animation. |
|
inline |
Constructor
name | The name of this animation |
animation | The animation to reverse. |