Sequence is a Group node which allows automatic, time based switching between children
Inheritance:
Public Methods
-
Sequence()
-
Sequence(const Sequence&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
-
META_Node(osg, Sequence)
-
virtual void traverse(NodeVisitor& nv)
-
void setTime(int frame, float t)
- Set time in seconds for child
-
const float getTime(int frame) const
- Get time for child
-
void setInterval(LoopMode mode, int begin, int end)
- Set sequence mode & interval.
-
inline void getInterval(LoopMode& mode, int& begin, int& end) const
- Get sequence mode & interval.
-
void setDuration(float speed, int nreps = -1)
- Set duration: speed-up & number of repeats
-
inline void getDuration(float& speed, int& nreps) const
- Get duration
-
void setMode(SequenceMode mode)
- Set sequence mode.
-
inline SequenceMode getMode() const
- Get sequence mode.
Public Members
-
enum LoopMode
- Interval modes
-
enum SequenceMode
- Sequence modes
Protected Fields
-
float _last
-
std::vector<float> _frameTime
-
int _step
-
LoopMode _loopMode
-
int _begin
-
int _end
-
float _speed
-
int _nreps
-
int _nrepsremain
-
SequenceMode _mode
Protected Methods
-
virtual ~Sequence()
Inherited from Switch:
Public Methods
-
inline void setValue(const int value)
-
inline const int getValue() const
Public Members
-
enum SwitchType
Protected Fields
-
int _value
Inherited from Group:
Public Methods
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline const unsigned int getNumChildren() const
-
inline Node* getChild( const unsigned int i )
-
inline const Node* getChild( const unsigned int i ) const
-
inline bool containsNode( const Node* node ) const
-
inline ChildList::iterator findNode( const Node* node )
-
inline ChildList::const_iterator findNode( const Node* node ) const
Protected Fields
-
ChildList _children
Protected Methods
-
virtual const bool computeBound() const
Documentation
Sequence is a Group node which allows automatic, time based
switching between children
- Sequence()
- Sequence(const Sequence&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
- META_Node(osg, Sequence)
- virtual void traverse(NodeVisitor& nv)
- void setTime(int frame, float t)
- Set time in seconds for child
- const float getTime(int frame) const
- Get time for child
- enum LoopMode
- Interval modes
- LOOP
- SWING
- void setInterval(LoopMode mode, int begin, int end)
- Set sequence mode & interval.
- inline void getInterval(LoopMode& mode, int& begin, int& end) const
- Get sequence mode & interval.
- void setDuration(float speed, int nreps = -1)
- Set duration: speed-up & number of repeats
- inline void getDuration(float& speed, int& nreps) const
- Get duration
- enum SequenceMode
- Sequence modes
- START
- STOP
- PAUSE
- RESUME
- void setMode(SequenceMode mode)
- Set sequence mode. Start/stop & pause/resume.
- inline SequenceMode getMode() const
- Get sequence mode.
- virtual ~Sequence()
- float _last
- std::vector<float> _frameTime
- int _step
- LoopMode _loopMode
- int _begin
- int _end
- float _speed
- int _nreps
- int _nrepsremain
- SequenceMode _mode
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.