From 1f038a6d6cd23bc2c6acbaf470153b6f3889f377 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 30 Aug 2005 10:00:21 +0000 Subject: [PATCH] GetMapper reimplemented --- src/PIPELINE/VISU_PipeLine.cxx | 2 +- src/PIPELINE/VISU_PipeLine.hxx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/PIPELINE/VISU_PipeLine.cxx b/src/PIPELINE/VISU_PipeLine.cxx index a13806cc..0baaae33 100644 --- a/src/PIPELINE/VISU_PipeLine.cxx +++ b/src/PIPELINE/VISU_PipeLine.cxx @@ -66,7 +66,7 @@ VISU_PipeLine::VISU_PipeLine() anImplicitBoolean->Delete(); // Mapper - myMapper = TMapper::New(); + myMapper = vtkDataSetMapper::New(); myInput = NULL; myIsShrinkable = false; diff --git a/src/PIPELINE/VISU_PipeLine.hxx b/src/PIPELINE/VISU_PipeLine.hxx index 56b7dee4..c2d6a25f 100644 --- a/src/PIPELINE/VISU_PipeLine.hxx +++ b/src/PIPELINE/VISU_PipeLine.hxx @@ -56,6 +56,7 @@ public: } }; +class vtkMapper; class vtkDataSetMapper; class vtkUnstructuredGrid; class vtkExtractGeometry; @@ -80,7 +81,7 @@ public: bool IsPlanarInput() const; - typedef vtkDataSetMapper TMapper; + typedef vtkMapper TMapper; virtual TMapper* GetMapper(); virtual void Init() = 0; @@ -114,7 +115,7 @@ protected: bool myIsShrinkable; TInput *myInput; - TMapper *myMapper; + vtkDataSetMapper *myMapper; // Clipping planes TVTKSmartPtr myExtractGeometry; -- 2.39.2