src/primitives.h

changeset 1408
0d6162662040
parent 1407
22bc5862cb56
child 1419
f7c53002a990
equal deleted inserted replaced
1407:22bc5862cb56 1408:0d6162662040
50 DiscNegative, 50 DiscNegative,
51 Ring, 51 Ring,
52 Cone, 52 Cone,
53 CylinderClosed, 53 CylinderClosed,
54 CylinderOpen, 54 CylinderOpen,
55 Chord,
55 } type; 56 } type;
56 int segments; 57 int segments;
57 int divisions; 58 int divisions;
58 int ringNumber; 59 int ringNumber;
59 60
65 QString makeFileName(FilenameStyle style) const; 66 QString makeFileName(FilenameStyle style) const;
66 void generateDisc(Model& model) const; 67 void generateDisc(Model& model) const;
67 68
68 private: 69 private:
69 void generateDiscNegative(Model& model) const; 70 void generateDiscNegative(Model& model) const;
71 void generateChord(Model& model) const;
70 }; 72 };
71 73
72 Q_DECLARE_METATYPE(PrimitiveModel::Type) 74 Q_DECLARE_METATYPE(PrimitiveModel::Type)
73 75
74 class PrimitiveCategory : public QObject 76 class PrimitiveCategory : public QObject

mercurial