]> Creatis software - clitk.git/commitdiff
Attempt to fix the blend image actor for the new vtk release (5.10)
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Wed, 20 Jun 2012 16:13:37 +0000 (18:13 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Wed, 20 Jun 2012 16:13:37 +0000 (18:13 +0200)
vv/vvBlendImageActor.cxx
vv/vvBlendImageActor.h

index 0e65d1c68be63cde949a0d487043f374e73f34cb..466083ae010278c55cf6c905577396d9bdb9def9 100644 (file)
@@ -47,7 +47,7 @@ void vvBlendImageActor::Render(vtkRenderer *ren)
   }
 
   //Call normal render
-  vtkOpenGLImageActor::Render(ren);
+  vtkImageActor::Render(ren);
 
   //Move back blending to weighted sum
   if (vtkgl::BlendEquationEXT!=0) {
index 5bd28582667a26d4641b63b7008724ee5c193c2b..0abe616de6c4560719d1754012dc6fdf708756a5 100644 (file)
 
 #include <vtkActor.h>
 #include <vtkSmartPointer.h>
-#include <vtkOpenGLImageActor.h>
+#include <vtkImageActor.h>
 
-class vvBlendImageActor : public vtkOpenGLImageActor
+class vvBlendImageActor : public vtkImageActor
 {
 public:
   static vvBlendImageActor *New();
-  vtkTypeMacro(vvBlendImageActor, vtkOpenGLImageActor);
+  vtkTypeMacro(vvBlendImageActor, vtkImageActor);
   virtual void PrintSelf(ostream& os, vtkIndent indent);
 
   // Description: