4 #include "GLUTImageViewers.h"
6 #include "RipplingProvider.h"
11 /*----------------------------------------------------------------------*\
13 \*---------------------------------------------------------------------*/
15 /*--------------------------------------*\
17 \*-------------------------------------*/
19 /*--------------------------------------*\
21 \*-------------------------------------*/
23 int main(int argc
, char** argv
);
25 /*--------------------------------------*\
27 \*-------------------------------------*/
31 /*----------------------------------------------------------------------*\
33 \*---------------------------------------------------------------------*/
35 /*--------------------------------------*\
37 \*-------------------------------------*/
39 int main(int argc
, char** argv
)
41 cout
<< "main" << endl
;
43 GLUTImageViewers::init(argc
, argv
); // call once
45 return run(); // Bloquant, Tant qu'une fenetre est ouverte
50 bool isAnimation
= true;
51 bool isSelectionEnable
= false;
53 RipplingImage
* ptrRippling
= RipplingProvider::create();
55 GLUTImageViewers
ripplingViewer(ptrRippling
, isAnimation
, isSelectionEnable
, 20, 20);
56 // Insert here other viewers ...
58 GLUTImageViewers::runALL(); // Bloquant, Tant qu'une fenetre est ouverte
70 /*--------------------------------------*\
72 \*-------------------------------------*/
74 /*----------------------------------------------------------------------*\
76 \*---------------------------------------------------------------------*/