]> Creatis software - clitk.git/blob - vv/vvBlendImageActor.h
Modified overlay image actor to use a blending which takes the maximum per color...
[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://oncora1.lyon.fnclcc.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 #include <vtkOpenGLImageActor.h>
25
26 class vvBlendImageActor : public vtkOpenGLImageActor
27 {
28 public:
29   static vvBlendImageActor *New();
30   vtkTypeMacro(vvBlendImageActor, vtkOpenGLImageActor);
31   virtual void PrintSelf(ostream& os, vtkIndent indent);
32
33   // Description:
34   // Implement base class method.
35   void Render(vtkRenderer *ren);  
36
37 protected:
38   vvBlendImageActor();
39   ~vvBlendImageActor();
40
41 private:
42   vvBlendImageActor(const vvBlendImageActor&);  // Not implemented.
43   void operator=(const vvBlendImageActor&);  // Not implemented.
44 };
45
46 #endif