Developer Documentation
Viewer::ViewerProperties Class Reference
Inheritance diagram for Viewer::ViewerProperties:

Signals

void updated ()
 This signal is emitted when the configuration has been changed.
 
void drawModeChanged (int _viewerId)
 This signal is emitted when the drawmode changed.
 
void getPickMode (std::string &_mode)
 
void setPickMode (const std::string &_mode)
 
void getActionMode (Viewer::ActionMode &_am)
 
void setActionMode (const Viewer::ActionMode _am)
 

Public Member Functions

 ViewerProperties (int _id)
 
std::string pickMode ()
 get active pick mode More...
 
void pickMode (const std::string &_name)
 set the pickMode More...
 
Viewer::ActionMode actionMode ()
 get the action mode More...
 
void actionMode (const Viewer::ActionMode _am)
 set active action mode More...
 

Draw Mode States

ACG::SceneGraph::DrawModes::DrawMode currentDrawMode_
 set draw mode (No test if this mode is available!) More...
 
void drawMode (ACG::SceneGraph::DrawModes::DrawMode _mode)
 set draw mode (No test if this mode is available!) More...
 
ACG::SceneGraph::DrawModes::DrawMode drawMode ()
 get current draw mode More...
 

Snapshot settings

QString snapshotName_
 
QString snapshotFileType_
 
int snapshotCounter_
 
void snapshotBaseFileName (const QString &_fname)
 
void snapshotFileType (const QString &_type)
 
void snapshotCounter (const int _counter)
 
QString snapshotFileType ()
 
QString snapshotName ()
 
int snapshotCounter ()
 

Mouse Wheel Settings

double wZoomFactor_
 Zoom factor when using mouse wheel. More...
 
double wZoomFactorShift_
 Zoom factor when using mouse wheel. More...
 
bool wInvert_
 Zoom factor when using mouse wheel. More...
 
double wheelZoomFactor ()
 Zoom factor when using mouse wheel. More...
 
double wheelZoomFactorShift ()
 Zoom factor when using mouse wheel and pressing shift. More...
 
void wheelZoomFactor (double _factor)
 Set zoom factor when using mouse wheel. More...
 
void wheelZoomFactorShift (double _factor)
 Set zoom factor when using mouse wheel and pressing shift. More...
 
bool wheelInvert ()
 Invert mouse wheel direction? More...
 
void wheelInvert (bool _invert)
 Invert mouse wheel direction. More...
 

Rendering Settings

bool CCWFront_
 Pointer to the glState of the Viewer. More...
 
ACG::Vec4f backgroundColor_
 Pointer to the glState of the Viewer. More...
 
int locked_
 Pointer to the glState of the Viewer. More...
 
bool backFaceCulling_
 Pointer to the glState of the Viewer. More...
 
bool twoSidedLighting_
 Pointer to the glState of the Viewer. More...
 
bool multisampling_
 Pointer to the glState of the Viewer. More...
 
bool mipmapping_
 Pointer to the glState of the Viewer. More...
 
bool animation_
 Pointer to the glState of the Viewer. More...
 
ACG::GLStateglState_
 Pointer to the glState of the Viewer. More...
 
ViewObjectMarkerobjectMarker_
 Pointer to the glState of the Viewer. More...
 
int currentViewingDirection_
 Pointer to the glState of the Viewer. More...
 
bool rotationLocked_
 Pointer to the glState of the Viewer. More...
 
ACG::GLStateglState ()
 Get the glState of the Viewer. More...
 
const ACG::GLStateglState () const
 Pointer to the glState of the Viewer. More...
 
void setglState (ACG::GLState *_glState)
 Pointer to the glState of the Viewer. More...
 
int currentViewingDirection ()
 Pointer to the glState of the Viewer. More...
 
void currentViewingDirection (int _dir)
 Pointer to the glState of the Viewer. More...
 
bool rotationLocked ()
 Pointer to the glState of the Viewer. More...
 
void rotationLocked (bool _lock)
 Pointer to the glState of the Viewer. More...
 
bool isCCWFront ()
 
void ccwFront ()
 Set counter clockwise orientation as front. More...
 
void cwFront ()
 Set clockwise orientation as front. More...
 
ACG::Vec4f backgroundColor ()
 Get current background color. More...
 
QRgb backgroundColorRgb ()
 Get current background color. More...
 
QColor backgroundQColor ()
 Get current background color. More...
 
void backgroundColor (ACG::Vec4f _color)
 
void backgroundColor (QRgb _color)
 
void backgroundColor (QColor _color)
 
void lockUpdate ()
 
void unLockUpdate ()
 Unlock display locked by updateLock(). More...
 
bool updateLocked ()
 
bool backFaceCulling ()
 Get current state of backface culling. More...
 
void backFaceCulling (bool _state)
 Enable or disable backface culling. More...
 
void twoSidedLighting (bool _state)
 set 2-sided lighting on/off More...
 
bool twoSidedLighting ()
 is 2-sided lighing enabled? More...
 
void multisampling (bool _state)
 set multisampling on/off More...
 
bool multisampling ()
 is multisampling enabled? More...
 
void mipmapping (bool _state)
 set mipmapping on/off More...
 
bool mipmapping ()
 is mipmapping enabled? More...
 
void animation (bool _state)
 set 2-sided lighting on/off More...
 
bool animation ()
 is 2-sided lighing enabled? More...
 
void objectMarker (ViewObjectMarker *_marker)
 set object marker for viewer More...
 
ViewObjectMarkerobjectMarker ()
 current object marker More...
 

Projection controls and information

double orthoWidth_
 Width of the gl scene in orthogonal mode ( defaults to 2.0 ) More...
 
double nearPlane_
 Distance to near Plane. More...
 
double farPlane_
 distance to far Plane More...
 
ACG::Vec3d sceneCenter_
 Current scene center (rendering center) More...
 
double sceneRadius_
 Radius of the current scene. More...
 
ACG::Vec3d trackballCenter_
 Virtual trackball center (rotation center when using mouse) More...
 
double trackballRadius_
 trackball radius (rotation sphere when using mouse) More...
 
float device_pixel_ratio_ = 1.f
 by default the device pixel ratio is 1 More...
 
double orthoWidth ()
 Get width of the gl scene in orthogonal projection mode (defaults to 2.0) More...
 
void orthoWidth (double _width)
 Set the width of the gl scene in orthogonal projection mode. More...
 
double nearPlane ()
 Return distance to near Plane. More...
 
void setPlanes (double _near, double _far)
 Set near and far plane at the same time. More...
 
double farPlane ()
 Return distance to far Plane. More...
 
ACG::Vec3d sceneCenter ()
 Get current scene center (rendering center) More...
 
void sceneCenter (ACG::Vec3d _center)
 Set current scene center (rendering center) More...
 
double sceneRadius ()
 Get radius of the current scene. More...
 
void sceneRadius (double _radius)
 Set radius of the current scene. More...
 
ACG::Vec3d trackballCenter ()
 Get virtual trackball center (rotation center when using mouse) More...
 
void trackballCenter (ACG::Vec3d _center)
 Set virtual trackball center (rotation center when using mouse) More...
 
double trackballRadius ()
 Get trackball radius (rotation sphere when using mouse) More...
 
void trackballRadius (double _radius)
 Set trackball radius (rotation sphere when using mouse) More...
 
float getDevicePixelRatio () const
 get device pixel ratio More...
 
void setDevicePixelRatio (float dpr)
 set device pixel ratio More...
 
QPoint adjustForDevicePixelRatio (QPoint const &point) const
 adjust point for DPR More...
 
QPointF adjustForDevicePixelRatio (QPointF const &point) const
 Width of the gl scene in orthogonal mode ( defaults to 2.0 ) More...
 

Stereo Settings

bool stereo_
 Flag if stereo should be enabled for the current viewer. More...
 
CursorPaintercursorPainter_
 Flag if stereo should be enabled for the current viewer. More...
 
ACG::Vec3d cursorPoint3D_
 Flag if stereo should be enabled for the current viewer. More...
 
bool cursorPositionValid_
 Flag if stereo should be enabled for the current viewer. More...
 
void stereo (bool _stereo)
 Flag if stereo should be enabled for the current viewer. More...
 
bool stereo ()
 Flag if stereo should be enabled for the current viewer. More...
 
CursorPaintercursorPainter ()
 Flag if stereo should be enabled for the current viewer. More...
 
void cursorPainter (CursorPainter *_painter)
 Flag if stereo should be enabled for the current viewer. More...
 
ACG::Vec3d cursorPoint3D ()
 Flag if stereo should be enabled for the current viewer. More...
 
void cursorPoint3D (ACG::Vec3d _pos)
 Flag if stereo should be enabled for the current viewer. More...
 
bool cursorPositionValid ()
 Flag if stereo should be enabled for the current viewer. More...
 
void cursorPositionValid (bool _valid)
 Flag if stereo should be enabled for the current viewer. More...
 

Viewer id handling

int viewerId_
 Stores the id of the viewer this property belongs to. More...
 
QString settingsSection_
 String for the Settings storage. More...
 
int viewerId ()
 Get the id of the viewer this viewerproperties belongs to. More...
 
void viewerId (int _id)
 Set the id of the viewer this viewerproperties belongs to. More...
 

Detailed Description

Definition at line 107 of file ViewerProperties.hh.

Constructor & Destructor Documentation

◆ ViewerProperties()

Viewer::ViewerProperties::ViewerProperties ( int  _id)
explicit

Definition at line 53 of file ViewerProperties.cc.

◆ ~ViewerProperties()

Viewer::ViewerProperties::~ViewerProperties ( )

Definition at line 89 of file ViewerProperties.cc.

Member Function Documentation

◆ actionMode() [1/2]

Viewer::ActionMode Viewer::ViewerProperties::actionMode ( )

get the action mode

Definition at line 116 of file ViewerProperties.cc.

◆ actionMode() [2/2]

void Viewer::ViewerProperties::actionMode ( const Viewer::ActionMode  _am)

set active action mode

Definition at line 122 of file ViewerProperties.cc.

◆ adjustForDevicePixelRatio() [1/2]

QPoint Viewer::ViewerProperties::adjustForDevicePixelRatio ( QPoint const &  point) const

adjust point for DPR

Definition at line 403 of file ViewerProperties.cc.

◆ adjustForDevicePixelRatio() [2/2]

QPointF Viewer::ViewerProperties::adjustForDevicePixelRatio ( QPointF const &  point) const

Width of the gl scene in orthogonal mode ( defaults to 2.0 )

Definition at line 410 of file ViewerProperties.cc.

◆ animation [1/2]

bool Viewer::ViewerProperties::animation ( )
slot

is 2-sided lighing enabled?

Definition at line 314 of file ViewerProperties.cc.

◆ animation [2/2]

void Viewer::ViewerProperties::animation ( bool  _state)
slot

set 2-sided lighting on/off

Definition at line 309 of file ViewerProperties.cc.

◆ backFaceCulling [1/2]

bool Viewer::ViewerProperties::backFaceCulling ( )
slot

Get current state of backface culling.

Definition at line 274 of file ViewerProperties.cc.

◆ backFaceCulling [2/2]

void Viewer::ViewerProperties::backFaceCulling ( bool  _state)
slot

Enable or disable backface culling.

Definition at line 278 of file ViewerProperties.cc.

◆ backgroundColor [1/4]

ACG::Vec4f Viewer::ViewerProperties::backgroundColor ( )
slot

Get current background color.

Definition at line 215 of file ViewerProperties.cc.

◆ backgroundColor [2/4]

void Viewer::ViewerProperties::backgroundColor ( ACG::Vec4f  _color)
slot

Set background color.

Definition at line 237 of file ViewerProperties.cc.

◆ backgroundColor [3/4]

void Viewer::ViewerProperties::backgroundColor ( QColor  _color)
slot

Set background color.

Definition at line 250 of file ViewerProperties.cc.

◆ backgroundColor [4/4]

void Viewer::ViewerProperties::backgroundColor ( QRgb  _color)
slot

Set background color.

Definition at line 241 of file ViewerProperties.cc.

◆ backgroundColorRgb

QRgb Viewer::ViewerProperties::backgroundColorRgb ( )
slot

Get current background color.

Definition at line 219 of file ViewerProperties.cc.

◆ backgroundQColor

QColor Viewer::ViewerProperties::backgroundQColor ( )
slot

Get current background color.

Definition at line 228 of file ViewerProperties.cc.

◆ ccwFront

void Viewer::ViewerProperties::ccwFront ( )
slot

Set counter clockwise orientation as front.

Definition at line 205 of file ViewerProperties.cc.

◆ currentViewingDirection() [1/2]

int Viewer::ViewerProperties::currentViewingDirection ( )

Pointer to the glState of the Viewer.

Definition at line 126 of file ViewerProperties.cc.

◆ currentViewingDirection() [2/2]

void Viewer::ViewerProperties::currentViewingDirection ( int  _dir)

Pointer to the glState of the Viewer.

Definition at line 130 of file ViewerProperties.cc.

◆ cursorPainter() [1/2]

CursorPainter * Viewer::ViewerProperties::cursorPainter ( )

Flag if stereo should be enabled for the current viewer.

Definition at line 427 of file ViewerProperties.cc.

◆ cursorPainter() [2/2]

void Viewer::ViewerProperties::cursorPainter ( CursorPainter _painter)

Flag if stereo should be enabled for the current viewer.

Definition at line 431 of file ViewerProperties.cc.

◆ cursorPoint3D() [1/2]

ACG::Vec3d Viewer::ViewerProperties::cursorPoint3D ( )

Flag if stereo should be enabled for the current viewer.

Definition at line 435 of file ViewerProperties.cc.

◆ cursorPoint3D() [2/2]

void Viewer::ViewerProperties::cursorPoint3D ( ACG::Vec3d  _pos)

Flag if stereo should be enabled for the current viewer.

Definition at line 439 of file ViewerProperties.cc.

◆ cursorPositionValid() [1/2]

bool Viewer::ViewerProperties::cursorPositionValid ( )

Flag if stereo should be enabled for the current viewer.

Definition at line 443 of file ViewerProperties.cc.

◆ cursorPositionValid() [2/2]

void Viewer::ViewerProperties::cursorPositionValid ( bool  _valid)

Flag if stereo should be enabled for the current viewer.

Definition at line 447 of file ViewerProperties.cc.

◆ cwFront

void Viewer::ViewerProperties::cwFront ( )
slot

Set clockwise orientation as front.

Definition at line 210 of file ViewerProperties.cc.

◆ drawMode() [1/2]

ACG::SceneGraph::DrawModes::DrawMode Viewer::ViewerProperties::drawMode ( )

get current draw mode

Definition at line 157 of file ViewerProperties.cc.

◆ drawMode() [2/2]

void Viewer::ViewerProperties::drawMode ( ACG::SceneGraph::DrawModes::DrawMode  _mode)

set draw mode (No test if this mode is available!)

Definition at line 151 of file ViewerProperties.cc.

◆ farPlane()

double Viewer::ViewerProperties::farPlane ( )

Return distance to far Plane.

Definition at line 358 of file ViewerProperties.cc.

◆ getDevicePixelRatio()

float Viewer::ViewerProperties::getDevicePixelRatio ( ) const

get device pixel ratio

Definition at line 398 of file ViewerProperties.cc.

◆ glState() [1/2]

ACG::GLState & Viewer::ViewerProperties::glState ( )

Get the glState of the Viewer.

Definition at line 318 of file ViewerProperties.cc.

◆ glState() [2/2]

const ACG::GLState & Viewer::ViewerProperties::glState ( ) const

Pointer to the glState of the Viewer.

Definition at line 322 of file ViewerProperties.cc.

◆ isCCWFront

bool Viewer::ViewerProperties::isCCWFront ( )
slot

true if counter clockwise orientation should be used to define front facing orientation.

Definition at line 201 of file ViewerProperties.cc.

◆ lockUpdate

void Viewer::ViewerProperties::lockUpdate ( )
slot

Lock update of display. If locked (isUpdateLocked()) then all calls to updateDisplayList() and updateGL() will have no effect! This is true until the display is unlockUpdate()'ed.

Definition at line 258 of file ViewerProperties.cc.

◆ mipmapping [1/2]

bool Viewer::ViewerProperties::mipmapping ( )
slot

is mipmapping enabled?

Definition at line 305 of file ViewerProperties.cc.

◆ mipmapping [2/2]

void Viewer::ViewerProperties::mipmapping ( bool  _state)
slot

set mipmapping on/off

Definition at line 301 of file ViewerProperties.cc.

◆ multisampling [1/2]

bool Viewer::ViewerProperties::multisampling ( )
slot

is multisampling enabled?

Definition at line 297 of file ViewerProperties.cc.

◆ multisampling [2/2]

void Viewer::ViewerProperties::multisampling ( bool  _state)
slot

set multisampling on/off

Definition at line 292 of file ViewerProperties.cc.

◆ nearPlane()

double Viewer::ViewerProperties::nearPlane ( )

Return distance to near Plane.

Definition at line 348 of file ViewerProperties.cc.

◆ objectMarker [1/2]

ViewObjectMarker * Viewer::ViewerProperties::objectMarker ( )
slot

current object marker

Definition at line 335 of file ViewerProperties.cc.

◆ objectMarker [2/2]

void Viewer::ViewerProperties::objectMarker ( ViewObjectMarker _marker)
slot

set object marker for viewer

Definition at line 330 of file ViewerProperties.cc.

◆ orthoWidth() [1/2]

double Viewer::ViewerProperties::orthoWidth ( )

Get width of the gl scene in orthogonal projection mode (defaults to 2.0)

Definition at line 339 of file ViewerProperties.cc.

◆ orthoWidth() [2/2]

void Viewer::ViewerProperties::orthoWidth ( double  _width)

Set the width of the gl scene in orthogonal projection mode.

Definition at line 343 of file ViewerProperties.cc.

◆ pickMode() [1/2]

std::string Viewer::ViewerProperties::pickMode ( )

get active pick mode

Definition at line 105 of file ViewerProperties.cc.

◆ pickMode() [2/2]

void Viewer::ViewerProperties::pickMode ( const std::string &  _name)

set the pickMode

Definition at line 112 of file ViewerProperties.cc.

◆ rotationLocked() [1/2]

bool Viewer::ViewerProperties::rotationLocked ( )

Pointer to the glState of the Viewer.

Definition at line 134 of file ViewerProperties.cc.

◆ rotationLocked() [2/2]

void Viewer::ViewerProperties::rotationLocked ( bool  _lock)

Pointer to the glState of the Viewer.

Definition at line 138 of file ViewerProperties.cc.

◆ sceneCenter() [1/2]

ACG::Vec3d Viewer::ViewerProperties::sceneCenter ( )

Get current scene center (rendering center)

Definition at line 362 of file ViewerProperties.cc.

◆ sceneCenter() [2/2]

void Viewer::ViewerProperties::sceneCenter ( ACG::Vec3d  _center)

Set current scene center (rendering center)

Definition at line 366 of file ViewerProperties.cc.

◆ sceneRadius() [1/2]

double Viewer::ViewerProperties::sceneRadius ( )

Get radius of the current scene.

Definition at line 372 of file ViewerProperties.cc.

◆ sceneRadius() [2/2]

void Viewer::ViewerProperties::sceneRadius ( double  _radius)

Set radius of the current scene.

Definition at line 376 of file ViewerProperties.cc.

◆ setDevicePixelRatio()

void Viewer::ViewerProperties::setDevicePixelRatio ( float  dpr)

set device pixel ratio

Definition at line 401 of file ViewerProperties.cc.

◆ setglState()

void Viewer::ViewerProperties::setglState ( ACG::GLState _glState)

Pointer to the glState of the Viewer.

Definition at line 326 of file ViewerProperties.cc.

◆ setPlanes()

void Viewer::ViewerProperties::setPlanes ( double  _near,
double  _far 
)

Set near and far plane at the same time.

Definition at line 352 of file ViewerProperties.cc.

◆ snapshotBaseFileName

void Viewer::ViewerProperties::snapshotBaseFileName ( const QString &  _fname)
slot

Set the base file name and reset the counter for snapshots.

The current snapshot counter will be added in front of the last "." in the filename.

Note: Calling snapshotBaseFileName() will always reset the snapshot counter to 0.

Definition at line 96 of file ViewerProperties.cc.

◆ snapshotCounter [1/2]

int Viewer::ViewerProperties::snapshotCounter ( )
slot

Get the counter for the current snapshot and increases the counter

Definition at line 173 of file ViewerProperties.cc.

◆ snapshotCounter [2/2]

void Viewer::ViewerProperties::snapshotCounter ( const int  _counter)
slot

Set the start index for the snapshot counter

Definition at line 161 of file ViewerProperties.cc.

◆ snapshotFileType [1/2]

QString Viewer::ViewerProperties::snapshotFileType ( )
slot

Get the file type for the current snapshot

Definition at line 165 of file ViewerProperties.cc.

◆ snapshotFileType [2/2]

void Viewer::ViewerProperties::snapshotFileType ( const QString &  _type)
slot

Set the file type for snapshots. defaults to png"

Definition at line 101 of file ViewerProperties.cc.

◆ snapshotName

QString Viewer::ViewerProperties::snapshotName ( )
slot

Get the name for the current snapshot

Definition at line 169 of file ViewerProperties.cc.

◆ stereo() [1/2]

bool Viewer::ViewerProperties::stereo ( )

Flag if stereo should be enabled for the current viewer.

Definition at line 423 of file ViewerProperties.cc.

◆ stereo() [2/2]

void Viewer::ViewerProperties::stereo ( bool  _stereo)

Flag if stereo should be enabled for the current viewer.

Definition at line 418 of file ViewerProperties.cc.

◆ trackballCenter() [1/2]

ACG::Vec3d Viewer::ViewerProperties::trackballCenter ( )

Get virtual trackball center (rotation center when using mouse)

Definition at line 381 of file ViewerProperties.cc.

◆ trackballCenter() [2/2]

void Viewer::ViewerProperties::trackballCenter ( ACG::Vec3d  _center)

Set virtual trackball center (rotation center when using mouse)

Definition at line 385 of file ViewerProperties.cc.

◆ trackballRadius() [1/2]

double Viewer::ViewerProperties::trackballRadius ( )

Get trackball radius (rotation sphere when using mouse)

Definition at line 390 of file ViewerProperties.cc.

◆ trackballRadius() [2/2]

void Viewer::ViewerProperties::trackballRadius ( double  _radius)

Set trackball radius (rotation sphere when using mouse)

Definition at line 394 of file ViewerProperties.cc.

◆ twoSidedLighting [1/2]

bool Viewer::ViewerProperties::twoSidedLighting ( )
slot

is 2-sided lighing enabled?

Definition at line 288 of file ViewerProperties.cc.

◆ twoSidedLighting [2/2]

void Viewer::ViewerProperties::twoSidedLighting ( bool  _state)
slot

set 2-sided lighting on/off

Definition at line 283 of file ViewerProperties.cc.

◆ unLockUpdate

void Viewer::ViewerProperties::unLockUpdate ( )
slot

Unlock display locked by updateLock().

Definition at line 262 of file ViewerProperties.cc.

◆ updateLocked

bool Viewer::ViewerProperties::updateLocked ( )
slot

Are updateDisplayList() and updateGL() locked? (c.f. lockUpdate())

Definition at line 270 of file ViewerProperties.cc.

◆ viewerId() [1/2]

int Viewer::ViewerProperties::viewerId ( )

Get the id of the viewer this viewerproperties belongs to.

Definition at line 142 of file ViewerProperties.cc.

◆ viewerId() [2/2]

void Viewer::ViewerProperties::viewerId ( int  _id)

Set the id of the viewer this viewerproperties belongs to.

Definition at line 146 of file ViewerProperties.cc.

◆ wheelInvert [1/2]

bool Viewer::ViewerProperties::wheelInvert ( )
slot

Invert mouse wheel direction?

Definition at line 193 of file ViewerProperties.cc.

◆ wheelInvert [2/2]

void Viewer::ViewerProperties::wheelInvert ( bool  _invert)
slot

Invert mouse wheel direction.

Definition at line 197 of file ViewerProperties.cc.

◆ wheelZoomFactor [1/2]

double Viewer::ViewerProperties::wheelZoomFactor ( )
slot

Zoom factor when using mouse wheel.

Definition at line 177 of file ViewerProperties.cc.

◆ wheelZoomFactor [2/2]

void Viewer::ViewerProperties::wheelZoomFactor ( double  _factor)
slot

Set zoom factor when using mouse wheel.

Definition at line 185 of file ViewerProperties.cc.

◆ wheelZoomFactorShift [1/2]

double Viewer::ViewerProperties::wheelZoomFactorShift ( )
slot

Zoom factor when using mouse wheel and pressing shift.

Definition at line 181 of file ViewerProperties.cc.

◆ wheelZoomFactorShift [2/2]

void Viewer::ViewerProperties::wheelZoomFactorShift ( double  _factor)
slot

Set zoom factor when using mouse wheel and pressing shift.

Definition at line 189 of file ViewerProperties.cc.

Member Data Documentation

◆ animation_

bool Viewer::ViewerProperties::animation_
private

Pointer to the glState of the Viewer.

Definition at line 345 of file ViewerProperties.hh.

◆ backFaceCulling_

bool Viewer::ViewerProperties::backFaceCulling_
private

Pointer to the glState of the Viewer.

Definition at line 297 of file ViewerProperties.hh.

◆ backgroundColor_

ACG::Vec4f Viewer::ViewerProperties::backgroundColor_
private

Pointer to the glState of the Viewer.

Definition at line 263 of file ViewerProperties.hh.

◆ CCWFront_

bool Viewer::ViewerProperties::CCWFront_
private

Pointer to the glState of the Viewer.

Definition at line 234 of file ViewerProperties.hh.

◆ currentDrawMode_

ACG::SceneGraph::DrawModes::DrawMode Viewer::ViewerProperties::currentDrawMode_
private

set draw mode (No test if this mode is available!)

Definition at line 129 of file ViewerProperties.hh.

◆ currentViewingDirection_

int Viewer::ViewerProperties::currentViewingDirection_
private

Pointer to the glState of the Viewer.

Definition at line 381 of file ViewerProperties.hh.

◆ cursorPainter_

CursorPainter* Viewer::ViewerProperties::cursorPainter_
private

Flag if stereo should be enabled for the current viewer.

Definition at line 528 of file ViewerProperties.hh.

◆ cursorPoint3D_

ACG::Vec3d Viewer::ViewerProperties::cursorPoint3D_
private

Flag if stereo should be enabled for the current viewer.

Definition at line 531 of file ViewerProperties.hh.

◆ cursorPositionValid_

bool Viewer::ViewerProperties::cursorPositionValid_
private

Flag if stereo should be enabled for the current viewer.

Definition at line 534 of file ViewerProperties.hh.

◆ device_pixel_ratio_

float Viewer::ViewerProperties::device_pixel_ratio_ = 1.f
private

by default the device pixel ratio is 1

Definition at line 484 of file ViewerProperties.hh.

◆ farPlane_

double Viewer::ViewerProperties::farPlane_
private

distance to far Plane

Definition at line 469 of file ViewerProperties.hh.

◆ glState_

ACG::GLState* Viewer::ViewerProperties::glState_
private

Pointer to the glState of the Viewer.

Definition at line 359 of file ViewerProperties.hh.

◆ locked_

int Viewer::ViewerProperties::locked_
private

Pointer to the glState of the Viewer.

Definition at line 284 of file ViewerProperties.hh.

◆ mipmapping_

bool Viewer::ViewerProperties::mipmapping_
private

Pointer to the glState of the Viewer.

Definition at line 333 of file ViewerProperties.hh.

◆ multisampling_

bool Viewer::ViewerProperties::multisampling_
private

Pointer to the glState of the Viewer.

Definition at line 321 of file ViewerProperties.hh.

◆ nearPlane_

double Viewer::ViewerProperties::nearPlane_
private

Distance to near Plane.

Definition at line 466 of file ViewerProperties.hh.

◆ objectMarker_

ViewObjectMarker* Viewer::ViewerProperties::objectMarker_
private

Pointer to the glState of the Viewer.

Definition at line 371 of file ViewerProperties.hh.

◆ orthoWidth_

double Viewer::ViewerProperties::orthoWidth_
private

Width of the gl scene in orthogonal mode ( defaults to 2.0 )

Definition at line 463 of file ViewerProperties.hh.

◆ rotationLocked_

bool Viewer::ViewerProperties::rotationLocked_
private

Pointer to the glState of the Viewer.

Definition at line 391 of file ViewerProperties.hh.

◆ sceneCenter_

ACG::Vec3d Viewer::ViewerProperties::sceneCenter_
private

Current scene center (rendering center)

Definition at line 472 of file ViewerProperties.hh.

◆ sceneRadius_

double Viewer::ViewerProperties::sceneRadius_
private

Radius of the current scene.

Definition at line 475 of file ViewerProperties.hh.

◆ settingsSection_

QString Viewer::ViewerProperties::settingsSection_
private

String for the Settings storage.

Definition at line 589 of file ViewerProperties.hh.

◆ snapshotCounter_

int Viewer::ViewerProperties::snapshotCounter_
private

Set the base file name and reset the counter for snapshots.

The current snapshot counter will be added in front of the last "." in the filename.

Note: Calling snapshotBaseFileName() will always reset the snapshot counter to 0.

Definition at line 167 of file ViewerProperties.hh.

◆ snapshotFileType_

QString Viewer::ViewerProperties::snapshotFileType_
private

Set the base file name and reset the counter for snapshots.

The current snapshot counter will be added in front of the last "." in the filename.

Note: Calling snapshotBaseFileName() will always reset the snapshot counter to 0.

Definition at line 166 of file ViewerProperties.hh.

◆ snapshotName_

QString Viewer::ViewerProperties::snapshotName_
private

Set the base file name and reset the counter for snapshots.

The current snapshot counter will be added in front of the last "." in the filename.

Note: Calling snapshotBaseFileName() will always reset the snapshot counter to 0.

Definition at line 165 of file ViewerProperties.hh.

◆ stereo_

bool Viewer::ViewerProperties::stereo_
private

Flag if stereo should be enabled for the current viewer.

Definition at line 503 of file ViewerProperties.hh.

◆ trackballCenter_

ACG::Vec3d Viewer::ViewerProperties::trackballCenter_
private

Virtual trackball center (rotation center when using mouse)

Definition at line 478 of file ViewerProperties.hh.

◆ trackballRadius_

double Viewer::ViewerProperties::trackballRadius_
private

trackball radius (rotation sphere when using mouse)

Definition at line 481 of file ViewerProperties.hh.

◆ twoSidedLighting_

bool Viewer::ViewerProperties::twoSidedLighting_
private

Pointer to the glState of the Viewer.

Definition at line 309 of file ViewerProperties.hh.

◆ viewerId_

int Viewer::ViewerProperties::viewerId_
private

Stores the id of the viewer this property belongs to.

Definition at line 586 of file ViewerProperties.hh.

◆ wInvert_

bool Viewer::ViewerProperties::wInvert_
private

Zoom factor when using mouse wheel.

Definition at line 203 of file ViewerProperties.hh.

◆ wZoomFactor_

double Viewer::ViewerProperties::wZoomFactor_
private

Zoom factor when using mouse wheel.

Definition at line 199 of file ViewerProperties.hh.

◆ wZoomFactorShift_

double Viewer::ViewerProperties::wZoomFactorShift_
private

Zoom factor when using mouse wheel.

Definition at line 201 of file ViewerProperties.hh.


The documentation for this class was generated from the following files: