61 #include "QtBaseViewer.hh"
63 #include <QToolButton>
68 #define monoIcon mono_xpm
69 #define stereoIcon stereo_xpm
111 statusbar_->showMessage(
"Stereo enabled");
112 stereoButton_->setIcon( QPixmap(stereoIcon) );
116 statusbar_->showMessage(
"Stereo disabled");
117 stereoButton_->setIcon( QPixmap(monoIcon) );
double focalDist_
Set eye distance for stereo.
virtual void toggleStereoMode()
toggle stereo mode
Namespace providing different geometric functions concerning angles.
void setEyeDistance(double _distance)
Set eye distance for stereo.
double focalDistance()
Get the current focal Distance.
static void drawBuffer(GLenum _mode)
replaces glDrawBuffer, supports locking
void setFocalDistance(double _distance)
Set focal distance for stereo.
double eyeDist_
Set eye distance for stereo.
virtual void makeCurrent()
Makes this widget the current widget for OpenGL operations.
bool stereo_
Set eye distance for stereo.
double eyeDistance()
Get the current eye Distance.
virtual void updateGL()
Redraw scene. Triggers paint event for updating the view (cf. drawNow()).
virtual void setStereoMode(bool _b)
enable/disable stereo mode