]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To customize VISU::ScalarMap_i::Build method
authorapo <apo@opencascade.com>
Fri, 26 Aug 2005 05:59:31 +0000 (05:59 +0000)
committerapo <apo@opencascade.com>
Fri, 26 Aug 2005 05:59:31 +0000 (05:59 +0000)
src/VISU_I/VISU_GaussPoints_i.cc
src/VISU_I/VISU_GaussPoints_i.hh

index 4f04ec452a25806112de4ebf207de0cbe62e120c..81d2c4637b4818abd53a07bd3887a0dba3ab5bc4 100644 (file)
@@ -25,6 +25,7 @@
 //  Module :
 
 #include "VISU_GaussPoints_i.hh"
+#include "VISU_GaussPointsPL.hxx"
 #include "VISU_Result_i.hh"
 
 using namespace VISU;
@@ -122,10 +123,20 @@ VISU::GaussPoints_i
 }
 
 
+void VISU::GaussPoints_i::DoSetInput(Result_i* theResult){
+  ScalarMap_i::DoSetInput(theResult);
+}
+
+
 void
 VISU::GaussPoints_i
 ::DoHook()
 {
+  if(!myPipeLine) 
+    myPipeLine = VISU_GaussPointsPL::New();
+
+  myGaussPointsPL = dynamic_cast<VISU_GaussPointsPL*>(myPipeLine);
+
   ScalarMap_i::DoHook();
 }
 
index 44a45e6e41214a6071010bf66bc4b9bd3679bb34..8d183989d7897764921ddabfbbef723add3ad148 100644 (file)
@@ -54,6 +54,7 @@ namespace VISU
     typedef VISU::GaussPoints TInterface;
 
   protected:
+    virtual void DoSetInput(Result_i* theResult);
     virtual void DoHook();
 
     VISU_GaussPointsPL *myGaussPointsPL;