GlsAnimation Library  1.0.6
Provides classes and functions to support animating GL Studio objects programmatically or with script files
Public Member Functions | List of all members
disti::GlsAnimationReversalAdapter Class Reference

#include <gls_animation.h>

Inheritance diagram for disti::GlsAnimationReversalAdapter:
disti::GlsAnimation

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< GlsAnimationPtr
 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

disti::GlsAnimationReversalAdapter::GlsAnimationReversalAdapter ( const std::string &  name,
GlsAnimation animation 
)
inline

Constructor

Parameters
nameThe name of this animation
animationThe animation to reverse. The reverser object takes ownership of the animation.
Precondition
animation != 0
disti::GlsAnimationReversalAdapter::GlsAnimationReversalAdapter ( const std::string &  name,
const GlsAnimation::Ptr animation 
)
inline

Constructor

Parameters
nameThe name of this animation
animationThe animation to reverse.
Precondition
animation != 0

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