src/canvas.h

changeset 1369
1e2391b78d17
parent 1326
69a90bd2dba2
child 1385
2f18c0da749d
child 1390
3eace926af7f
--- a/src/canvas.h	Sun Apr 01 15:32:30 2018 +0300
+++ b/src/canvas.h	Mon Apr 02 10:33:17 2018 +0300
@@ -32,12 +32,15 @@
 	void drawPoint(QPainter& painter, QPointF pos, QColor color = QColor (64, 192, 0)) const;
 	void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d) const;
 	void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d, QPointF pos) const;
+	void clearCurrentCullValue();
+	double currentCullValue() const;
 	double getDepthValue() const;
 	void getRelativeAxes(Axis& relX, Axis& relY) const;
 	Axis getRelativeZ() const;
 	QPen linePen() const;
 	const Vertex& position3D() const;
 	void setDepthValue(double depth);
+	void setCullValue(double value);
 	void setEditMode(EditModeType type);
 
 protected:
@@ -58,4 +61,5 @@
 	AbstractEditMode* m_currentEditMode = nullptr;
 	Vertex m_position3D;
 	double m_depthValues[6] = {0};
+	double cullValues[6] = {0};
 };

mercurial