]> Creatis software - creaMaracasVisu.git/blob - lib/Kernel/VTKObjects/SurfaceRenderer/surfacerenderingimagestencilexport.h
addition of image stencil to surface rendering
[creaMaracasVisu.git] / lib / Kernel / VTKObjects / SurfaceRenderer / surfacerenderingimagestencilexport.h
1 #ifndef SURFACERENDERINGIMAGESTENCILEXPORT_H
2 #define SURFACERENDERINGIMAGESTENCILEXPORT_H
3
4 #include <vtkDataSetToImageFilter.h>
5 #include <vtkSmartPointer.h>
6 #include <vtkPolyDataToImageStencil.h>
7 #include <vtkImageStencil.h>
8 #include <vtkImageData.h>
9 #include <vtkPolyData.h>
10
11 class SurfaceRenderingImageStencilExport : public vtkDataSetToImageFilter
12 {
13 public:
14     static SurfaceRenderingImageStencilExport *New();
15
16     vtkTypeMacro(SurfaceRenderingImageStencilExport,vtkDataSetToImageFilter)
17
18     virtual void Update();
19     vtkImageData* GetOutput();
20 protected:
21
22     virtual void Execute(vtkImageData *data);
23
24 private:
25
26     SurfaceRenderingImageStencilExport();
27     ~SurfaceRenderingImageStencilExport();
28
29     vtkImageData* ImageOutput;
30 };
31
32 #endif // SURFACERENDERINGIMAGESTENCILEXPORT_H