Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
IvtServices Class Referenceabstract

VSG extension Class to access services provided by IvTune More...

#include <IvTune/IvTuneExtender/IvtServices.h>

+ Inheritance diagram for IvtServices:

Signals

void sceneGraphChanged (SoNode *sg)
 This signal is emitted whenever the scene graph changes.
 
void selectedNodeChanged (SoFieldContainer *node)
 This signal is emitted whenever the selected node changes.
 
void selectedFieldChanged (SoField *field)
 This signal is emitted whenever the selected field changes.
 

Public Member Functions

virtual void execute (IvtCommand *command)=0
 Execute the given command.
 
virtual SoNodegetSceneGraph () const =0
 Returns the current scene graph.
 
virtual SoFieldgetSelectedField () const =0
 Returns the selected field in IvTune.
 
virtual SoFieldContainergetSelectedNode () const =0
 Returns the selected node in IvTune.
 
virtual void redo ()=0
 Redo the most recent command.
 
virtual void setSceneGraph (SoNode *sg)=0
 Set the given scene graph.
 
virtual void setSelectedField (SoField *field)=0
 Set the given field active in the field overview.
 
virtual void setSelectedNode (SoFieldContainer *node)=0
 Set the given node active in the node overview.
 
virtual void undo ()=0
 Undo the most recent command.
 
virtual SoSceneManagergetSceneManager () const =0
 If IvTune is started from an SoSceneManager, return the scene manager otherwise null.
 
virtual SbBool isStandaloneApplication () const =0
 Returns true if IvTune was launched as a standalone application.
 

Static Public Member Functions

static IvtServicesgetInstance ()
 Returns an instance of this class.
 

Detailed Description

VSG extension 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.

Member Function Documentation

◆ execute()

virtual void IvtServices::execute ( IvtCommand command)
pure virtual

Execute the given command.

Parameters
commandthe command to execute.

◆ getInstance()

static IvtServices * IvtServices::getInstance ( )
static

Returns an instance of this class.

◆ getSceneGraph()

virtual SoNode * IvtServices::getSceneGraph ( ) const
pure virtual

Returns the current scene graph.

◆ getSceneManager()

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.

◆ getSelectedField()

virtual SoField * IvtServices::getSelectedField ( ) const
pure virtual

Returns the selected field in IvTune.

◆ getSelectedNode()

virtual SoFieldContainer * IvtServices::getSelectedNode ( ) const
pure virtual

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
sgthe new scene graph.

◆ selectedFieldChanged

void IvtServices::selectedFieldChanged ( SoField field)
signal

This signal is emitted whenever the selected field changes.

Parameters
fieldthe new selected field.

◆ selectedNodeChanged

void IvtServices::selectedNodeChanged ( SoFieldContainer node)
signal

This signal is emitted whenever the selected node changes.

Parameters
nodethe new selected node.

◆ setSceneGraph()

virtual void IvtServices::setSceneGraph ( SoNode sg)
pure virtual

Set the given scene graph.

Parameters
sgthe scene graph to set.

◆ setSelectedField()

virtual void IvtServices::setSelectedField ( SoField field)
pure virtual

Set the given field active in the field overview.

Parameters
fieldthe field to set as active.

◆ setSelectedNode()

virtual void IvtServices::setSelectedNode ( SoFieldContainer node)
pure virtual

Set the given node active in the node overview.

Parameters
nodethe 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: