OSG
3.4.0
|
blend out from weight to 0 in duration More...
#include <ActionBlendOut.h>
Public Member Functions | |
META_Action (osgAnimation, ActionBlendOut) | |
ActionBlendOut () | |
ActionBlendOut (const ActionBlendOut &a, const osg::CopyOp &c) | |
ActionBlendOut (Animation *animation, double duration) | |
Animation * | getAnimation () |
double | getWeight () const |
void | computeWeight (unsigned int frame) |
![]() | |
META_Action (osgAnimation, Action) | |
Action () | |
Action (const Action &, const osg::CopyOp &) | |
void | setCallback (double when, Callback *callback) |
void | setCallback (unsigned int frame, Callback *callback) |
Callback * | getCallback (unsigned int frame) |
void | removeCallback (Callback *) |
Callback * | getFrameCallback (unsigned int frame) |
Callback * | getFrameCallback (double time) |
unsigned int | getFramesPerSecond () const |
void | setNumFrames (unsigned int numFrames) |
void | setDuration (double duration) |
unsigned int | getNumFrames () const |
double | getDuration () const |
virtual void | setLoop (unsigned int nb) |
virtual unsigned int | getLoop () const |
bool | evaluateFrame (unsigned int frame, unsigned int &resultframe, unsigned int &nbloop) |
virtual void | traverse (ActionVisitor &) |
![]() | |
Object () | |
Object (bool threadSafeRefUnref) | |
Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
virtual Object * | cloneType () const =0 |
virtual Object * | clone (const CopyOp &) const =0 |
virtual bool | isSameKindAs (const Object *) const |
virtual const char * | libraryName () const =0 |
virtual const char * | className () const =0 |
std::string | getCompoundClassName () const |
virtual Node * | asNode () |
virtual const Node * | asNode () const |
virtual NodeVisitor * | asNodeVisitor () |
virtual const NodeVisitor * | asNodeVisitor () const |
virtual StateAttribute * | asStateAttribute () |
virtual const StateAttribute * | asStateAttribute () const |
virtual Uniform * | asUniform () |
virtual const Uniform * | asUniform () const |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
virtual void | setName (const std::string &name) |
void | setName (const char *name) |
const std::string & | getName () const |
void | setDataVariance (DataVariance dv) |
DataVariance | getDataVariance () const |
virtual void | computeDataVariance () |
void | setUserDataContainer (osg::UserDataContainer *udc) |
osg::UserDataContainer * | getUserDataContainer () |
const osg::UserDataContainer * | getUserDataContainer () const |
osg::UserDataContainer * | getOrCreateUserDataContainer () |
virtual void | setUserData (Referenced *obj) |
virtual Referenced * | getUserData () |
virtual const Referenced * | getUserData () const |
template<typename T > | |
bool | getUserValue (const std::string &name, T &value) const |
template<typename T > | |
void | setUserValue (const std::string &name, const T &value) |
virtual void | resizeGLObjectBuffers (unsigned int) |
virtual void | releaseGLObjects (osg::State *=0) const |
template<typename T > | |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject BoundingSpheredValueObject bool | getUserValue (const std::string &name, T &value) const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Protected Attributes | |
double | _weight |
osg::ref_ptr< Animation > | _animation |
![]() | |
FrameCallback | _framesCallback |
double | _speed |
unsigned int | _fps |
unsigned int | _numberFrame |
unsigned int | _loop |
Status | _state |
![]() | |
std::string | _name |
DataVariance | _dataVariance |
osg::UserDataContainer * | _userDataContainer |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
typedef std::map< unsigned int, osg::ref_ptr< Callback > > | FrameCallback |
![]() | |
enum | DataVariance { DYNAMIC, STATIC, UNSPECIFIED } |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
enum | Status { Play, Stop } |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
blend out from weight to 0 in duration
Definition at line 26 of file ActionBlendOut.h.
osgAnimation::ActionBlendOut::ActionBlendOut | ( | ) |
osgAnimation::ActionBlendOut::ActionBlendOut | ( | const ActionBlendOut & | a, |
const osg::CopyOp & | c | ||
) |
osgAnimation::ActionBlendOut::ActionBlendOut | ( | Animation * | animation, |
double | duration | ||
) |
void osgAnimation::ActionBlendOut::computeWeight | ( | unsigned int | frame | ) |
|
inline |
Definition at line 33 of file ActionBlendOut.h.
|
inline |
Definition at line 34 of file ActionBlendOut.h.
osgAnimation::ActionBlendOut::META_Action | ( | osgAnimation | , |
ActionBlendOut | |||
) |
|
protected |
Definition at line 39 of file ActionBlendOut.h.
|
protected |
Definition at line 38 of file ActionBlendOut.h.