#ifndef __SUB_SHAPE_H_
#define __SUB_SHAPE_H_
-
-
+#include "Hex_defines.hxx"
#include "HexEltBase.hxx"
-#ifndef NO_CASCADE
#include <TopoDS_Shape.hxx>
-#endif
BEGIN_NAMESPACE_HEXA
-class SubShape : public EltBase
+class HEXABLOCKENGINE_EXPORT SubShape : public EltBase
{
public :
SubShape (NewShape* dad, int id, int dim);
int getDim () { return sub_dim ; }
const string& getBrep ();
- const TopoDS_Shape& getShape ();
+ virtual const TopoDS_Shape& getShape ();
void saveXml (XmlWriter* xml);
void callXml (XmlWriter* xml);