42 void addRenderLayer(RenderLayer* layer); |
42 void addRenderLayer(RenderLayer* layer); |
43 void setLayerEnabled(RenderLayer* layer, bool enabled); |
43 void setLayerEnabled(RenderLayer* layer, bool enabled); |
44 std::optional<glm::vec3> screenToModelCoordinates(const QPointF& point, const Plane& plane) const; |
44 std::optional<glm::vec3> screenToModelCoordinates(const QPointF& point, const Plane& plane) const; |
45 QPointF modelToScreenCoordinates(const glm::vec3& point) const; |
45 QPointF modelToScreenCoordinates(const glm::vec3& point) const; |
46 bool isDark() const; |
46 bool isDark() const; |
47 ElementId pick(QPoint where); |
47 std::int32_t pick(QPoint where); |
48 void setSelection(const QSet<ElementId>& selectedIds); |
48 void setSelection(const QSet<std::int32_t>& selectedIds); |
49 glm::vec3 cameraVector(const QPointF& point) const; |
49 glm::vec3 cameraVector(const QPointF& point) const; |
50 Line<3> cameraLine(const QPointF& point) const; |
50 Line<3> cameraLine(const QPointF& point) const; |
51 Q_SIGNALS: |
51 Q_SIGNALS: |
52 void projectionMatrixChanged(const glm::mat4& newMatrix); |
52 void projectionMatrixChanged(const glm::mat4& newMatrix); |
53 void modelMatrixChanged(const glm::mat4& newMatrix); |
53 void modelMatrixChanged(const glm::mat4& newMatrix); |