24#ifndef _SOWIN_STEREO_DIALOG_
25#define _SOWIN_STEREO_DIALOG_
71 const char *name = NULL,
SbBool buildInsideParent =
TRUE);
89 const char *name,
SbBool buildInsideParent,
SbBool buildNow);
92 virtual SbString getDefaultWidgetName()
const;
93 virtual SbString getDefaultTitle()
const;
94 virtual SbString getDefaultIconTitle()
const;
99 static void onParallaxToggleCB(
SoWidget widget,
XtPointer clientData,
void *state );
100 static void onCameraToggleCB(
SoWidget widget,
XtPointer clientData,
void *state );
102 static void onStereoToggleCB(
SoWidget widget,
XtPointer clientData,
void *state );
107 virtual void widgetDestroyed();
111 SoWidget m_stereoItem[14], m_rawStereoItem;
122 SbBool m_cameraFlag, m_parallaxFlag;
126 static void onCommand(
Hwnd hdlg,
int id,
Hwnd hCtrl,
UINT codeNotify ) ;
129 static void sliderCallback(
void * userData,
float value) ;
131 static SoBaseStereo * getStereoViewType(
int stereoTypeListIndex=0) ;
138 SoWinSlider * sliders[2];
158 SliderData m_firstSlider;
159 SliderData m_secondSlider;
173 void updateSliders();
178 int m_lastStereoMode;
179 bool m_isStereoActive;
180 bool m_lastStereoReversed;
#define TRUE
Possible value of SbBool.
#define XmAnyCallbackStruct
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for stereo...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Component that l...
~SoStereoDialog()
Destructor.
virtual void update()
Notify the stereo dialog that the viewer state may have changed.
SoStereoDialog(SoWidget parent=NULL, SoStereoViewer *viewer=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE)
Constructor.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Pure virtual cla...
Abstract base class for all Open Inventor components.
Component which lets you edit a material interactively.