Class to access services provided by IvTune
More...
#include <IvTune/IvTuneExtender/IvtServices.h>
Class to access services provided by IvTune
This class provides methods to get / set elements and execute core operations in IvTune.
Since Open Inventor 9.0
SEE ALSO
IvtShell
Definition at line 72 of file IvtServices.h.
◆ execute()
virtual void IvtServices::execute |
( |
IvtCommand * |
command | ) |
|
|
pure virtual |
Execute the given command.
- Parameters
-
command | the command to execute. |
◆ getInstance()
Returns an instance of this class.
◆ getSceneGraph()
virtual SoNode * IvtServices::getSceneGraph |
( |
| ) |
const |
|
pure virtual |
Returns the current scene graph.
◆ getSceneManager()
If IvTune is started from an SoSceneManager, return the scene manager otherwise null.
If IvTune is started from an SoXXRenderArea or a derived class, return the scene manager of the render area.
◆ getSelectedField()
virtual SoField * IvtServices::getSelectedField |
( |
| ) |
const |
|
pure virtual |
Returns the selected field in IvTune.
◆ getSelectedNode()
Returns the selected node in IvTune.
◆ isStandaloneApplication()
virtual SbBool IvtServices::isStandaloneApplication |
( |
| ) |
const |
|
pure virtual |
Returns true if IvTune was launched as a standalone application.
◆ redo()
virtual void IvtServices::redo |
( |
| ) |
|
|
pure virtual |
Redo the most recent command.
◆ sceneGraphChanged
void IvtServices::sceneGraphChanged |
( |
SoNode * |
sg | ) |
|
|
signal |
This signal is emitted whenever the scene graph changes.
- Parameters
-
◆ selectedFieldChanged
void IvtServices::selectedFieldChanged |
( |
SoField * |
field | ) |
|
|
signal |
This signal is emitted whenever the selected field changes.
- Parameters
-
field | the new selected field. |
◆ selectedNodeChanged
This signal is emitted whenever the selected node changes.
- Parameters
-
node | the new selected node. |
◆ setSceneGraph()
virtual void IvtServices::setSceneGraph |
( |
SoNode * |
sg | ) |
|
|
pure virtual |
Set the given scene graph.
- Parameters
-
sg | the scene graph to set. |
◆ setSelectedField()
virtual void IvtServices::setSelectedField |
( |
SoField * |
field | ) |
|
|
pure virtual |
Set the given field active in the field overview.
- Parameters
-
field | the field to set as active. |
◆ setSelectedNode()
Set the given node active in the node overview.
- Parameters
-
node | the field to set as active. |
◆ undo()
virtual void IvtServices::undo |
( |
| ) |
|
|
pure virtual |
Undo the most recent command.
The documentation for this class was generated from the following file: