SoDialogRealSlider Class Reference
[Dialog]

VSG extension Dialog real slider node. More...

#include <DialogViz/dialog/SoDialogRealSlider.h>

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

List of all members.

Public Member Functions

 SoDialogRealSlider ()
void addAuditor (SoDialogRealSliderAuditor *auditor)
void removeAuditor (SoDialogRealSliderAuditor *auditor)

Public Attributes

SoSFFloat min
SoSFFloat max
SoSFFloat value

Detailed Description

VSG extension Dialog real slider node.

This node creates a slider component for the dialog. Values of the slider are floating-point numbers.

DialogRealSlider.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, SoDialogIntegerSlider

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu


Constructor & Destructor Documentation

SoDialogRealSlider::SoDialogRealSlider (  ) 

Constructor.


Member Function Documentation

void SoDialogRealSlider::addAuditor ( SoDialogRealSliderAuditor auditor  ) 

Adds a dialogRealSliderAuditor to the current slider component.

void SoDialogRealSlider::removeAuditor ( SoDialogRealSliderAuditor auditor  ) 

Removes the specified realSliderAuditor from the auditor list.


Member Data Documentation

Maximum value.

Default is 1.0.

Minimum value.

Default is 0.0.

Current value.

Default is 0.0.


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

Open Inventor Toolkit reference manual, generated on 11 Nov 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/