--- /dev/null
+#ifndef GLIMAGE_SELECTIONS_GPU_H\r
+#define GLIMAGE_SELECTIONS_GPU_H\r
+\r
+#include "envGLImageCudas.h"\r
+#include "GLImages_GPU.h"\r
+#include "DomaineEcran_GPU.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |* Declaration *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |* Public *|\r
+ \*-------------------------------------*/\r
+\r
+namespace gpu\r
+ {\r
+ class CBI_GLIMAGE_CUDA GLImageSelections: public gpu::GLImages\r
+ {\r
+\r
+ /*--------------------------------------*\\r
+ |* Constructor *|\r
+ \*-------------------------------------*/\r
+\r
+ public:\r
+\r
+ GLImageSelections(gpu::ImageMOOs_A* ptrImageCudaMOO, bool isAnimationEnable = true);\r
+\r
+ virtual ~GLImageSelections();\r
+\r
+ /*--------------------------------------*\\r
+ |* Methodes *|\r
+ \*-------------------------------------*/\r
+\r
+ public:\r
+\r
+ /**\r
+ * Override\r
+ */\r
+ virtual void display(Panel_A &panel);\r
+\r
+ /**\r
+ * Override\r
+ */\r
+ virtual void onMouseMoved(const MouseEvent &event);\r
+\r
+ /**\r
+ * Override\r
+ */\r
+ virtual void onMousePressed(const MouseEvent &event);\r
+\r
+ /**\r
+ * Override\r
+ */\r
+ virtual void onMouseReleased(const MouseEvent &event);\r
+\r
+ protected:\r
+\r
+ /**\r
+ * Ovveride\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 pixLa clel\r
+ * 3) dy is the screen height in pixel\r
+ **/\r
+ virtual void selectionPerformed(const gpu::DomaineEcran& domaineEcran, int dx, int dy);\r
+\r
+ /*--------------------------------------*\\r
+ |* Get *|\r
+ \*-------------------------------------*/\r
+\r
+ gpu::DomaineEcran getCurrentDomaineSelection() const;\r
+\r
+ private:\r
+ void drawSelection();\r
+\r
+ /*-------------------------------------*\\r
+ |* Attributs *|\r
+ \*------------------------------------*/\r
+ private:\r
+\r
+ //Input\r
+ gpu::DomaineEcran domaineSelection;\r
+\r
+ //Tools\r
+ bool isSelectionEnable;\r
+ float ratio; //ration de la taille de la selection proportionnel � l'image\r
+ };\r
+ }\r
+\r
+#endif\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |* End *|\r
+ \*---------------------------------------------------------------------*/\r
+\r