Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_JNI / INC / common / ImageScenario.h
1 #ifndef IMAGESCENARIO_H_
2 #define IMAGESCENARIO_H_
3
4 #include "envImageJNI.h"
5 #include "Scenario.h"
6
7 /*----------------------------------------------------------------------*\
8 |* Declaration *|
9 \*---------------------------------------------------------------------*/
10
11 /*--------------------------------------*\
12 |* Public *|
13 \*-------------------------------------*/
14
15 class CBI_IMAGE_JNI ImageScenario : public Scenario
16 {
17 public:
18 ImageScenario(int w, int h) : w(w),h(h)
19 {
20
21 }
22
23 virtual ~ImageScenario()
24 {
25 //because getCanvasNativeID is virtual
26 }
27
28 virtual int getCanvasNativeID()=0;
29
30 protected:
31 int w;
32 int h;
33
34 };
35
36 #endif
37
38 /*----------------------------------------------------------------------*\
39 |* End *|
40 \*---------------------------------------------------------------------*/