2 // class : Gestion des formes associees (Hexa 5)
7 #include "Hex_defines.hxx"
8 #include "HexEltBase.hxx"
10 #include <TopoDS_Shape.hxx>
14 class HEXABLOCKENGINE_EXPORT SubShape : public EltBase
17 SubShape (NewShape* dad, int id, int dim);
18 NewShape* getParentShape() const { return ss_parent; }
19 cpchar getParentName () const;
20 int getIdent () { return sub_ident ; }
21 int getDim () { return sub_dim ; }
22 EnumKindOfShape kindOf () { return kind_of ; }
24 const string& getBrep ();
25 virtual const TopoDS_Shape& getShape ();
27 void saveXml (XmlWriter* xml);
28 void callXml (XmlWriter* xml);
37 int sub_dim; // 0 = point, 1 = arete, 2 = face;
39 TopoDS_Shape geo_shape;
41 bool maj_brep, maj_shape;
42 EnumKindOfShape kind_of;