ACG::QtWidgets::QtExaminerViewer Class Reference

#include <ACG/QtWidgets/QtExaminerViewer.hh>

Inheritance diagram for ACG::QtWidgets::QtExaminerViewer:
Inheritance graph
[legend]
Collaboration diagram for ACG::QtWidgets::QtExaminerViewer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QtExaminerViewer (QWidget *_parent=0, const char *_name=0, QStatusBar *_statusBar=0, const QGLFormat *_format=0, const QtBaseViewer *_share=0, Options _options=DefaultOptions)
 Constructor.
void allowRotation (bool _mode)
 Lock scene rotation.
double wheelZoomFactor ()
 Factors for zooming with the wheel.
double wheelZoomFactorShift ()
void setWheelZoomFactor (double _factor)
void setWheelZoomFactorShift (double _factor)

Protected Member Functions

virtual bool viewKeyPressEvent (QKeyEvent *)
 handle new key events
virtual void viewWheelEvent (QWheelEvent *_event)
 handle wheel events
virtual void viewMouseEvent (QMouseEvent *_event)
 handle mouse events
virtual void lightMouseEvent (QMouseEvent *_event)
 handle mouse events

Protected Attributes

QPoint lastPoint2D_

Private Slots

void slotAnimation ()

Private Member Functions

bool mapToSphere (const QPoint &_p, Vec3d &_result) const
 virtual trackball: map 2D screen point to unit sphere

Private Attributes

double wZoomFactor_
double wZoomFactorShift_
Vec3d lastPoint3D_
bool lastPoint_hitSphere_
bool allowRotation_
Vec3d lastRotationAxis_
double lastRotationAngle_
QTime lastMoveTime_
QTimer * timer_

Detailed Description

Widgets used to display and examine scenegraphs. This widget is used in all viewers that want to explore scenegraphs. For WalkMode use "QtWalkViewer"

Definition at line 90 of file QtExaminerViewer.hh.


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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .