63 LDObject(); |
63 LDObject(); |
64 |
64 |
65 virtual QString asText() const = 0; // This object as LDraw code |
65 virtual QString asText() const = 0; // This object as LDraw code |
66 LDColor color() const; |
66 LDColor color() const; |
67 virtual LDColor defaultColor() const; // What color does the object default to? |
67 virtual LDColor defaultColor() const; // What color does the object default to? |
68 LDPolygon* getPolygon(); |
68 LDPolygon getPolygon(); |
69 virtual void getVertices (DocumentManager *context, QSet<Vertex>& verts) const; |
69 virtual void getVertices (DocumentManager *context, QSet<Vertex>& verts) const; |
70 virtual bool hasMatrix() const; // Does this object have a matrix and position? (see LDMatrixObject) |
70 virtual bool hasMatrix() const; // Does this object have a matrix and position? (see LDMatrixObject) |
71 virtual bool isColored() const; |
71 virtual bool isColored() const; |
72 bool isHidden() const; |
72 bool isHidden() const; |
73 virtual bool isRasterizable() const { return false; } // Can this object be rasterized? |
73 virtual bool isRasterizable() const { return false; } // Can this object be rasterized? |