Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / common / GLPrimitiveDrawers.h
1 #ifndef GL_PRIMITIVE_DRAWERS_H
2 #define GL_PRIMITIVE_DRAWERS_H
3
4 #include "envGLImage.h"
5 #include "PrimitiveVisitors_I.h"
6 #include "TextRenderer_A.h"
7 #include "Line2Ds.h"
8 #include "Rect2Ds.h"
9 #include "Text2Ds.h"
10 #include "WiredRect2Ds.h"
11 #include "Graphic2Ds.h"
12
13 /*----------------------------------------------------------------------*\
14 |* Declaration *|
15 \*---------------------------------------------------------------------*/
16
17 /*--------------------------------------*\
18 |* Public *|
19 \*-------------------------------------*/
20
21 class CBI_GLIMAGE GLPrimitiveDrawers: public PrimitiveVisitors_I
22
23 {
24 public:
25
26 /*--------------------------------------*\
27 |* Constructor *|
28 \*-------------------------------------*/
29
30 GLPrimitiveDrawers();
31
32 /*--------------------------------------*\
33 |* Destructor *|
34 \*-------------------------------------*/
35
36 virtual ~GLPrimitiveDrawers();
37
38 /*--------------------------------------*\
39 |* Methodes *|
40 \*-------------------------------------*/
41
42 public:
43
44 void display(Graphic2Ds* graphic2D, TextRenderer_A* textRenderer);
45
46 private:
47
48 /**
49 * Override
50 */
51 virtual void visite(Graphic2Ds* graphic2D);
52
53 /**
54 * Override
55 */
56 virtual void visite(Line2Ds* ptrLine2D);
57
58 /**
59 * Override
60 */
61 virtual void visite(Rect2Ds* ptrRect2D);
62
63 /**
64 * Override
65 */
66 virtual void visite(Text2Ds* ptrTexte2D);
67
68 /**
69 * Override
70 */
71 virtual void visite(WiredRect2Ds* ptrWiredRect2D);
72
73 /*--------------------------------------*\
74 |* Attributs *|
75 \*-------------------------------------*/
76
77 private:
78 /**
79 * setBy display !
80 */
81 TextRenderer_A* ptrTextRenderer;
82 };
83
84 #endif
85
86 /*----------------------------------------------------------------------*\
87 |* End *|
88 \*---------------------------------------------------------------------*/
89