src/gl/partrenderer.h

changeset 333
07e65a4c6611
parent 322
a39f454a3d7f
child 338
719b909a7d2b
equal deleted inserted replaced
332:ae7f7fbb9cda 333:07e65a4c6611
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);

mercurial