]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
GetMapper reimplemented
authorouv <ouv@opencascade.com>
Tue, 30 Aug 2005 10:00:21 +0000 (10:00 +0000)
committerouv <ouv@opencascade.com>
Tue, 30 Aug 2005 10:00:21 +0000 (10:00 +0000)
src/PIPELINE/VISU_PipeLine.cxx
src/PIPELINE/VISU_PipeLine.hxx

index a13806cc646d0bc5ace4ef34ec9f3b495ab159d1..0baaae335b6d08a936edf5021282338211d27ea7 100644 (file)
@@ -66,7 +66,7 @@ VISU_PipeLine::VISU_PipeLine()
   anImplicitBoolean->Delete();
 
   // Mapper
-  myMapper = TMapper::New();
+  myMapper = vtkDataSetMapper::New();
   myInput = NULL;
 
   myIsShrinkable = false;
index 56b7dee4c527833aac5ca5ebd606ae2f7cdc139b..c2d6a25f42cfc90ea313bac41d6e50fb27d78724 100644 (file)
@@ -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<SALOME_ExtractGeometry> myExtractGeometry;