SoDialogChoice Class Reference
[Dialog]

VSG extension Abstract class for a multiple choice node. More...

#include <DialogViz/dialog/SoDialogChoice.h>

Inheritance diagram for SoDialogChoice:
SoDialogComponent SoTopComponent SoDialogViz SoDragger SoInteractionKit SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject SoDialogComboBox SoDialogRadioButtons

List of all members.

Public Member Functions

void addAuditor (SoDialogChoiceAuditor *auditor)
void removeAuditor (SoDialogChoiceAuditor *auditor)
void addItem (SbString newItem)
void insertItem (int index, SbString newItem)
void removeItem (int index)

Public Attributes

SoMFString items
SoSFInt32 selectedItem

Detailed Description

VSG extension Abstract class for a multiple choice node.

This node specifies the properties for SoDialogRadioButtons and SoDialogComboBox nodes.

SEE ALSO

SoDialogComboBox, SoDialogRadioButtons


Member Function Documentation

void SoDialogChoice::addAuditor ( SoDialogChoiceAuditor auditor  ) 

Adds a dialogChoiceAuditor to the current Choice component.

void SoDialogChoice::addItem ( SbString  newItem  ) 

Convenient method for adding a new item.

void SoDialogChoice::insertItem ( int  index,
SbString  newItem 
)

Convenient method for inserting a new item.

void SoDialogChoice::removeAuditor ( SoDialogChoiceAuditor auditor  ) 

Removes the specified choiceAuditor from the auditor list.

void SoDialogChoice::removeItem ( int  index  ) 

Convenient method for removing a new item.


Member Data Documentation

List of strings appearing in the component.

items is empty by default.

Selected choice.

Default value is zero, the first item in items.


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/