openscenegraph
|
Classes | |
class | Callback |
Public Types | |
typedef std::map< unsigned int, osg::ref_ptr< Callback > > | FrameCallback |
![]() | |
enum | DataVariance { DYNAMIC, STATIC, UNSPECIFIED } |
Public Member Functions | |
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 &visitor) |
![]() | |
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 |
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 |
![]() | |
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 Types | |
enum | Status { Play, Stop } |
Protected Attributes | |
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 | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
virtual | ~Object () |
typedef std::map<unsigned int, osg::ref_ptr<Callback> > osgAnimation::Action::FrameCallback |
|
protected |
osgAnimation::Action::Action | ( | ) |
osgAnimation::Action::Action | ( | const Action & | , |
const osg::CopyOp & | |||
) |
bool osgAnimation::Action::evaluateFrame | ( | unsigned int | frame, |
unsigned int & | resultframe, | ||
unsigned int & | nbloop | ||
) |
|
inline |
|
inline |
Callback* osgAnimation::Action::getFrameCallback | ( | unsigned int | frame | ) |
Callback* osgAnimation::Action::getFrameCallback | ( | double | time | ) |
|
inline |
|
inlinevirtual |
Reimplemented in osgAnimation::ActionStripAnimation.
|
inline |
osgAnimation::Action::META_Action | ( | osgAnimation | , |
Action | |||
) |
void osgAnimation::Action::removeCallback | ( | Callback * | ) |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in osgAnimation::ActionStripAnimation.
|
inline |
|
inlinevirtual |
Reimplemented in osgAnimation::Timeline, and osgAnimation::ActionStripAnimation.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |