65 #ifndef VIEWERPROPERTIES_HH 66 #define VIEWERPROPERTIES_HH 72 #include <ACG/Math/VectorT.hh> 74 #include <ACG/Scenegraph/DrawModes.hh> 75 #include <ACG/GL/GLState.hh> 76 #include <OpenFlipper/widgets/glWidget/CursorPainter.hh> 159 void snapshotBaseFileName(
const QString& _fname);
162 void snapshotFileType(
const QString& _type);
165 void snapshotCounter(
const int _counter);
168 QString snapshotFileType();
171 QString snapshotName();
174 int snapshotCounter();
193 double wheelZoomFactor();
196 double wheelZoomFactorShift();
199 void wheelZoomFactor(
double _factor);
202 void wheelZoomFactorShift(
double _factor);
208 void wheelInvert(
bool _invert);
257 QRgb backgroundColorRgb();
260 QColor backgroundQColor();
268 void backgroundColor( QRgb _color );
272 void backgroundColor( QColor _color );
303 bool backFaceCulling();
306 void backFaceCulling(
bool _state );
315 void twoSidedLighting(
bool _state );
318 bool twoSidedLighting();
327 void multisampling(
bool _state );
330 bool multisampling();
339 void mipmapping(
bool _state );
351 void animation(
bool _state );
388 int currentViewingDirection();
390 void currentViewingDirection(
int _dir);
398 bool rotationLocked();
400 void rotationLocked(
bool _lock);
422 void orthoWidth(
double _width);
429 void setPlanes(
double _near,
double _far );
442 double sceneRadius();
445 void sceneRadius(
double _radius );
456 double trackballRadius();
459 void trackballRadius(
double _radius );
495 void stereo(
bool _stereo);
519 bool cursorPositionValid();
520 void cursorPositionValid(
bool _valid);
545 void drawModeChanged(
int _viewerId );
547 void getPickMode(std::string& _mode );
548 void setPickMode(
const std::string& _mode );
556 std::string pickMode();
559 void pickMode(
const std::string& _name);
578 void viewerId(
int _id);
595 #endif //VIEWERPROPERTIES_HH QString snapshotFileType_
ACG::Vec3d sceneCenter_
Current scene center (rendering center)
double wZoomFactor_
Zoom factor when using mouse wheel.
bool twoSidedLighting_
Pointer to the glState of the Viewer.
ACG::Vec4f backgroundColor_
Pointer to the glState of the Viewer.
double orthoWidth_
Width of the gl scene in orthogonal mode ( defaults to 2.0 )
double wZoomFactorShift_
Zoom factor when using mouse wheel.
double sceneRadius_
Radius of the current scene.
int locked_
Pointer to the glState of the Viewer.
double nearPlane_
Distance to near Plane.
QString settingsSection_
String for the Settings storage.
int currentViewingDirection_
Pointer to the glState of the Viewer.
ACG::GLState * glState_
Pointer to the glState of the Viewer.
bool multisampling_
Pointer to the glState of the Viewer.
CursorPainter * cursorPainter_
Flag if stereo should be enabled for the current viewer.
double trackballRadius_
trackball radius (rotation sphere when using mouse)
bool rotationLocked_
Pointer to the glState of the Viewer.
ActionMode
Enum listing action modes of the viewers.
bool mipmapping_
Pointer to the glState of the Viewer.
double farPlane_
distance to far Plane
int viewerId_
Stores the id of the viewer this property belongs to.
bool cursorPositionValid_
Flag if stereo should be enabled for the current viewer.
ACG::SceneGraph::DrawModes::DrawMode currentDrawMode_
set draw mode (No test if this mode is available!)
ACG::Vec3d trackballCenter_
Virtual trackball center (rotation center when using mouse)
bool stereo_
Flag if stereo should be enabled for the current viewer.
ViewObjectMarker * objectMarker_
Pointer to the glState of the Viewer.
ACG::Vec3d cursorPoint3D_
Flag if stereo should be enabled for the current viewer.
bool backFaceCulling_
Pointer to the glState of the Viewer.
bool animation_
Pointer to the glState of the Viewer.
bool wInvert_
Zoom factor when using mouse wheel.
bool CCWFront_
Pointer to the glState of the Viewer.