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