List of all members.
Classes |
struct | Command |
Public Types |
enum | TimelineStatus { Play,
Stop
} |
typedef std::vector< FrameAction > | ActionList |
typedef std::map< int, ActionList > | ActionLayers |
Public Member Functions |
| Timeline () |
| Timeline (const Timeline &nc, const osg::CopyOp &op=osg::CopyOp::SHALLOW_COPY) |
| META_Action (osgAnimation, Timeline) |
TimelineStatus | getStatus () const |
const ActionList & | getActionLayer (int i) |
unsigned int | getCurrentFrame () const |
double | getCurrentTime () const |
void | play () |
void | gotoFrame (unsigned int frame) |
void | stop () |
bool | getEvaluating () const |
bool | isActive (Action *activeAction) |
void | removeAction (Action *action) |
virtual void | addActionAt (unsigned int frame, Action *action, int priority=0) |
virtual void | addActionAt (double t, Action *action, int priority=0) |
void | addActionNow (Action *action, int priority=0) |
void | clearActions () |
virtual void | update (double simulationTime) |
void | setLastFrameEvaluated (unsigned int frame) |
void | setEvaluating (bool state) |
void | traverse (ActionVisitor &visitor) |
void | setStats (osg::Stats *stats) |
osg::Stats * | getStats () |
void | collectStats (bool state) |
osgAnimation::StatsActionVisitor * | getStatsVisitor () |
const ActionLayers & | getActionLayers () const |
void | processPendingOperation () |
void | setAnimationManager (AnimationManagerBase *) |
Protected Types |
typedef std::vector< Command > | CommandList |
Protected Member Functions |
void | internalRemoveAction (Action *action) |
void | internalAddAction (int priority, const FrameAction &ftl) |
Protected Attributes |
osg::observer_ptr
< AnimationManagerBase > | _animationManager |
ActionLayers | _actions |
double | _lastUpdate |
double | _speed |
unsigned int | _currentFrame |
unsigned int | _previousFrameEvaluated |
bool | _initFirstFrame |
TimelineStatus | _state |
bool | _collectStats |
osg::ref_ptr< osg::Stats > | _stats |
osg::ref_ptr
< osgAnimation::StatsActionVisitor > | _statsVisitor |
bool | _evaluating |
CommandList | _addActionOperations |
ActionList | _removeActionOperations |
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
osgAnimation::Timeline::Timeline |
( |
| ) |
|
osgAnimation::Timeline::Timeline |
( |
const Timeline & |
nc, |
|
|
const osg::CopyOp & |
op = osg::CopyOp::SHALLOW_COPY |
|
) |
| |
Member Function Documentation
virtual void osgAnimation::Timeline::addActionAt |
( |
unsigned int |
frame, |
|
|
Action * |
action, |
|
|
int |
priority = 0 |
|
) |
| [virtual] |
virtual void osgAnimation::Timeline::addActionAt |
( |
double |
t, |
|
|
Action * |
action, |
|
|
int |
priority = 0 |
|
) |
| [virtual] |
void osgAnimation::Timeline::addActionNow |
( |
Action * |
action, |
|
|
int |
priority = 0 |
|
) |
| |
void osgAnimation::Timeline::clearActions |
( |
| ) |
|
void osgAnimation::Timeline::collectStats |
( |
bool |
state | ) |
|
const ActionList& osgAnimation::Timeline::getActionLayer |
( |
int |
i | ) |
[inline] |
const ActionLayers& osgAnimation::Timeline::getActionLayers |
( |
| ) |
const [inline] |
unsigned int osgAnimation::Timeline::getCurrentFrame |
( |
| ) |
const [inline] |
double osgAnimation::Timeline::getCurrentTime |
( |
| ) |
const [inline] |
bool osgAnimation::Timeline::getEvaluating |
( |
| ) |
const [inline] |
void osgAnimation::Timeline::gotoFrame |
( |
unsigned int |
frame | ) |
[inline] |
void osgAnimation::Timeline::internalAddAction |
( |
int |
priority, |
|
|
const FrameAction & |
ftl |
|
) |
| [protected] |
void osgAnimation::Timeline::internalRemoveAction |
( |
Action * |
action | ) |
[protected] |
bool osgAnimation::Timeline::isActive |
( |
Action * |
activeAction | ) |
|
osgAnimation::Timeline::META_Action |
( |
osgAnimation |
, |
|
|
Timeline |
|
|
) |
| |
void osgAnimation::Timeline::play |
( |
| ) |
[inline] |
void osgAnimation::Timeline::processPendingOperation |
( |
| ) |
|
void osgAnimation::Timeline::removeAction |
( |
Action * |
action | ) |
|
void osgAnimation::Timeline::setEvaluating |
( |
bool |
state | ) |
[inline] |
void osgAnimation::Timeline::setLastFrameEvaluated |
( |
unsigned int |
frame | ) |
[inline] |
void osgAnimation::Timeline::setStats |
( |
osg::Stats * |
stats | ) |
|
void osgAnimation::Timeline::stop |
( |
| ) |
[inline] |
void osgAnimation::Timeline::traverse |
( |
ActionVisitor & |
visitor | ) |
[virtual] |
virtual void osgAnimation::Timeline::update |
( |
double |
simulationTime | ) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: