IvtServices Class Reference

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

#include <IvTune/IvTuneExtender/IvtServices.h>

List of all members.


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 related examples:

MyFirstExtensionExamples, MySecondExtensionExamples, DirectionalLightEditor, ProcessingMenu, ShaderEditor, TraversalMenu, ViewingToolbar, AlphaCurveEditor, SFLDMResourceParameters

Member Function Documentation

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

Execute the given command.

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.

sg the new scene graph.
void IvtServices::selectedFieldChanged ( SoField field  )  [signal]

This signal is emitted whenever the selected field changes.

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

This signal is emitted whenever the selected node changes.

node the new selected node.
virtual void IvtServices::setSceneGraph ( SoNode sg  )  [pure virtual]

Set the given scene graph.

sg the scene graph to set.
virtual void IvtServices::setSelectedField ( SoField field  )  [pure virtual]

Set the given field active in the field overview.

field the field to set as active.
virtual void IvtServices::setSelectedNode ( SoFieldContainer node  )  [pure virtual]

Set the given node active in the node overview.

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 24 Mar 2020
Copyright © Thermo Fisher Scientific All rights reserved.