30 int depthNegateFactor() const; |
30 int depthNegateFactor() const; |
31 LDDocument* document() const; |
31 LDDocument* document() const; |
32 void drawPoint(QPainter& painter, QPointF pos, QColor color = QColor (64, 192, 0)) const; |
32 void drawPoint(QPainter& painter, QPointF pos, QColor color = QColor (64, 192, 0)) const; |
33 void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d) const; |
33 void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d) const; |
34 void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d, QPointF pos) const; |
34 void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d, QPointF pos) const; |
|
35 void clearCurrentCullValue(); |
|
36 double currentCullValue() const; |
35 double getDepthValue() const; |
37 double getDepthValue() const; |
36 void getRelativeAxes(Axis& relX, Axis& relY) const; |
38 void getRelativeAxes(Axis& relX, Axis& relY) const; |
37 Axis getRelativeZ() const; |
39 Axis getRelativeZ() const; |
38 QPen linePen() const; |
40 QPen linePen() const; |
39 const Vertex& position3D() const; |
41 const Vertex& position3D() const; |
40 void setDepthValue(double depth); |
42 void setDepthValue(double depth); |
|
43 void setCullValue(double value); |
41 void setEditMode(EditModeType type); |
44 void setEditMode(EditModeType type); |
42 |
45 |
43 protected: |
46 protected: |
44 void contextMenuEvent(QContextMenuEvent* event) override; |
47 void contextMenuEvent(QContextMenuEvent* event) override; |
45 void dragEnterEvent(QDragEnterEvent* event) override; |
48 void dragEnterEvent(QDragEnterEvent* event) override; |