Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / common / Line2Ds.h
diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/common/Line2Ds.h b/WCudaMSE/API_Bilat_Image_GL/INC/common/Line2Ds.h
new file mode 100755 (executable)
index 0000000..a6b7dac
--- /dev/null
@@ -0,0 +1,60 @@
+#ifndef LINE_2DS_H\r
+#define LINE_2DS_H\r
+\r
+#include "Primitives_A.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class Line2Ds: public Primitives_A\r
+    {\r
+    public:\r
+       /*--------------------------------------*\\r
+        |*             Constructor             *|\r
+        \*-------------------------------------*/\r
+\r
+       Line2Ds(int x1, int y1, int x2, int y2);\r
+\r
+       Line2Ds(const Line2Ds& source);\r
+\r
+       /*--------------------------------------*\\r
+        |*             Destructor              *|\r
+        \*-------------------------------------*/\r
+\r
+       virtual ~Line2Ds();\r
+\r
+       /*--------------------------------------*\\r
+        |*             Methodes                *|\r
+        \*-------------------------------------*/\r
+\r
+    public:\r
+\r
+       /**\r
+        * Overide\r
+        */\r
+       virtual void accept(PrimitiveVisitors_I &visitor);\r
+\r
+       /*--------------------------------------*\\r
+       |*              Attributs               *|\r
+        \*-------------------------------------*/\r
+\r
+    public:\r
+\r
+       //Input\r
+       int x1;\r
+       int y1;\r
+       int x2;\r
+       int y2;\r
+    };\r
+\r
+#endif\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r