Classes | |
| class | Callback |
Public Types | |
| typedef std::map< unsigned int, osg::ref_ptr< Callback > > | FrameCallback |
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 (int nb) |
| virtual unsigned int | getLoop () const |
| bool | evaluateFrame (unsigned int frame, unsigned int &resultframe, unsigned int &nbloop) |
| virtual void | traverse (ActionVisitor &visitor) |
Protected Types | |
| enum | Status { Play, Stop } |
Protected Attributes | |
| FrameCallback | _framesCallback |
| double | _speed |
| unsigned int | _fps |
| unsigned int | _numberFrame |
| unsigned int | _loop |
| Status | _state |
| typedef std::map<unsigned int, osg::ref_ptr<Callback> > osgAnimation::Action::FrameCallback |
enum osgAnimation::Action::Status [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 | |||
| ) |
| Callback* osgAnimation::Action::getCallback | ( | unsigned int | frame | ) | [inline] |
| double osgAnimation::Action::getDuration | ( | ) | const [inline] |
| Callback* osgAnimation::Action::getFrameCallback | ( | double | time | ) |
| Callback* osgAnimation::Action::getFrameCallback | ( | unsigned int | frame | ) |
| unsigned int osgAnimation::Action::getFramesPerSecond | ( | ) | const [inline] |
| virtual unsigned int osgAnimation::Action::getLoop | ( | ) | const [inline, virtual] |
Reimplemented in osgAnimation::ActionStripAnimation.
| unsigned int osgAnimation::Action::getNumFrames | ( | ) | const [inline] |
| osgAnimation::Action::META_Action | ( | osgAnimation | , | |
| Action | ||||
| ) |
| void osgAnimation::Action::removeCallback | ( | Callback * | ) |
| void osgAnimation::Action::setCallback | ( | unsigned int | frame, | |
| Callback * | callback | |||
| ) | [inline] |
| void osgAnimation::Action::setCallback | ( | double | when, | |
| Callback * | callback | |||
| ) | [inline] |
| void osgAnimation::Action::setDuration | ( | double | duration | ) | [inline] |
| virtual void osgAnimation::Action::setLoop | ( | int | nb | ) | [inline, virtual] |
| void osgAnimation::Action::setNumFrames | ( | unsigned int | numFrames | ) | [inline] |
| virtual void osgAnimation::Action::traverse | ( | ActionVisitor & | visitor | ) | [inline, virtual] |
Reimplemented in osgAnimation::ActionStripAnimation, and osgAnimation::Timeline.
unsigned int osgAnimation::Action::_fps [protected] |
FrameCallback osgAnimation::Action::_framesCallback [protected] |
unsigned int osgAnimation::Action::_loop [protected] |
unsigned int osgAnimation::Action::_numberFrame [protected] |
double osgAnimation::Action::_speed [protected] |
Reimplemented in osgAnimation::Timeline.
Status osgAnimation::Action::_state [protected] |
Reimplemented in osgAnimation::Timeline.
| Generated at Sat May 14 08:21:15 2011 for the OpenSceneGraph by doxygen 1.5.9. |