From a6877870680074cea43c5d103f0d400279ab2935 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 16 Nov 2005 12:16:47 +0000 Subject: [PATCH] To get full control over ExtractGeometry filter --- src/PIPELINE/Makefile.in | 3 ++- src/PIPELINE/VISU_PipeLine.cxx | 6 +++--- src/PIPELINE/VISU_PipeLine.hxx | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/PIPELINE/Makefile.in b/src/PIPELINE/Makefile.in index 72311f9d..37edd24e 100644 --- a/src/PIPELINE/Makefile.in +++ b/src/PIPELINE/Makefile.in @@ -52,7 +52,8 @@ EXPORT_HEADERS = \ VISU_Plot3DPL.hxx \ VISU_OpenGLPointSpriteMapper.hxx \ VISU_ImplicitFunctionWidget.h \ - VISU_ScalarBarCtrl.hxx + VISU_ScalarBarCtrl.hxx \ + SALOME_ExtractGeometry.h # Libraries targets diff --git a/src/PIPELINE/VISU_PipeLine.cxx b/src/PIPELINE/VISU_PipeLine.cxx index fa92ebda..e6d40ae3 100644 --- a/src/PIPELINE/VISU_PipeLine.cxx +++ b/src/PIPELINE/VISU_PipeLine.cxx @@ -470,9 +470,9 @@ VISU_PipeLine return myExtractGeometry->GetImplicitFunction(); } -void +SALOME_ExtractGeometry* VISU_PipeLine -::SetExtractInside(int theFlag) +::GetExtractGeometryFilter() { - myExtractGeometry->SetExtractInside(theFlag); + return myExtractGeometry.GetPointer(); } diff --git a/src/PIPELINE/VISU_PipeLine.hxx b/src/PIPELINE/VISU_PipeLine.hxx index 09945f79..6109c2a9 100644 --- a/src/PIPELINE/VISU_PipeLine.hxx +++ b/src/PIPELINE/VISU_PipeLine.hxx @@ -199,8 +199,8 @@ public: vtkImplicitFunction* GetImplicitFunction(); - void - SetExtractInside(int); + SALOME_ExtractGeometry* + GetExtractGeometryFilter(); protected: VISU_PipeLine(); -- 2.39.2