87 virtual int triangleCount(DocumentManager* context) const; |
87 virtual int triangleCount(DocumentManager* context) const; |
88 virtual LDObjectType type() const = 0; |
88 virtual LDObjectType type() const = 0; |
89 virtual QString iconName() const = 0; |
89 virtual QString iconName() const = 0; |
90 const Vertex& vertex (int i) const; |
90 const Vertex& vertex (int i) const; |
91 virtual void serialize(class Serializer& serializer); |
91 virtual void serialize(class Serializer& serializer); |
|
92 void restore(LDObjectState& archive); |
92 |
93 |
93 static LDObject* newFromType(LDObjectType type); |
94 static LDObject* newFromType(LDObjectType type); |
94 |
95 |
95 signals: |
96 signals: |
96 void modified(const LDObjectState& before, const LDObjectState& after); |
97 void modified(const LDObjectState& before, const LDObjectState& after); |