Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / cpu / GLImageFonctionelSelections_CPU.h
diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/cpu/GLImageFonctionelSelections_CPU.h b/WCudaMSE/API_Bilat_Image_GL/INC/cpu/GLImageFonctionelSelections_CPU.h
new file mode 100755 (executable)
index 0000000..6751348
--- /dev/null
@@ -0,0 +1,71 @@
+#ifndef GLIMAGE_FONCTIONEL_SELECTIONS_CPU_H\r
+#define GLIMAGE_FONCTIONEL_SELECTIONS_CPU_H\r
+\r
+#include "GLImageSelections_CPU.h"\r
+#include "ImageFonctionelMOOs_A_CPU.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+namespace cpu\r
+    {\r
+    class CBI_GLIMAGE GLImageFonctionelSelections: public cpu::GLImageSelections\r
+       {\r
+\r
+           /*--------------------------------------*\\r
+            |*         Constructor                 *|\r
+            \*-------------------------------------*/\r
+\r
+       public:\r
+\r
+           GLImageFonctionelSelections(cpu::ImageFonctionelMOOs_A *ptrImageFonctionel, bool isAnimationEnable = true);\r
+\r
+           /*--------------------------------------*\\r
+            |*         Destructor                  *|\r
+            \*-------------------------------------*/\r
+\r
+       public:\r
+\r
+           virtual ~GLImageFonctionelSelections();\r
+\r
+           /*--------------------------------------*\\r
+            |*         Methodes                    *|\r
+            \*-------------------------------------*/\r
+\r
+       public:\r
+\r
+           /**\r
+            * surcharge\r
+            */\r
+           virtual void onKeyPressed(const KeyEvent &event);\r
+\r
+       protected:\r
+\r
+           /**\r
+            * Callback for square selection with mouse\r
+            * Then selection is performed with the mouse, 3 arguments :\r
+            *  1) selected domaine in frame coordinate\r
+            *  2) dx is the screen width in pixel\r
+            *  3) dy is the screen height in pixel\r
+            **/\r
+           virtual void selectionPerformed(cpu::DomaineEcran& domaine, int dx, int dy);\r
+\r
+           /*--------------------------------------*\\r
+            |*         Get                     *|\r
+            \*-------------------------------------*/\r
+\r
+           cpu::ImageFonctionelMOOs_A* getPtrImageFonctionelSelectionMOO();\r
+\r
+       };\r
+    }\r
+\r
+#endif\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r