SoDialogIntegerSlider Class Reference
[Dialog]

VSG extension Dialog integer slider node. More...

#include <DialogViz/dialog/SoDialogIntegerSlider.h>

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

List of all members.

Public Member Functions

 SoDialogIntegerSlider ()
void addAuditor (SoDialogIntegerSliderAuditor *auditor)
void removeAuditor (SoDialogIntegerSliderAuditor *auditor)

Public Attributes

SoSFInt32 min
SoSFInt32 max
SoSFInt32 value

Detailed Description

VSG extension Dialog integer slider node.

This node defines a slider component for the dialog. Values of the slider are integer values only.

DialogIntegerSlider.jpg

The min field specifies the minimum possible value for the slider. The max field specifies the maximum possible value for the slider. The value field is the current value specifying the slider cursor position.

You can change the parts in any instance of this slider component using setPart(). The default part geometries are defined as resources for this SoDialogSlider 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/DialogSlider.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

SoDialogSlider, SoDialogCheckBox, SoDialogCheckBoxLauncher, SoDialogComboBox, SoDialogRadioButtons, SoDialogCustom, SoDialogEditText, SoColumnDialog, SoRowDialog, SoTabDialog, SoDialogLabel, SoDialogPushButton, SoDialogPushButtonLauncher, SoDialogSeparator, SoDialogRealSlider

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu


Constructor & Destructor Documentation

SoDialogIntegerSlider::SoDialogIntegerSlider (  ) 

Constructor.


Member Function Documentation

void SoDialogIntegerSlider::addAuditor ( SoDialogIntegerSliderAuditor auditor  ) 

Adds a dialogIntegerSliderAuditor to the current integerSlider component.

void SoDialogIntegerSlider::removeAuditor ( SoDialogIntegerSliderAuditor auditor  ) 

Removes the specified integerSliderAuditor from the auditor list.


Member Data Documentation

Maximum value.

Default is 1.

Minimum value.

Default is 0.

Current value.

Default is 0.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/