Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / common / Line2Ds.h
1 #ifndef LINE_2DS_H
2 #define LINE_2DS_H
3
4 #include "Primitives_A.h"
5
6 /*----------------------------------------------------------------------*\
7 |* Declaration *|
8 \*---------------------------------------------------------------------*/
9
10 /*--------------------------------------*\
11 |* Public *|
12 \*-------------------------------------*/
13
14 class Line2Ds: public Primitives_A
15 {
16 public:
17 /*--------------------------------------*\
18 |* Constructor *|
19 \*-------------------------------------*/
20
21 Line2Ds(int x1, int y1, int x2, int y2);
22
23 Line2Ds(const Line2Ds& source);
24
25 /*--------------------------------------*\
26 |* Destructor *|
27 \*-------------------------------------*/
28
29 virtual ~Line2Ds();
30
31 /*--------------------------------------*\
32 |* Methodes *|
33 \*-------------------------------------*/
34
35 public:
36
37 /**
38 * Overide
39 */
40 virtual void accept(PrimitiveVisitors_I &visitor);
41
42 /*--------------------------------------*\
43 |* Attributs *|
44 \*-------------------------------------*/
45
46 public:
47
48 //Input
49 int x1;
50 int y1;
51 int x2;
52 int y2;
53 };
54
55 #endif
56
57 /*----------------------------------------------------------------------*\
58 |* End *|
59 \*---------------------------------------------------------------------*/
60