60#include <ACG/Math/VectorT.hh>
62#include <ACG/Scenegraph/DrawModes.hh>
63#include <ACG/GL/GLState.hh>
64#include <OpenFlipper/widgets/glWidget/CursorPainter.hh>
147 void snapshotBaseFileName(
const QString& _fname);
150 void snapshotFileType(
const QString& _type);
153 void snapshotCounter(
const int _counter);
156 QString snapshotFileType();
159 QString snapshotName();
162 int snapshotCounter();
181 double wheelZoomFactor();
184 double wheelZoomFactorShift();
187 void wheelZoomFactor(
double _factor);
190 void wheelZoomFactorShift(
double _factor);
196 void wheelInvert(
bool _invert);
245 QRgb backgroundColorRgb();
248 QColor backgroundQColor();
256 void backgroundColor( QRgb _color );
260 void backgroundColor( QColor _color );
291 bool backFaceCulling();
294 void backFaceCulling(
bool _state );
303 void twoSidedLighting(
bool _state );
306 bool twoSidedLighting();
315 void multisampling(
bool _state );
318 bool multisampling();
327 void mipmapping(
bool _state );
339 void animation(
bool _state );
376 int currentViewingDirection();
378 void currentViewingDirection(
int _dir);
386 bool rotationLocked();
388 void rotationLocked(
bool _lock);
410 void orthoWidth(
double _width);
417 void setPlanes(
double _near,
double _far );
430 double sceneRadius();
433 void sceneRadius(
double _radius );
444 double trackballRadius();
447 void trackballRadius(
double _radius );
450 float getDevicePixelRatio()
const;
453 void setDevicePixelRatio(
float dpr);
456 QPoint adjustForDevicePixelRatio(QPoint
const & point)
const;
458 QPointF adjustForDevicePixelRatio(QPointF
const & point)
const;
484 float device_pixel_ratio_ = 1.f;
498 void stereo(
bool _stereo);
522 bool cursorPositionValid();
523 void cursorPositionValid(
bool _valid);
550 void getPickMode(std::string& _mode );
551 void setPickMode(
const std::string& _mode );
559 std::string pickMode();
562 void pickMode(
const std::string& _name);
581 void viewerId(
int _id);
ActionMode
Enum listing action modes of the viewers.
@ ExamineMode
Examine or Move mode.
@ QuestionMode
Question Mode.
@ PickingMode
Picking Mode.
ACG::Vec4f backgroundColor_
Pointer to the glState of the Viewer.
void updated()
This signal is emitted when the configuration has been changed.
bool twoSidedLighting_
Pointer to the glState of the Viewer.
bool wInvert_
Zoom factor when using mouse wheel.
bool CCWFront_
Pointer to the glState of the Viewer.
QString snapshotFileType_
bool cursorPositionValid_
Flag if stereo should be enabled for the current viewer.
int viewerId_
Stores the id of the viewer this property belongs to.
ACG::SceneGraph::DrawModes::DrawMode currentDrawMode_
set draw mode (No test if this mode is available!)
bool multisampling_
Pointer to the glState of the Viewer.
bool animation_
Pointer to the glState of the Viewer.
ACG::GLState * glState_
Pointer to the glState of the Viewer.
bool stereo_
Flag if stereo should be enabled for the current viewer.
double orthoWidth_
Width of the gl scene in orthogonal mode ( defaults to 2.0 )
bool backFaceCulling_
Pointer to the glState of the Viewer.
double wZoomFactor_
Zoom factor when using mouse wheel.
bool rotationLocked_
Pointer to the glState of the Viewer.
double trackballRadius_
trackball radius (rotation sphere when using mouse)
double sceneRadius_
Radius of the current scene.
void drawModeChanged(int _viewerId)
This signal is emitted when the drawmode changed.
ViewObjectMarker * objectMarker_
Pointer to the glState of the Viewer.
double farPlane_
distance to far Plane
QString settingsSection_
String for the Settings storage.
double nearPlane_
Distance to near Plane.
double wZoomFactorShift_
Zoom factor when using mouse wheel.
int locked_
Pointer to the glState of the Viewer.
int currentViewingDirection_
Pointer to the glState of the Viewer.
ACG::Vec3d sceneCenter_
Current scene center (rendering center)
ACG::Vec3d trackballCenter_
Virtual trackball center (rotation center when using mouse)
ACG::Vec3d cursorPoint3D_
Flag if stereo should be enabled for the current viewer.
bool mipmapping_
Pointer to the glState of the Viewer.
CursorPainter * cursorPainter_
Flag if stereo should be enabled for the current viewer.