]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To set sub range on the creation of the IsoSurface presentation according to the...
authorapo <apo@opencascade.com>
Fri, 3 Nov 2006 07:18:20 +0000 (07:18 +0000)
committerapo <apo@opencascade.com>
Fri, 3 Nov 2006 07:18:20 +0000 (07:18 +0000)
src/VISU_I/VISU_IsoSurfaces_i.cc
src/VISU_I/VISU_IsoSurfaces_i.hh

index 5ef29a5d5fb5871aa226243b8740805f86716b64..76b59a8e42d5ea681247d130fca92446123eaa14 100644 (file)
@@ -206,6 +206,17 @@ VISU::IsoSurfaces_i
 }
 
 
+//----------------------------------------------------------------------------
+void 
+VISU::IsoSurfaces_i
+::DoSetInput(bool theIsInitilizePipe)
+{
+  TSuperClass::DoSetInput(theIsInitilizePipe);
+  if(theIsInitilizePipe)
+    SetSubRange(GetSourceMin(), GetSourceMax());
+}
+
+
 //---------------------------------------------------------------
 bool
 VISU::IsoSurfaces_i
index ce1b0526c941dc6836089a1d774c5b9a62a9a7dd..5f92ca20f779e36fe5b73ab16fd42762ce3b0b5b 100644 (file)
@@ -93,7 +93,12 @@ namespace VISU
     void 
     CreatePipeLine(VISU_PipeLine* thePipeLine);
 
-    //! Redefines VISU_ColoredPrs3d_i::CheckIsPossible
+    //! Redefines VISU_ScalarMap_i::DoSetInput
+    virtual 
+    void
+    DoSetInput(bool theIsInitilizePipe);
+
+    //! Redefines VISU_ScalarMap_i::CheckIsPossible
     virtual 
     bool 
     CheckIsPossible();