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 |