From 80ecc83e91f62fe1534e26cb93d0c1cac0c25a44 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 14 Oct 2005 12:28:50 +0000 Subject: [PATCH] Fix on Bug GVIEW10273 "Clipping planes" functionality works incorrectly. To customize Gauss Points presentation by applying myExtractGeometry->SetExtractInside(0); --- src/PIPELINE/VISU_GaussPointsPL.cxx | 6 ++++-- src/PIPELINE/VISU_PipeLine.cxx | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index cb08c54c..caf88531 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -27,8 +27,9 @@ #include "VISU_GaussPointsPL.hxx" -#include "VISU_DeformedShapePL.hxx" #include "VISU_PipeLineUtils.hxx" +#include "SALOME_ExtractGeometry.h" +#include "VISU_DeformedShapePL.hxx" #include "VISU_OpenGLPointSpriteMapper.hxx" #include @@ -52,8 +53,9 @@ VISU_GaussPointsPL myMagnificationIncrement(2), myAlphaThreshold(0.1) { + myExtractGeometry->SetExtractInside(0); + myPSMapper = VISU_OpenGLPointSpriteMapper::New(); - //myPSMapper->DebugOn(); myGeomFilter = vtkGeometryFilter::New(); } diff --git a/src/PIPELINE/VISU_PipeLine.cxx b/src/PIPELINE/VISU_PipeLine.cxx index 263b1028..fa92ebda 100644 --- a/src/PIPELINE/VISU_PipeLine.cxx +++ b/src/PIPELINE/VISU_PipeLine.cxx @@ -64,9 +64,7 @@ VISU_PipeLine // Clipping planes myExtractGeometry->Delete(); - myExtractGeometry->SetExtractInside(0); myExtractGeometry->SetStoreMapping(true); - //myExtractGeometry->SetReleaseDataFlag(true); vtkImplicitBoolean* anImplicitBoolean = vtkImplicitBoolean::New(); myExtractGeometry->SetImplicitFunction(anImplicitBoolean); -- 2.39.2