| 10 class linetypes::SubfileReference : public ColoredObject |
12 class linetypes::SubfileReference : public ColoredObject |
| 11 { |
13 { |
| 12 public: |
14 public: |
| 13 SubfileReference() = default; |
15 SubfileReference() = default; |
| 14 SubfileReference( |
16 SubfileReference( |
| 15 const Point3D& position, |
17 const Matrix4x4& transformation, |
| 16 const Matrix3x3& transformation, |
|
| 17 const QString &referenceName, |
18 const QString &referenceName, |
| 18 const Color color = colors::main); |
19 const Color color = colors::main); |
| 19 QVariant getProperty(Property property) const override; |
20 QVariant getProperty(Property property) const override; |
| 20 SetPropertyResult setProperty(Property property, const QVariant& value) override; |
21 SetPropertyResult setProperty(Property property, const QVariant& value) override; |
| 21 QString textRepresentation() const override; |
22 QString textRepresentation() const override; |
| |
23 void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; |
| |
24 Point3D position() const; |
| 22 private: |
25 private: |
| 23 Point3D position; |
26 Model* resolve(DocumentManager* documents) const; |
| 24 Matrix3x3 transformation; |
27 Matrix4x4 transformation; |
| 25 QString referenceName; |
28 QString referenceName; |
| 26 }; |
29 }; |