IvtServices Class Reference
[IvTuneExtender]
Class to access services provided by IvTune
More...
#include <IvTune/IvTuneExtender/IvtServices.h>
List of all members.
Detailed Description
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
- See related examples:
-
DirectionalLightEditor, ProcessingMenu, ShaderEditor, ViewingToolbar, AlphaCurveEditor, SFLDMResourceParameters
Member Function Documentation
virtual void IvtServices::execute |
( |
IvtCommand * |
command |
) |
[pure virtual] |
Execute the given command.
- Parameters:
-
| command | the command to execute. |
static IvtServices* IvtServices::getInstance |
( |
|
) |
[static] |
Returns an instance of this class.
virtual SoNode* IvtServices::getSceneGraph |
( |
|
) |
const [pure virtual] |
Returns the current scene graph.
virtual SoSceneManager* IvtServices::getSceneManager |
( |
|
) |
const [pure virtual] |
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.
virtual SoField* IvtServices::getSelectedField |
( |
|
) |
const [pure virtual] |
Returns the selected field in IvTune.
Returns the selected node in IvTune.
virtual SbBool IvtServices::isStandaloneApplication |
( |
|
) |
const [pure virtual] |
Returns true if IvTune was launched as a standalone application.
virtual void IvtServices::redo |
( |
|
) |
[pure virtual] |
Redo the most recent command.
void IvtServices::sceneGraphChanged |
( |
SoNode * |
sg |
) |
[signal] |
This signal is emitted whenever the scene graph changes.
- Parameters:
-
void IvtServices::selectedFieldChanged |
( |
SoField * |
field |
) |
[signal] |
This signal is emitted whenever the selected field changes.
- Parameters:
-
| field | the new selected field. |
This signal is emitted whenever the selected node changes.
- Parameters:
-
| node | the new selected node. |
virtual void IvtServices::setSceneGraph |
( |
SoNode * |
sg |
) |
[pure virtual] |
Set the given scene graph.
- Parameters:
-
| sg | the scene graph to set. |
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. |
virtual void IvtServices::setSelectedNode |
( |
SoFieldContainer * |
node |
) |
[pure virtual] |
Set the given node active in the node overview.
- Parameters:
-
| node | the field to set as active. |
virtual void IvtServices::undo |
( |
|
) |
[pure virtual] |
Undo the most recent command.
The documentation for this class was generated from the following file: