6eed6e371185638536f3e29868fb33f05c1c6417
6 #include "GLUTImageViewers.h"
11 #include "Rippling0Provider.h"
12 #include "RipplingProvider.h"
13 #include "FractalProvider.h"
14 #include "NewtonProvider.h"
15 #include "HeatTransfertProvider.h"
17 template <class TOutput
, class TProvider
>
22 GLUTImageViewers viewer
;
25 Viewer(bool isAnimation
, bool isSelection
, int pxFrame
, int pyFrame
):
26 ptrProvider(TProvider::createGL()),
27 viewer(ptrProvider
, isAnimation
, isSelection
, pxFrame
, pyFrame
)
33 delete this->ptrProvider
;
39 //Viewer<Rippling0Image, Rippling0Provider> rippling0(true, true, 10, 10);
40 //Viewer<Image, RipplingProvider> rippling0(true, true, 10, 10);
41 //Viewer<ImageFonctionel, MandelbrotProvider> fractalMandelbrot(true, true, 20, 20);
42 //Viewer<ImageFonctionel, JuliaProvider> fractalJulia(true, true, 30, 30);
43 //Viewer<ImageFonctionel, NewtonProvider> newtown(true, true, 20, 20);
44 Viewer
<Image
, HeatTransfertProvider
> heatTransfert(true, false, 20, 20);
46 GLUTImageViewers::runALL(); // Bloquant, Tant qu'une fenetre est ouverte