X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvAnimatedGIFWriter.h;h=1baf2b9359b510807bf3b58cb112bc0550934df8;hb=c99626f17e07dbde440eb40a25683ce441a49a6e;hp=82427791eb931ba944d87532cfe1eab214244a4c;hpb=bbb9427a59a56c9e9f3a139814adb104031eae2b;p=clitk.git diff --git a/vv/vvAnimatedGIFWriter.h b/vv/vvAnimatedGIFWriter.h index 8242779..1baf2b9 100644 --- a/vv/vvAnimatedGIFWriter.h +++ b/vv/vvAnimatedGIFWriter.h @@ -8,7 +8,7 @@ class vtkImageAppend; -class VTK_IO_EXPORT vvAnimatedGIFWriter : public vtkGenericMovieWriter +class vvAnimatedGIFWriter : public vtkGenericMovieWriter //test this if link error... { public: static vvAnimatedGIFWriter *New(); @@ -32,12 +32,18 @@ public: vtkSetClampMacro(Loops, int, 0, 5000); vtkGetMacro(Loops, int); + // Description: + // Set/Get the dithering + vtkSetMacro(Dither, bool); + vtkGetMacro(Dither, bool); + protected: vvAnimatedGIFWriter(); ~vvAnimatedGIFWriter(); int Rate; int Loops; + bool Dither; vtkSmartPointer RGBvolume; std::vector< vtkSmartPointer > RGBslices;