Inheritance diagram for osg::Sequence:

Public Types | |
| enum | LoopMode { LOOP, SWING } |
| enum | SequenceMode { START, STOP, PAUSE, RESUME } |
Public Member Functions | |
| Sequence () | |
| Sequence (const Sequence &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Node (osg, Sequence) | |
| virtual void | traverse (NodeVisitor &nv) |
| void | setValue (int value) |
| int | getValue () const |
| void | setTime (int frame, float t) |
| float | getTime (int frame) const |
| void | setInterval (LoopMode mode, int begin, int end) |
| void | getInterval (LoopMode &mode, int &begin, int &end) const |
| void | setDuration (float speed, int nreps=-1) |
| void | getDuration (float &speed, int &nreps) const |
| void | setMode (SequenceMode mode) |
| SequenceMode | getMode () const |
Protected Member Functions | |
| virtual | ~Sequence () |
Protected Attributes | |
| int | _value |
| float | _last |
| std::vector< float > | _frameTime |
| int | _step |
| LoopMode | _loopMode |
| int | _begin |
| int | _end |
| float | _speed |
| int | _nreps |
| int | _nrepsremain |
| SequenceMode | _mode |
|
|
Interval modes. 'Loop' repeats frames 1-N; 'swing' repeats 1->N, (N-1)->1. |
|
|
Sequence modes. |
|
|
|
|
||||||||||||
|
Copy constructor using CopyOp to manage deep vs shallow copy. |
|
|
|
|
||||||||||||
|
Get duration & number of repeats. |
|
||||||||||||||||
|
Get sequence mode & interval. |
|
|
Get sequence mode. |
|
|
Get time for child. |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Set duration: speed-up & number of repeats |
|
||||||||||||||||
|
Set sequence mode & interval (range of children to be displayed). |
|
|
Set sequence mode. Start/stop & pause/resume. |
|
||||||||||||
|
Set time in seconds for child. |
|
|
|
|
|
Traverse downwards : calls children's accept method with NodeVisitor. Reimplemented from osg::Group. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2