-// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
class SUIT_Desktop;
class OCCViewer_ViewPort3d;
class OCCViewer_ViewSketcher;
+class OCCViewer_AutoRotate;
class OCCViewer_AxialScaleDlg;
class OCCViewer_SetRotationPointDlg;
class OCCViewer_Viewer;
virtual bool isAutomaticZoom() const;
virtual void setAutomaticZoom( const bool );
+ virtual void enableAutoRotation( const bool );
+
void setTransformEnabled( const OperationType, const bool );
bool transformEnabled( const OperationType ) const;
gp_Pnt mySelectedPoint;
bool myRotationPointSelection;
- int myRestoreFlag;
+ int myRestoreFlag;
- int myStartX;
- int myStartY;
- int myCurrX;
- int myCurrY;
+ int myStartX;
+ int myStartY;
+ qint64 myStartTime;
+ int myCurrX;
+ int myCurrY;
+ qint64 myCurrTime;
bool myEventStarted; // set when transformation is in process
bool myCursorIsHand;
QtxRectRubberBand* myRectBand; //!< selection rectangle rubber band
+ OCCViewer_AutoRotate *myAutoRotate;
+
bool mySelectionEnabled;
bool myPreselectionEnabled;
int myInteractionStyle;