Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GLViewer_View2dTransformer Class Reference

#include <GLViewer_Viewer2d.h>

Inheritance diagram for GLViewer_View2dTransformer:
Inheritance graph

Public Member Functions

 GLViewer_View2dTransformer (GLViewer_Viewer *, int)
 
 ~GLViewer_View2dTransformer ()
 
virtual void exec ()
 
- Public Member Functions inherited from GLViewer_ViewTransformer
 GLViewer_ViewTransformer (GLViewer_Viewer *, int type)
 
 ~GLViewer_ViewTransformer ()
 
int type () const
 
virtual bool eventFilter (QObject *, QEvent *)
 

Static Public Member Functions

static int rotateButton ()
 
static void setRotateButton (int b)
 
- Static Public Member Functions inherited from GLViewer_ViewTransformer
static int accelKey ()
 
static void setAccelKey (int k)
 
static int zoomButton ()
 
static void setZoomButton (int b)
 
static int panButton ()
 
static void setPanButton (int b)
 
static int panGlobalButton ()
 
static void setPanGlobalButton (int b)
 
static int fitRectButton ()
 
static void setFitRectButton (int b)
 

Protected Member Functions

void onTransform (TransformState)
 
- Protected Member Functions inherited from GLViewer_ViewTransformer
void initTransform (bool)
 
void drawRect (const QRect &theRect)
 
void endDrawRect ()
 Delete rubber band on the end on the dragging operation. More...
 

Static Protected Attributes

static int rotateBtn = Qt::RightButton
 
- Static Protected Attributes inherited from GLViewer_ViewTransformer
static int panBtn = Qt::MidButton
 
static int zoomBtn = Qt::LeftButton
 
static int fitRectBtn = Qt::LeftButton
 
static int panGlobalBtn = Qt::LeftButton
 
static int acccelKey = Qt::ControlModifier
 

Additional Inherited Members

- Protected Types inherited from GLViewer_ViewTransformer
enum  TransformState { Debut, EnTrain, Fin }
 
- Protected Attributes inherited from GLViewer_ViewTransformer
GLViewer_ViewermyViewer
 
int myType
 
QCursor mySavedCursor
 
bool mySavedMouseTrack
 
QPoint myStart
 
QPoint myCurr
 
int myButtonState
 
int myMajorBtn
 
QRubberBand * myRectBand
 selection rectangle rubber band More...
 

Constructor & Destructor Documentation

GLViewer_View2dTransformer::GLViewer_View2dTransformer ( GLViewer_Viewer viewer,
int  typ 
)
GLViewer_View2dTransformer::~GLViewer_View2dTransformer ( )

Member Function Documentation

static int GLViewer_View2dTransformer::rotateButton ( )
inlinestatic

Sets/returns mouse butto which will be used for rotation ( MB1 by default )

static void GLViewer_View2dTransformer::setRotateButton ( int  b)
inlinestatic

Member Data Documentation

int GLViewer_View2dTransformer::rotateBtn = Qt::RightButton
staticprotected

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