From: ouv Date: Tue, 30 Aug 2005 10:00:21 +0000 (+0000) Subject: GetMapper reimplemented X-Git-Tag: BR-D5-38-2003_D2005-12-09~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f038a6d6cd23bc2c6acbaf470153b6f3889f377;p=modules%2Fvisu.git GetMapper reimplemented --- 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;