X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FViewerData%2FViewerData_AISShape.hxx;h=bdb8246f459b40866b312fe8871c0aefc33d2eff;hb=fc676e994a081937f71d310aeef85f9a301c0125;hp=8ea403b59aede5709ab7ebd02480a87c1dce513b;hpb=26ac7ca874ce9a796ff7ad43685f42afca635df9;p=modules%2Fgui.git diff --git a/src/ViewerData/ViewerData_AISShape.hxx b/src/ViewerData/ViewerData_AISShape.hxx index 8ea403b59..bdb8246f4 100644 --- a/src/ViewerData/ViewerData_AISShape.hxx +++ b/src/ViewerData/ViewerData_AISShape.hxx @@ -35,6 +35,8 @@ #include #include +#include + class ViewerData_AISShape #ifdef USE_TEXTURED_SHAPE : public AIS_TexturedShape @@ -62,13 +64,18 @@ protected: bool myIsClippable; public: - DEFINE_STANDARD_RTTI(ViewerData_AISShape) + +#ifdef USE_TEXTURED_SHAPE + OCCT_DEFINE_STANDARD_RTTIEXT(ViewerData_AISShape,AIS_TexturedShape) +#else + OCCT_DEFINE_STANDARD_RTTIEXT(ViewerData_AISShape,AIS_Shape) +#endif }; #ifdef USE_TEXTURED_SHAPE -DEFINE_STANDARD_HANDLE(ViewerData_AISShape, AIS_TexturedShape) + DEFINE_STANDARD_HANDLE(ViewerData_AISShape, AIS_TexturedShape) #else -DEFINE_STANDARD_HANDLE(ViewerData_AISShape, AIS_Shape) + DEFINE_STANDARD_HANDLE(ViewerData_AISShape, AIS_Shape) #endif #endif // _ViewerData_AISShape_HeaderFile