2 // class : Gestion des formes associees (Hexa 5)
7 #include "HexEltBase.hxx"
9 #include <TopoDS_Shape.hxx>
13 class HexaExport SubShape : public EltBase
16 SubShape (NewShape* dad, int id, int dim);
17 NewShape* getParentShape() const { return ss_parent; }
18 cpchar getParentName () const;
19 int getIdent () { return sub_ident ; }
20 int getDim () { return sub_dim ; }
21 virtual EnumKindOfShape kindOf () { return kind_of ; }
23 const string& getBrep ();
24 virtual const TopoDS_Shape& getShape ();
26 void saveXml (XmlWriter* xml);
27 void callXml (XmlWriter* xml);
36 int sub_dim; // 0 = point, 1 = arete, 2 = face;
38 TopoDS_Shape geo_shape;
40 bool maj_brep, maj_shape;
41 EnumKindOfShape kind_of;