IvtServices Class Reference
[IvTuneExtender]

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

#include <IvTune/IvTuneExtender/IvtServices.h>

List of all members.

Signals

void sceneGraphChanged (SoNode *sg)
void selectedNodeChanged (SoFieldContainer *node)
void selectedFieldChanged (SoField *field)

Public Member Functions

virtual void execute (IvtCommand *command)=0
virtual SoNodegetSceneGraph () const =0
virtual SoFieldgetSelectedField () const =0
virtual SoFieldContainergetSelectedNode () const =0
virtual void redo ()=0
virtual void setSceneGraph (SoNode *sg)=0
virtual void setSelectedField (SoField *field)=0
virtual void setSelectedNode (SoFieldContainer *node)=0
virtual void undo ()=0
virtual SoSceneManagergetSceneManager () const =0
virtual SbBool isStandaloneApplication () const =0

Static Public Member Functions

static IvtServicesgetInstance ()

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

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.

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

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:
sg the new scene graph.
void IvtServices::selectedFieldChanged ( SoField field  )  [signal]

This signal is emitted whenever the selected field changes.

Parameters:
field the new selected field.
void IvtServices::selectedNodeChanged ( SoFieldContainer node  )  [signal]

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:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/