X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FPrimitiveVisitors_I.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FPrimitiveVisitors_I.h;h=c7af0cf4fe26ccaf09cb1ea5f0e99241f2b1c539;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/common/PrimitiveVisitors_I.h b/WCudaMSE/API_Bilat_Image_GL/INC/common/PrimitiveVisitors_I.h new file mode 100755 index 0000000..c7af0cf --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/common/PrimitiveVisitors_I.h @@ -0,0 +1,55 @@ +#ifndef PRIMITIVE_VISITOR_H +#define PRIMITIVE_VISITOR_H + +#include "envGLImage.h" +#include "TextRenderer_A.h" + +class Graphic2Ds; +class Line2Ds; +class Rect2Ds; +class WiredRect2Ds; +class Text2Ds; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class CBI_GLIMAGE PrimitiveVisitors_I + { + public: + + /*--------------------------------------*\ + |* Destructor *| + \*-------------------------------------*/ + + + virtual ~PrimitiveVisitors_I() + { + //Nothing + } + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + virtual void visite(Graphic2Ds* graphic2D)=0; + + virtual void visite(Line2Ds* ptrLine2D)=0; + + virtual void visite(Rect2Ds* ptrRect2D)=0; + + virtual void visite(WiredRect2Ds* ptrWiredRect2Ds)=0; + + virtual void visite(Text2Ds* ptrTexte2D)=0; + + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/