23 #ifndef VTKVIEWER_VIEWWINDOW_H
24 #define VTKVIEWER_VIEWWINDOW_H
43 #pragma warning( disable:4251 )
59 void setBackgroundColor(
const QColor& );
60 QColor backgroundColor()
const;
70 bool isTrihedronDisplayed();
72 void Repaint(
bool theUpdateTrihedron =
true );
73 void onAdjustTrihedron();
74 void GetScale(
double theScale[3] );
75 void SetScale(
double theScale[3] );
89 void onClockWiseView();
90 void onAntiClockWiseView();
93 void onFitSelection();
95 void activateWindowFit();
96 void activateRotation();
97 void activatePanning();
98 void activateGlobalPanning();
99 void onTrihedronShow();
105 void onKeyPressed(QKeyEvent* event);
106 void onKeyReleased(QKeyEvent* event);
107 void onMousePressed(QMouseEvent* event);
108 void onMouseDoubleClicked(QMouseEvent* event);
109 void onMouseReleased(QMouseEvent* event);
110 void onMouseMoving(QMouseEvent* event);
114 bool theMoveInternalActors =
false );
118 enum { DumpId, FitAllId, FitRectId, FitSelectionId,
ZoomId, PanId, GlobalPanId, RotationId,
119 FrontId, BackId,
TopId, BottomId, LeftId, RightId, ClockWiseId, AntiClockWiseId,
120 ResetId, TrihedronShowId };
123 void createActions();
124 void createToolBar();
145 #pragma warning( default:4251 )