class tsTimeElement : public SoReplacedElement

Element storing time information for synchronizing all feedback nodes

Inheritance:


Public Methods

virtual SoElement* copyMatchInfo()
Inventor internal: Create and return a copy of this element
static float getDefault()
Returns the default 3-D or 4-D coordinate
static const tsTimeElement* getInstance(SoState *state)
Returns the top (current) instance of the element in the state
static SoNode* getNode(SoState *state)
Returns the node reference to the 'tsTime' node stored in the current (and therefore valid) element in the stack
static float getSpeed(SoState *state)
Returns the 'speed' stored in the current (and therefore valid) element in the stack. Inline for speed.
static const SbTime getTime(SoState *state)
Returns the 'time' stored in the current (and therefore valid) element in the stack. Inline for speed.
static float getUST(SoState *state)
Returns the 'UST' (Unified System Time) stored in the current (and therefore valid) element in the stack. Inline for speed.
virtual void init(SoState *state)
Initializes element
SoINTERNAL static void initClass()
Makes this class known to the OpenInventor type system.
virtual SbBool matches(const SoElement *elt)
Inventor internal: Returns TRUE if the element matches another element, based on node-id
virtual void pop(SoState *state, const SoElement *prevTopElement)
Inventor internal: Pushes/pops element
virtual void push(SoState *state)
Inventor internal pushes/pops element
static void set(SoState *state, SbTime now, float speed, stamp_t ust, SoNode *node)
Sets the data the element to be stored and propagated.
virtual ~tsTimeElement()

Private Fields

SoNode* node
Internal variables to remember the node reference to propagate.
float speed
Internal variables to remember the 'speed' to propagate.
SbTime time
Internal variables to remember the 'time' to propagate.
stamp_t UST
Internal variables to remember the 'UST' to propagate.

Private Methods

virtual void setElt( SbTime time, float speed, stamp_t ust, SoNode *node)
non static set() method.
SO_ELEMENT_HEADER(tsTimeElement)
Inventor macro.

Documentation

Element storing time information for synchronizing all feedback nodes.

SO_ELEMENT_HEADER(tsTimeElement)
Inventor macro.

virtual void init(SoState *state)
Initializes element

static void set(SoState *state, SbTime now, float speed, stamp_t ust, SoNode *node)
Sets the data the element to be stored and propagated.

static const tsTimeElement* getInstance(SoState *state)
Returns the top (current) instance of the element in the state

static const SbTime getTime(SoState *state)
Returns the 'time' stored in the current (and therefore valid) element in the stack. Inline for speed.

static float getSpeed(SoState *state)
Returns the 'speed' stored in the current (and therefore valid) element in the stack. Inline for speed.

static float getUST(SoState *state)
Returns the 'UST' (Unified System Time) stored in the current (and therefore valid) element in the stack. Inline for speed.

static SoNode* getNode(SoState *state)
Returns the node reference to the 'tsTime' node stored in the current (and therefore valid) element in the stack. Inline for speed. This reference is used by the 'tsTimeCtrlUI' class to build a GUI for that tsTime node.

virtual SbBool matches(const SoElement *elt)
Inventor internal: Returns TRUE if the element matches another element, based on node-id

virtual SoElement* copyMatchInfo()
Inventor internal: Create and return a copy of this element. The only operation supported by the copy is matches() (the copy will be unitialized except for the nodeId).

virtual void push(SoState *state)
Inventor internal pushes/pops element. Allows for side effects to occur. Default methods do nothing.

virtual void pop(SoState *state, const SoElement *prevTopElement)
Inventor internal: Pushes/pops element. Allows for side effects to occur. Default methods do nothing.

static float getDefault()
Returns the default 3-D or 4-D coordinate

SoINTERNAL static void initClass()
Makes this class known to the OpenInventor type system.

virtual ~tsTimeElement()

virtual void setElt( SbTime time, float speed, stamp_t ust, SoNode *node)
non static set() method.

SbTime time
Internal variables to remember the 'time' to propagate.

float speed
Internal variables to remember the 'speed' to propagate.

stamp_t UST
Internal variables to remember the 'UST' to propagate.

SoNode* node
Internal variables to remember the node reference to propagate.


This class has no child classes.
Author:
Andreas Lücke
Version:
0.0
See Also:
tsTime

alphabetic index hierarchy of classes


This page is part of the tsKit's reference manual by Andreas Lücke.
Back to tsKit-Home

generated by doc++