Sun, 19 Jan 2020 02:54:48 +0200
commit work on GL rendering
#pragma once #include "object.h" #include "matrix.h" class Model; namespace linetypes { class SubfileReference; } class linetypes::SubfileReference : public ColoredObject { public: SubfileReference() = default; SubfileReference( const Matrix4x4& transformation, const QString &referenceName, const Color color = colors::main); QVariant getProperty(Property property) const override; SetPropertyResult setProperty(Property property, const QVariant& value) override; QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; Point3D position() const; private: Model* resolve(DocumentManager* documents) const; Matrix4x4 transformation; QString referenceName; };