]> Creatis software - clitk.git/blob - vv/vvBlendImageActor.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvBlendImageActor.h
1   /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17   ===========================================================================**/
18
19 #ifndef VVBLENDIMAGEACTOR_H
20 #define VVBLENDIMAGEACTOR_H
21
22 #include <vtkActor.h>
23 #include <vtkSmartPointer.h>
24
25 #if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10)
26 #define VTK_IMAGE_ACTOR vtkImageActor
27 #include <vtkImageActor.h>
28 #else
29 #define VTK_IMAGE_ACTOR vtkOpenGLImageActor
30 #include <vtkOpenGLImageActor.h>
31 #endif
32
33 class vvBlendImageActor : public VTK_IMAGE_ACTOR
34 {
35 public:
36   static vvBlendImageActor *New();
37   vtkTypeMacro(vvBlendImageActor, VTK_IMAGE_ACTOR);
38   virtual void PrintSelf(ostream& os, vtkIndent indent);
39
40   // Description:
41   // Implement base class method.
42   void Render(vtkRenderer *ren);  
43
44 protected:
45   vvBlendImageActor();
46   ~vvBlendImageActor();
47
48 private:
49   vvBlendImageActor(const vvBlendImageActor&);  // Not implemented.
50   void operator=(const vvBlendImageActor&);  // Not implemented.
51 };
52
53 #endif