| 119 Camera m_camera, m_toolTipCamera; |
119 Camera m_camera, m_toolTipCamera; |
| 120 uint m_axeslist; |
120 uint m_axeslist; |
| 121 ushort m_width, m_height; |
121 ushort m_width, m_height; |
| 122 vector<vertex> m_drawedVerts; |
122 vector<vertex> m_drawedVerts; |
| 123 bool m_rectdraw; |
123 bool m_rectdraw; |
| |
124 vertex m_rectverts[4]; |
| 124 QColor m_bgcolor; |
125 QColor m_bgcolor; |
| 125 double m_depthValues[6]; |
126 double m_depthValues[6]; |
| 126 overlayMeta m_overlays[6]; |
127 overlayMeta m_overlays[6]; |
| 127 vector<vertex> m_knownVerts; |
128 vector<vertex> m_knownVerts; |
| |
129 bool m_panning; |
| 128 |
130 |
| 129 void addDrawnVertex (vertex m_hoverpos); |
131 void addDrawnVertex (vertex m_hoverpos); |
| 130 void calcCameraIcons (); // Compute geometry for camera icons |
132 void calcCameraIcons (); // Compute geometry for camera icons |
| 131 void clampAngle (double& angle) const; // Clamps an angle to [0, 360] |
133 void clampAngle (double& angle) const; // Clamps an angle to [0, 360] |
| 132 void compileList (LDObject* obj, const ListType list); // Compile one of the lists of an object |
134 void compileList (LDObject* obj, const ListType list); // Compile one of the lists of an object |
| 133 void compileSubObject (LDObject* obj, const GLenum gltype); // Sub-routine for object compiling |
135 void compileSubObject (LDObject* obj, const GLenum gltype); // Sub-routine for object compiling |
| 134 void compileVertex (const vertex& vrt); // Compile a single vertex to a list |
136 void compileVertex (const vertex& vrt); // Compile a single vertex to a list |
| 135 vertex coordconv2_3 (const QPoint& pos2d, bool snap) const; // Convert a 2D point to a 3D point |
137 vertex coordconv2_3 (const QPoint& pos2d, bool snap) const; // Convert a 2D point to a 3D point |
| 136 QPoint coordconv3_2 (const vertex& pos3d) const; // Convert a 3D point to a 2D point |
138 QPoint coordconv3_2 (const vertex& pos3d) const; // Convert a 3D point to a 2D point |
| 137 void pick (uint mouseX, uint mouseY); // Perform object selection |
139 void buildKnownVertBlips (); |
| 138 void setObjectColor (LDObject* obj, const ListType list); // Set the color to an object list |
140 void updateRectVerts (); |
| |
141 void pick (uint mouseX, uint mouseY); // Perform object selection |
| |
142 void setObjectColor (LDObject* obj, const ListType list); // Set the color to an object list |
| 139 |
143 |
| 140 private slots: |
144 private slots: |
| 141 void slot_toolTipTimer (); |
145 void slot_toolTipTimer (); |
| 142 }; |
146 }; |
| 143 |
147 |