OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
osgAnimation::MathMotionTemplate< T > Struct Template Reference

#include <EaseMotion.h>

Inheritance diagram for osgAnimation::MathMotionTemplate< T >:
Inheritance graph
[legend]
Collaboration diagram for osgAnimation::MathMotionTemplate< T >:
Collaboration graph
[legend]

Public Member Functions

 MathMotionTemplate (float startValue=0, float duration=1, float changeValue=1, TimeBehaviour tb=CLAMP)
 
virtual void getValueInNormalizedRange (float t, value_type &result) const
 
- Public Member Functions inherited from osgAnimation::Motion
 Motion (float startValue=0, float duration=1, float changeValue=1, TimeBehaviour tb=CLAMP)
 
virtual ~Motion ()
 
void reset ()
 
float getTime () const
 
float evaluateTime (float time) const
 
void update (float dt)
 
void setTime (float time)
 
void getValue (value_type &result) const
 
value_type getValue () const
 
void getValueAt (float time, value_type &result) const
 
value_type getValueAt (float time) const
 
float getDuration () const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Additional Inherited Members

- Public Types inherited from osgAnimation::Motion
enum  TimeBehaviour { CLAMP, LOOP }
 
typedef float value_type
 
- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 
- Protected Attributes inherited from osgAnimation::Motion
float _time
 
float _startValue
 
float _changeValue
 
float _duration
 
TimeBehaviour _behaviour
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Detailed Description

template<typename T>
struct osgAnimation::MathMotionTemplate< T >

Definition at line 420 of file EaseMotion.h.

Constructor & Destructor Documentation

template<typename T >
osgAnimation::MathMotionTemplate< T >::MathMotionTemplate ( float  startValue = 0,
float  duration = 1,
float  changeValue = 1,
TimeBehaviour  tb = CLAMP 
)
inline

Definition at line 422 of file EaseMotion.h.

Member Function Documentation

template<typename T >
virtual void osgAnimation::MathMotionTemplate< T >::getValueInNormalizedRange ( float  t,
value_type result 
) const
inlinevirtual

Implements osgAnimation::Motion.

Definition at line 423 of file EaseMotion.h.


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