class tsTimeCtrlUI : public SoNode

GUI node that represents a graphical userinterface for a node of class tsTime

Inheritance:


Public Fields

SoSFTime end
old stuff
SoSFTime start
old stuff

Public Methods

void backwards()
plays with remembered speed backwards.
static void initClass()
Makes this class known to the OpenInventor type system.
void play()
plays with remembered speed forwards.
void setSpeed(float sp)
Sets speed. Calls tsTime::setSpeed() of attached tsTimeNode.
void setTime(SbTime t)
Sets time. Calls tsTime::setTime() of attached tsTimeNode.
void stop()
stops playing (speed = 0.0), buit remembers speed.
tsTimeCtrlUI()
Constructor

Protected Fields

TsVkTimeCtrl* _vkTimeCtrl
The ViewKit Component we employ.

Protected Methods

void updateUI()
Updates the GUI content from the tsTime field in nodeToEdit.

Protected

Action behaviour:
virtual void GLRender(SoGLRenderAction *action)
Does GLrender begaviour, calls doAction()
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Calls doAction()
virtual void callback(SoCallbackAction *action)
Calls doAction()
Callbacks to update GUI's widgets
static void speedChangedCB(void *data, SoSensor *sensor)
static void pastChangedCB(void *data, SoSensor *sensor)
static void futureChangedCB(void *data, SoSensor *sensor)
static void complexityChangedCB(void *data, SoSensor *sensor)

Private Fields

tsTime* nodeToEdit
The node we edit.
float speedInternal
internal speed.

Private Methods

SO_NODE_HEADER(tsTimeCtrlUI)
virtual ~tsTimeCtrlUI()
Destructor

Documentation

GUI node that represents a graphical userinterface for a node of class tsTime. Builds a TsVkTimeCtrl component derived from VkVomponent and reports changes to the tsTime node.

SO_NODE_HEADER(tsTimeCtrlUI)

SoSFTime start
old stuff

SoSFTime end
old stuff

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

tsTimeCtrlUI()
Constructor

void setTime(SbTime t)
Sets time. Calls tsTime::setTime() of attached tsTimeNode.

void setSpeed(float sp)
Sets speed. Calls tsTime::setSpeed() of attached tsTimeNode.

void stop()
stops playing (speed = 0.0), buit remembers speed.

void play()
plays with remembered speed forwards.

void backwards()
plays with remembered speed backwards.

Callbacks to update GUI's widgets

static void speedChangedCB(void *data, SoSensor *sensor)

static void pastChangedCB(void *data, SoSensor *sensor)

static void futureChangedCB(void *data, SoSensor *sensor)

static void complexityChangedCB(void *data, SoSensor *sensor)

TsVkTimeCtrl* _vkTimeCtrl
The ViewKit Component we employ.

Action behaviour:

virtual void GLRender(SoGLRenderAction *action)
Does GLrender begaviour, calls doAction()

virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Calls doAction()

virtual void callback(SoCallbackAction *action)
Calls doAction()

void updateUI()
Updates the GUI content from the tsTime field in nodeToEdit.

virtual ~tsTimeCtrlUI()
Destructor

float speedInternal
internal speed.

tsTime* nodeToEdit
The node we edit.


This class has no child classes.
Author:
(c) 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++