SoMenuCheckBox Class Reference
[Dialog]

VSG extension Menu pushbutton node. More...

#include <DialogViz/dialog/SoMenuCheckBox.h>

Inheritance diagram for SoMenuCheckBox:
SoMenuItem SoDialogViz SoDragger SoInteractionKit SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject SoMenuCheckBoxLauncher

List of all members.

Public Member Functions

 SoMenuCheckBox ()
void addAuditor (SoMenuCheckBoxAuditor *auditor)
void removeAuditor (SoMenuCheckBoxAuditor *auditor)

Public Attributes

SoSFBool state
SoSFString onString
SoSFString accelerator

Detailed Description

VSG extension Menu pushbutton node.

This node defines a push button item for a dialog menu.

You can change the parts in any instance of this menu check box using setPart(). The default part geometries are defined as resources for this SoMenuCheckBox class. They are detailed below in the Catalog Parts section of the online reference page for this class. You can make your program use different default resources for the parts by copying the file $OIVHOME/data/DialogViz/Skins/default/MenuCheckBox.iv into your own directory, editing the file, and then setting the environment variable DIALOGVIZ_SKINS_DIR to be a path to that directory, or by using the setSkinDirectory() method in your application.

FILE FORMAT/DEFAULT

SEE ALSO

SoMenuCheckBoxLauncher, SoMenuPopup, SoMenuPushButton, SoMenuPushButtonLauncher, SoMenuFileSelection, SoMenuRadioButtons, SoMenuSeparator

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu


Constructor & Destructor Documentation

SoMenuCheckBox::SoMenuCheckBox (  ) 

Constructor.


Member Function Documentation

void SoMenuCheckBox::addAuditor ( SoMenuCheckBoxAuditor auditor  ) 

Add a menuCheckBoxAuditor to current CheckBox component.

void SoMenuCheckBox::removeAuditor ( SoMenuCheckBoxAuditor auditor  ) 

Remove the defined checkBoxAuditor from the auditor list.


Member Data Documentation

Defines the menu item accelerator key.

This string appears when state is TRUE.

If it is empty, label is used instead. Default is empty string.

Specify the state of the check button.

When state is FALSE label is showm, otherwise onString is shown instead. Default is FALSE


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/