List of all members.
Classes |
struct | Command |
Public Member Functions |
| META_Object (osgAnimation, Timeline) |
| Timeline () |
| Timeline (const Timeline &nc, const osg::CopyOp &op=osg::CopyOp::SHALLOW_COPY) |
State | 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) |
virtual void | evaluate (unsigned int frame) |
virtual void | evaluateCallback (unsigned int frame) |
virtual void | update (double simulationTime) |
Protected Types |
enum | State { Play,
Stop
} |
typedef std::pair< unsigned
int, osg::ref_ptr< Action > > | FrameAction |
typedef std::vector< FrameAction > | ActionList |
typedef std::map< int, ActionList > | ActionLayers |
typedef std::vector< Command > | CommandList |
Protected Member Functions |
void | setEvaluating (bool state) |
void | processPendingOperation () |
void | internalRemoveAction (Action *action) |
void | internalAddAction (int priority, const FrameAction &ftl) |
Protected Attributes |
ActionLayers | _actions |
double | _lastUpdate |
double | _speed |
unsigned int | _currentFrame |
unsigned int | _fps |
unsigned int | _numberFrame |
unsigned int | _previousFrameEvaluated |
bool | _loop |
bool | _initFirstFrame |
State | _state |
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 | |
|
) |
| | [inline, virtual] |
virtual void osgAnimation::Timeline::addActionAt |
( |
double |
t, |
|
|
Action * |
action, |
|
|
int |
priority = 0 | |
|
) |
| | [inline, virtual] |
virtual void osgAnimation::Timeline::evaluate |
( |
unsigned int |
frame |
) |
[inline, virtual] |
virtual void osgAnimation::Timeline::evaluateCallback |
( |
unsigned int |
frame |
) |
[inline, virtual] |
const ActionList& osgAnimation::Timeline::getActionLayer |
( |
int |
i |
) |
[inline] |
unsigned int osgAnimation::Timeline::getCurrentFrame |
( |
|
) |
const [inline] |
double osgAnimation::Timeline::getCurrentTime |
( |
|
) |
const [inline] |
bool osgAnimation::Timeline::getEvaluating |
( |
|
) |
const [inline] |
State osgAnimation::Timeline::getStatus |
( |
|
) |
const [inline] |
void osgAnimation::Timeline::gotoFrame |
( |
unsigned int |
frame |
) |
[inline] |
void osgAnimation::Timeline::internalAddAction |
( |
int |
priority, |
|
|
const FrameAction & |
ftl | |
|
) |
| | [inline, protected] |
void osgAnimation::Timeline::internalRemoveAction |
( |
Action * |
action |
) |
[inline, protected] |
bool osgAnimation::Timeline::isActive |
( |
Action * |
activeAction |
) |
[inline] |
osgAnimation::Timeline::META_Object |
( |
osgAnimation |
, |
|
|
Timeline |
| |
|
) |
| | |
void osgAnimation::Timeline::play |
( |
|
) |
[inline] |
void osgAnimation::Timeline::processPendingOperation |
( |
|
) |
[inline, protected] |
void osgAnimation::Timeline::removeAction |
( |
Action * |
action |
) |
[inline] |
void osgAnimation::Timeline::setEvaluating |
( |
bool |
state |
) |
[inline, protected] |
void osgAnimation::Timeline::stop |
( |
|
) |
[inline] |
virtual void osgAnimation::Timeline::update |
( |
double |
simulationTime |
) |
[inline, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: