From: Simon Rit Date: Wed, 20 Jun 2012 16:13:37 +0000 (+0200) Subject: Attempt to fix the blend image actor for the new vtk release (5.10) X-Git-Tag: v1.3.0~30 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=031521534da503d7a4f32d97568e8ad567e73092;p=clitk.git Attempt to fix the blend image actor for the new vtk release (5.10) --- diff --git a/vv/vvBlendImageActor.cxx b/vv/vvBlendImageActor.cxx index 0e65d1c..466083a 100644 --- a/vv/vvBlendImageActor.cxx +++ b/vv/vvBlendImageActor.cxx @@ -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) { diff --git a/vv/vvBlendImageActor.h b/vv/vvBlendImageActor.h index 5bd2858..0abe616 100644 --- a/vv/vvBlendImageActor.h +++ b/vv/vvBlendImageActor.h @@ -21,13 +21,13 @@ #include #include -#include +#include -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: