openscenegraph
|
#include <Target>
Public Member Functions | |
TemplateTarget () | |
TemplateTarget (const T &v) | |
TemplateTarget (const TemplateTarget &v) | |
void | lerp (float t, const T &a, const T &b) |
void | update (float weight, const T &val, int priority) |
const T & | getValue () const |
void | setValue (const T &value) |
void | lerp (float t, const osg::Quat &a, const osg::Quat &b) |
![]() | |
Target () | |
virtual | ~Target () |
void | reset () |
int | getCount () const |
float | getWeight () const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool) |
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 | |
T | _target |
![]() | |
float | _weight |
float | _priorityWeight |
int | _lastPriority |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
The priority is used to detect a change of priority It's important to update animation target in priority order. eg: all animation with priority 1 all animation with priority 0 all animation with priority -1 ...
|
protected |