Developer Documentation
ViewerProperties.hh File Reference
#include <QObject>
#include <QColor>
#include <OpenFlipper/common/GlobalDefines.hh>
#include <ACG/Math/VectorT.hh>
#include <ACG/Scenegraph/SceneGraph.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#include <ACG/GL/GLState.hh>
#include <OpenFlipper/widgets/glWidget/CursorPainter.hh>

Go to the source code of this file.


class  Viewer::ViewerProperties


enum  Viewer::ActionMode { Viewer::ExamineMode, Viewer::PickingMode, Viewer::QuestionMode, Viewer::LightMode }
 Enum listing action modes of the viewers. More...

Detailed Description

This file contains a class for managing all viewer settings

Definition in file ViewerProperties.hh.

Enumeration Type Documentation

◆ ActionMode

Enum listing action modes of the viewers.

These enums are used to control the reaction of the MouseInterface and the viewer on mouse events.


Examine or Move mode.

In this mode no events are passed to the MouseInterface. Only the viewer is active with mouse navigation.


Picking Mode.

In this mode the MouseInterface::slotMouseEvent() function gets called.

The picking itself has to be performed by the plugins e.g. when implementing Mouse Interface


Question Mode.

In this mode the MouseInterface::slotMouseEventIdentify() function gets called


Light mode.

In this mode the MouseInterface::slotMouseEventLight() function is called

Definition at line 75 of file ViewerProperties.hh.