1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
19 #ifndef VVBLENDIMAGEACTOR_H
20 #define VVBLENDIMAGEACTOR_H
23 #include <vtkSmartPointer.h>
25 #if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10)
26 #define VTK_IMAGE_ACTOR vtkImageActor
27 #include <vtkImageActor.h>
29 #define VTK_IMAGE_ACTOR vtkOpenGLImageActor
30 #include <vtkOpenGLImageActor.h>
33 class vvBlendImageActor : public VTK_IMAGE_ACTOR
36 static vvBlendImageActor *New();
37 vtkTypeMacro(vvBlendImageActor, VTK_IMAGE_ACTOR);
38 virtual void PrintSelf(ostream& os, vtkIndent indent);
41 // Implement base class method.
42 void Render(vtkRenderer *ren);
49 vvBlendImageActor(const vvBlendImageActor&); // Not implemented.
50 void operator=(const vvBlendImageActor&); // Not implemented.