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 eyeDist_
Set eye distance for stereo.
virtual void toggleStereoMode()
toggle stereo mode
void setFocalDistance(double _distance)
Set focal distance for stereo.
virtual void setStereoMode(bool _b)
enable/disable 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 eyeDistance()
Get the current eye Distance.
double focalDistance()
Get the current focal Distance.
Namespace providing different geometric functions concerning angles.
virtual void makeCurrent()
Makes this widget the current widget for OpenGL operations.
bool stereo_
Set eye distance for stereo.
static void drawBuffer(GLenum _mode)
replaces glDrawBuffer, supports locking
double focalDist_
Set eye distance for stereo.