From 7afb0d26d08d719f3c902d6f0ab0ad178897f088 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 26 Aug 2005 05:59:31 +0000 Subject: [PATCH] To customize VISU::ScalarMap_i::Build method --- src/VISU_I/VISU_GaussPoints_i.cc | 11 +++++++++++ src/VISU_I/VISU_GaussPoints_i.hh | 1 + 2 files changed, 12 insertions(+) diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 4f04ec45..81d2c463 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -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(myPipeLine); + ScalarMap_i::DoHook(); } diff --git a/src/VISU_I/VISU_GaussPoints_i.hh b/src/VISU_I/VISU_GaussPoints_i.hh index 44a45e6e..8d183989 100644 --- a/src/VISU_I/VISU_GaussPoints_i.hh +++ b/src/VISU_I/VISU_GaussPoints_i.hh @@ -54,6 +54,7 @@ namespace VISU typedef VISU::GaussPoints TInterface; protected: + virtual void DoSetInput(Result_i* theResult); virtual void DoHook(); VISU_GaussPointsPL *myGaussPointsPL; -- 2.39.2