#include <GLViewer_Viewer.h>
Enumerator |
---|
Debut |
|
EnTrain |
|
Fin |
|
GLViewer_ViewSketcher::GLViewer_ViewSketcher |
( |
GLViewer_Viewer * |
viewer, |
|
|
int |
type |
|
) |
| |
GLViewer_ViewSketcher::~GLViewer_ViewSketcher |
( |
| ) |
|
int GLViewer_ViewSketcher::buttonState |
( |
| ) |
const |
|
inline |
Returns current state of mouse/sys kbd buttons
void* GLViewer_ViewSketcher::data |
( |
| ) |
const |
|
inline |
Returns result of sketching
void GLViewer_ViewSketcher::drawRect |
( |
const QRect & |
theRect | ) |
|
|
protected |
void GLViewer_ViewSketcher::endDrawRect |
( |
| ) |
|
|
protected |
bool GLViewer_ViewSketcher::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| |
|
virtual |
void GLViewer_ViewSketcher::onSketch |
( |
SketchState |
state | ) |
|
|
protectedvirtual |
Draws in the viewport. [ virtual protected ]
References GLViewer_Viewer::activateSketching(), data(), drawRect(), Fin, GLViewer_Viewer::getActiveView(), GLViewer_ViewFrame::getViewPort(), myButtonState, myCurr, myRectBand, myStart, myType, myViewer, GLViewer_Viewer::NoSketching, GLViewer_Viewer::Rect, and sketchButton().
static void GLViewer_ViewSketcher::setSketchButton |
( |
int |
b | ) |
|
|
inlinestatic |
static int GLViewer_ViewSketcher::sketchButton |
( |
| ) |
|
|
inlinestatic |
Sets/returns mouse button used for sketching ( MB1 by default )
int GLViewer_ViewSketcher::type |
( |
| ) |
const |
|
inline |
int GLViewer_ViewSketcher::myButtonState |
|
protected |
QPoint GLViewer_ViewSketcher::myCurr |
|
protected |
void* GLViewer_ViewSketcher::myData |
|
protected |
QRubberBand* GLViewer_ViewSketcher::myRectBand |
|
protected |
QCursor GLViewer_ViewSketcher::mySavedCursor |
|
protected |
QPoint GLViewer_ViewSketcher::myStart |
|
protected |
int GLViewer_ViewSketcher::myType |
|
protected |
int GLViewer_ViewSketcher::sketchBtn = Qt::LeftButton |
|
staticprotected |
The documentation for this class was generated from the following files: