8 #ifndef Q3DCAMERAWIDGET_H_ 9 #define Q3DCAMERAWIDGET_H_ 12 #include <QtCore/QTimer> 26 cameraLocation(
float rx,
float ry,
float x,
float y,
float z): rotX(rx), rotY(ry), position{x,y,z}
35 data[0] = data[1] = data[2] = 0;
50 void setData(
float*
data);
51 void setData(
short* data);
58 void resizeGL(
int cWidth,
int cHeight);
59 void drawCameraBody();
61 void mousePressEvent(QMouseEvent* event);
62 void mouseDoubleClickEvent(QMouseEvent *cEvent);
63 void mouseMoveEvent(QMouseEvent *cEvent);
76 void calculateColorsAndPositions();
cameraLocation(float rx, float ry, float x, float y, float z)