31 QSize minimumSizeHint()
const;
32 QSize sizeHint()
const;
34 void mousePressEvent(QMouseEvent *e);
35 void mouseMoveEvent(QMouseEvent *e);
36 void mouseReleaseEvent(QMouseEvent *e);
37 void wheelEvent(QWheelEvent *e);
38 void screenshot(QString file);
40 void setCamPos(
Vec3 pos) { mCamPos = pos; }
41 void setCamRot(
Vec3 pos) { mRotX = pos.x; mRotY = pos.y; }
44 void setViewport(
const Vec3i& gridsize);
45 void keyPressEvent(QKeyEvent* e);
46 void keyReleaseEvent(QKeyEvent* e);
47 void windowSize(
int w,
int h);
51 void clickLine(QPoint pos,
float p0,
float p1,
float p2,
float q0,
float q1,
float q2);
52 void painterEvent(
int e,
int param=0);
55 bool keyProcess(
int key,
int mod,
bool down);
56 void timerEvent(QTimerEvent* e);
58 void resizeGL(
int w,
int h);
60 void updatePlane(
int plane);
62 enum MoveDir { None = 0, MoveLeft, MoveRight, MoveUp, MoveDown, MoveIn, MoveOut, MoveDirNum };
64 bool mMoveState[MoveDirNum];
66 QPoint mAnchor, mDownPos;
70 int mPlaneDim, mPlane;
72 int mScreenshotNumber;
Definition: commonkernels.h:22
Basic inlined vector class.
Definition: vectorbase.h:71