SoDialogPushButtonLauncher Class Reference
[Dialog]

VSG extension Dialog push button launcher node. More...

#include <DialogViz/dialog/SoDialogPushButtonLauncher.h>

Inheritance diagram for SoDialogPushButtonLauncher:
SoDialogPushButton SoDialogComponent SoTopComponent SoDialogViz SoDragger SoInteractionKit SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoDialogPushButtonLauncher ()
void applyAuditors ()
SoDialogVizsearchForAuditorId (SbString id)
virtual void addChild (SoTopLevelDialog *child)
virtual void insertChild (SoTopLevelDialog *child, int newChildIndex)
virtual SoNodegetChild (int index) const
virtual int getNumChildren () const
virtual int findChild (const SoTopLevelDialog *child) const
virtual void removeChild (int index)
virtual void removeChild (SoTopLevelDialog *child)
virtual void removeAllChildren ()
virtual void replaceChild (int index, SoTopLevelDialog *newChild)
virtual void replaceChild (SoTopLevelDialog *oldChild, SoTopLevelDialog *newChild)

Detailed Description

VSG extension Dialog push button launcher node.

This node defines a push button component for the dialog but with a special built-in behavior: The user can use this node to launch top-level dialog window(s), without defining any specific callback to do it. You can add, insert, and remove top-level dialogs (SoTopLevelDialog) by using the addChild(), insertChild(), and removeChild() methods.

FILE FORMAT/DEFAULT

CATALOG PARTS

SEE ALSO

SoDialogPushButton, SoDialogCheckBoxLauncher, SoTopLevelDialog

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu


Constructor & Destructor Documentation

SoDialogPushButtonLauncher::SoDialogPushButtonLauncher (  ) 

Constructor.


Member Function Documentation

virtual void SoDialogPushButtonLauncher::addChild ( SoTopLevelDialog child  )  [virtual]

Adds a child as last one in group.

void SoDialogPushButtonLauncher::applyAuditors (  ) 

Applies all DialogAuditors in the auditor list.

virtual int SoDialogPushButtonLauncher::findChild ( const SoTopLevelDialog child  )  const [virtual]

Finds index of given child within group.

Returns -1 if not found.

virtual SoNode* SoDialogPushButtonLauncher::getChild ( int  index  )  const [virtual]

Returns pointer to child node with the given index.

Reimplemented from SoBaseKit.

virtual int SoDialogPushButtonLauncher::getNumChildren (  )  const [virtual]

Returns number of children.

Reimplemented from SoBaseKit.

virtual void SoDialogPushButtonLauncher::insertChild ( SoTopLevelDialog child,
int  newChildIndex 
) [virtual]

Adds a child so that it becomes the one with the given index.

virtual void SoDialogPushButtonLauncher::removeAllChildren (  )  [virtual]

Removes all children from group.

Reimplemented from SoBaseKit.

virtual void SoDialogPushButtonLauncher::removeChild ( SoTopLevelDialog child  )  [virtual]

Removes first instance of given child from group.

virtual void SoDialogPushButtonLauncher::removeChild ( int  index  )  [virtual]

Removes child with given index from group.

Reimplemented from SoBaseKit.

virtual void SoDialogPushButtonLauncher::replaceChild ( SoTopLevelDialog oldChild,
SoTopLevelDialog newChild 
) [virtual]

Replaces first instance of given child with new child.

virtual void SoDialogPushButtonLauncher::replaceChild ( int  index,
SoTopLevelDialog newChild 
) [virtual]

Replaces child with given index with new child.

SoDialogViz* SoDialogPushButtonLauncher::searchForAuditorId ( SbString  id  ) 

Retrieves the DialogViz object from the specified auditorID field in an SoDialogPushButtonLauncher structure.

NULL is returned if auditorID string is not found.


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/