Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoStereoDialog Class Reference

VSG extension Component that lets you modify stereo attributes interactively. More...

#include <Inventor/components/stereo/SoQtStereoDialog.h>

+ Inheritance diagram for SoStereoDialog:

Public Member Functions

 SoStereoDialog (QWidget *parent=qApp->activeWindow(), SoStereoViewer *viewer=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE)
 Constructor.
 
 ~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.
 
 ~SoStereoDialog ()
 Destructor.
 
virtual void update ()
 Notify the stereo dialog that the viewer state may have changed.
 
- Public Member Functions inherited from SoQtComponent
virtual void show ()
 This shows the component.
 
virtual void hide ()
 This hides the component.
 
SbBool isVisible ()
 Returns TRUE if this component is mapped onto the screen.
 
virtual QWidget * getWidget () const
 This returns the base widget handle for this component.
 
SbBool isTopLevelShell () const
 Returns TRUE if this component is a top level shell component (has its own window).
 
QWidget * getShellWidget () const
 Returns the topLevelShell widget handle (NULL if the topLevelShell hasn't been created by this component).
 
QWidget * getParentWidget () const
 Returns the parent widget handle.
 
void setSize (const SbVec2s &size)
 Convenience routine on the widget handle.
 
SbVec2s getSize ()
 Convenience routine on the widget handle.
 
virtual SbBool setFullScreen (const SbBool enable)
 Switches the viewer into (or out of) fullscreen mode.
 
SbBool isFullScreen (void) const
 Queries if the viewer is in fullscreen mode.
 
void setFullScreenEnable (const SbBool enable)
 Enables/disables fullscreen mode.
 
SbBool isFullScreenEnable (void) const
 Queries if it is possible to put the viewer in fullscreen mode.
 
SbGlContextHelper::Display getDisplay ()
 On UNIX, returns the X display associated with this components widget.
 
void setTitle (const char *newTitle)
 Sets window title.
 
void setTitle (const SbString &newTitle)
 Sets window title.
 
void setTitle (const QString &newTitle)
 Sets window title.
 
const QString getTitle () const
 Gets window title.
 
void setIconTitle (const QString &newIconTitle)
 Included for portability only.
 
const QString getIconTitle () const
 Included for portability only.
 
SbString getWidgetName () const
 Returns the widget handle name.
 
SbString getClassName () const
 Returns the class name.
 
void setWindowCloseCallback (SoQtComponentCB *func, void *data=NULL)
 Sets which callback to call when the user closes this component (double click in the upper left corner) - by default hide() is called on this component, unless a callback is set to something other than NULL.
 
- Public Member Functions inherited from SoXtComponent
virtual void show ()
 This shows the component.
 
virtual void hide ()
 This hides the component.
 
SbBool isVisible ()
 Returns TRUE if this component is mapped onto the screen.
 
SoWidget getWidget () const
 This returns the base widget for this component.
 
SbBool isTopLevelShell () const
 Returns TRUE if this component is a top level shell component (has its own window).
 
SoWidget getShellWidget () const
 Returns the shell widget (NULL if the shell hasn't been created by this component).
 
SoWidget getParentWidget () const
 Returns the parent widget, be it a shell or not.
 
void setSize (const SbVec2s &size)
 Convenience routine on the widget.
 
SbVec2s getSize ()
 Convenience routine on the widget.
 
SbBool setFullScreen (const SbBool enable)
 Switches the viewer into (or out of) fullscreen mode.
 
SbBool isFullScreen (void) const
 Queries if the viewer is in fullscreen mode.
 
void setFullScreenEnable (const SbBool enable)
 Enables/disables fullscreen mode.
 
SbBool isFullScreenEnable () const
 Queries if it is possible to put the viewer in fullscreen mode.
 
Display * getDisplay ()
 Returns the X display associated with this components widget.
 
SoNONUNICODE void setTitle (const char *newTitle)
 Sets window title.
 
void setTitle (const SbString &newTitle)
 Sets window title.
 
SbString getTitle () const
 Gets window title.
 
SoNONUNICODE void setIconTitle (const char *newIconTitle)
 Sets icon title.
 
void setIconTitle (const SbString &newIconTitle)
 Sets icon title.
 
SbString getIconTitle () const
 Gets icon title.
 
void setWindowCloseCallback (SoXtComponentCB *func, void *data=NULL)
 Sets which callback to call when the user closes this component (double click in the upper left corner) - by default hide() is called on this component, unless a callback is set to something other than NULL.
 
SbString getWidgetName () const
 Returns the widget name.
 
SbString getClassName () const
 Returns the class name.
 

Protected Slots

void slot_stereo (int value)
 
void slot_check_balance (bool onOff)
 
void slot_check_camera (bool onOff)
 
void slot_check_stereo (bool onOff)
 
void slot_check_revert_stereo (bool onOff)
 

Additional Inherited Members

- Static Public Member Functions inherited from SoQtComponent
static SoQtComponentgetComponent (QWidget *widget)
 Returns the SoQtComponent for this widget handle.
 
- Static Public Member Functions inherited from SoXtComponent
static void displayHelp (const char *filename, UINT contextID)
 Static method to display the specified topic of the specified help file.
 
static SoXtComponentgetComponent (SoWidget w)
 This returns the SoXtComponent for this widget.
 
- Public Attributes inherited from SoQtComponent
SbString helpFileName
 Name of help file to open when the viewer Help button is pressed.
 

Detailed Description

VSG extension Component that lets you modify stereo attributes interactively.

This component displays a dialog box for modifying stereo attributes interactively.

SEE ALSO

SoStereoViewer, SoBaseStereo, SoQtViewer

This component displays a dialog box for modifying stereo attributes interactively.

SEE ALSO

SoStereoViewer, SoBaseStereo, SoWinViewer SoXtViewer

Definition at line 54 of file SoQtStereoDialog.h.

Constructor & Destructor Documentation

◆ SoStereoDialog() [1/2]

SoStereoDialog::SoStereoDialog ( QWidget *  parent = qApp->activeWindow(),
SoStereoViewer viewer = NULL,
const char *  name = NULL,
SbBool  buildInsideParent = TRUE 
)

Constructor.

◆ ~SoStereoDialog() [1/2]

SoStereoDialog::~SoStereoDialog ( )

Destructor.

◆ SoStereoDialog() [2/2]

SoStereoDialog::SoStereoDialog ( SoWidget  parent = NULL,
SoStereoViewer viewer = NULL,
const char *  name = NULL,
SbBool  buildInsideParent = TRUE 
)

Constructor.

◆ ~SoStereoDialog() [2/2]

SoStereoDialog::~SoStereoDialog ( )

Destructor.

Member Function Documentation

◆ slot_check_balance

void SoStereoDialog::slot_check_balance ( bool  onOff)
protectedslot

◆ slot_check_camera

void SoStereoDialog::slot_check_camera ( bool  onOff)
protectedslot

◆ slot_check_revert_stereo

void SoStereoDialog::slot_check_revert_stereo ( bool  onOff)
protectedslot

◆ slot_check_stereo

void SoStereoDialog::slot_check_stereo ( bool  onOff)
protectedslot

◆ slot_stereo

void SoStereoDialog::slot_stereo ( int  value)
protectedslot

◆ update() [1/2]

virtual void SoStereoDialog::update ( )
virtual

Notify the stereo dialog that the viewer state may have changed.

◆ update() [2/2]

virtual void SoStereoDialog::update ( )
virtual

Notify the stereo dialog that the viewer state may have changed.


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