]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix on Bug GVIEW10273
authorapo <apo@opencascade.com>
Fri, 14 Oct 2005 12:28:50 +0000 (12:28 +0000)
committerapo <apo@opencascade.com>
Fri, 14 Oct 2005 12:28:50 +0000 (12:28 +0000)
  "Clipping planes" functionality works incorrectly.
To customize Gauss Points presentation by applying   myExtractGeometry->SetExtractInside(0);

src/PIPELINE/VISU_GaussPointsPL.cxx
src/PIPELINE/VISU_PipeLine.cxx

index cb08c54c82db477394574cad94acc739e8f465a1..caf885310dc020818b2a1dd0ee3d0bc653bfe49f 100644 (file)
@@ -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 <vtkPointSource.h>
@@ -52,8 +53,9 @@ VISU_GaussPointsPL
   myMagnificationIncrement(2),
   myAlphaThreshold(0.1)
 {
+  myExtractGeometry->SetExtractInside(0);
+
   myPSMapper = VISU_OpenGLPointSpriteMapper::New();
-  //myPSMapper->DebugOn();
 
   myGeomFilter = vtkGeometryFilter::New();
 }
index 263b1028792177d572a78e5d39ad51146302bd32..fa92ebdaafee559cbea366cf320d5240e834a3cf 100644 (file)
@@ -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);