From: asv Date: Thu, 27 Jan 2005 06:13:30 +0000 (+0000) Subject: The graph is modified in order to be executable. Invalid link from the first node... X-Git-Tag: V2_2_0b2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f208744942de7e690674fb921df6a0bdf4e82d63;p=modules%2Fsuperv.git The graph is modified in order to be executable. Invalid link from the first node (some obj_ref out-port) to a Gate port of the second node is removed. --- diff --git a/examples/testvisu20_multi.py b/examples/testvisu20_multi.py index 581ab0c..b83273a 100644 --- a/examples/testvisu20_multi.py +++ b/examples/testvisu20_multi.py @@ -2,304 +2,333 @@ # Generated python file of Graph aNewDataFlow from SuperV import * -# Graph creation -aNewDataFlow = Graph( 'aNewDataFlow' ) -aNewDataFlow.SetName( 'aNewDataFlow' ) -aNewDataFlow.SetAuthor( '' ) -aNewDataFlow.SetComment( '' ) -aNewDataFlow.Coords( 0 , 0 ) -# Creation of Factory Nodes - -# Creation of InLine Nodes -PyInitDisplay = [] -PyInitDisplay.append( 'import os ' ) -PyInitDisplay.append( 'import time ' ) -PyInitDisplay.append( 'from LifeCycleCORBA import * ' ) -PyInitDisplay.append( 'from SALOME_NamingServicePy import * ' ) -PyInitDisplay.append( 'import SALOMEDS ' ) -PyInitDisplay.append( 'from VISU import * ' ) -PyInitDisplay.append( 'def InitDisplay(): ' ) -PyInitDisplay.append( ' # --- initialize the ORB ' ) -PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' ) -PyInitDisplay.append( ' # --- create a LifeCycleCORBA instance ' ) -PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' ) -PyInitDisplay.append( ' # --- create a naming service instance ' ) -PyInitDisplay.append( ' naming_service = SALOME_NamingServicePy_i(orb) ' ) -PyInitDisplay.append( ' # --- get Study Manager reference ' ) -PyInitDisplay.append( ' obj = naming_service.Resolve('myStudyManager') ' ) -PyInitDisplay.append( ' StudyManager = obj._narrow(SALOMEDS.StudyManager) ' ) -PyInitDisplay.append( ' # --- load visu component ' ) -PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ' ) -PyInitDisplay.append( ' aStudy = StudyManager.GetStudyByID(1) ' ) -PyInitDisplay.append( ' aVisu.SetCurrentStudy(aStudy) ' ) -PyInitDisplay.append( ' print "InitDisplay --> aVisu ", aVisu ' ) -PyInitDisplay.append( ' time.sleep(2) ' ) -PyInitDisplay.append( ' #aViewManager=aVisu.GetViewManager() ' ) -PyInitDisplay.append( ' #print "InitDisplay --> aViewManager ", aViewManager ' ) -PyInitDisplay.append( ' #time.sleep(2) ' ) -PyInitDisplay.append( ' #aView=aViewManager.GetCurrentView() ' ) -PyInitDisplay.append( ' #aView=aViewManager.Create3DView() ' ) -PyInitDisplay.append( ' #print "InitDisplay --> aView ", aView ' ) -PyInitDisplay.append( ' #time.sleep(2) ' ) -PyInitDisplay.append( ' medFile = "TimeStamps.med" ' ) -PyInitDisplay.append( ' medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile ' ) -PyInitDisplay.append( ' myResult = aVisu.ImportFile(medFile) ' ) -PyInitDisplay.append( ' print "InitDisplay --> myResult ", myResult ' ) -PyInitDisplay.append( ' return aVisu,myResult ' ) -PyInitDisplay.append( '' ) -InitDisplay = aNewDataFlow.INode( 'InitDisplay' , PyInitDisplay ) -InitDisplay.SetName( 'InitDisplay' ) -InitDisplay.SetAuthor( '' ) -InitDisplay.SetComment( 'Compute Node' ) -InitDisplay.Coords( 13 , 173 ) -InitDisplay.OutPort( 'aVisu' , 'objref' ) -InitDisplay.OutPort( 'myResult' , 'objref' ) - -PyDisplayVitesse = [] -PyDisplayVitesse.append( 'import VISU ' ) -PyDisplayVitesse.append( 'import os ' ) -PyDisplayVitesse.append( 'import time ' ) -PyDisplayVitesse.append( 'def DisplayVitesse(index,aVisu,aView,aResult,x1): ' ) -PyDisplayVitesse.append( ' print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ' ) -PyDisplayVitesse.append( ' aMeshName ="dom" ' ) -PyDisplayVitesse.append( ' myFieldName = "vitesse" ' ) -PyDisplayVitesse.append( ' anEntity = VISU.NODE ' ) -PyDisplayVitesse.append( ' aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ' ) -PyDisplayVitesse.append( ' print "----- Display 2 ", aMesh ' ) -PyDisplayVitesse.append( ' aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ' ) -PyDisplayVitesse.append( ' print "----- Display 4" ' ) -PyDisplayVitesse.append( ' if aScalarMap is not None: ' ) -PyDisplayVitesse.append( ' aScalarMap.SetScaling(VISU.LINEAR) ' ) -PyDisplayVitesse.append( ' else: ' ) -PyDisplayVitesse.append( ' print "Null scalar map is created" ' ) -PyDisplayVitesse.append( ' print "----- Display 5" ' ) -PyDisplayVitesse.append( ' aView.DisplayOnly(aScalarMap) ' ) -PyDisplayVitesse.append( ' aView.FitAll() ' ) -PyDisplayVitesse.append( ' aView.Update() ' ) -PyDisplayVitesse.append( ' print "----- Display 6" ' ) -PyDisplayVitesse.append( ' theResult=aResult ' ) -PyDisplayVitesse.append( ' #time.sleep(2) ' ) -PyDisplayVitesse.append( ' return theResult ' ) -PyDisplayVitesse.append( '' ) -DisplayVitesse = aNewDataFlow.INode( 'DisplayVitesse' , PyDisplayVitesse ) -DisplayVitesse.SetName( 'DisplayVitesse' ) -DisplayVitesse.SetAuthor( '' ) -DisplayVitesse.SetComment( 'Compute Node' ) -DisplayVitesse.Coords( 609 , 506 ) -DisplayVitesse.InPort( 'index' , 'string' ) -DisplayVitesse.InPort( 'aVisu' , 'objref' ) -DisplayVitesse.InPort( 'aView' , 'objref' ) -DisplayVitesse.InPort( 'aResult' , 'objref' ) -DisplayVitesse.InPort( 'x1' , 'double' ) -DisplayVitesse.OutPort( 'theResult' , 'objref' ) - -PyCreateView = [] -PyCreateView.append( 'def CreateView(aVisu,aResult) : ' ) -PyCreateView.append( ' vm=aVisu.GetViewManager() ' ) -PyCreateView.append( ' aView=vm.Create3DView() ' ) -PyCreateView.append( ' theVisu=aVisu ' ) -PyCreateView.append( ' theResult=aResult ' ) -PyCreateView.append( ' return aView,theVisu,theResult ' ) -CreateView = aNewDataFlow.INode( 'CreateView' , PyCreateView ) -CreateView.SetName( 'CreateView' ) -CreateView.SetAuthor( '' ) -CreateView.SetComment( 'Compute Node' ) -CreateView.Coords( 221 , 563 ) -CreateView.InPort( 'aVisu' , 'objref' ) -CreateView.InPort( 'aResult' , 'objref' ) -CreateView.OutPort( 'aView' , 'objref' ) -CreateView.OutPort( 'theVisu' , 'objref' ) -CreateView.OutPort( 'theResult' , 'objref' ) - -# Creation of Loop Nodes -PyInit = [] -PyInit.append( 'def Init(index,min,max,aVisu,aView,myResult,x1): ' ) -PyInit.append( ' if max >= min : ' ) -PyInit.append( ' index = min ' ) -PyInit.append( ' else : ' ) -PyInit.append( ' index = max ' ) -PyInit.append( ' print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ' ) -PyInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' ) -PyMoreInit = [] -PyMoreInit.append( 'def More(index,min,max,aVisu,aView,myResult,x1): ' ) -PyMoreInit.append( ' if max >= index : ' ) -PyMoreInit.append( ' DoLoop = 1 ' ) -PyMoreInit.append( ' else : ' ) -PyMoreInit.append( ' DoLoop = 0 ' ) -PyMoreInit.append( ' print "---- More",index,min,max,aVisu,aView,myResult,x1 ' ) -PyMoreInit.append( ' return DoLoop,index,min,max,aVisu,aView,myResult,x1 ' ) -PyNextInit = [] -PyNextInit.append( 'def Next(index,min,max,aVisu,aView,myResult,x1): ' ) -PyNextInit.append( ' index = index + 1 ' ) -PyNextInit.append( ' x1=x1+1.0 ' ) -PyNextInit.append( ' print "---- Next",index,min,max,aVisu,aView,myResult,x1 ' ) -PyNextInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' ) -Init,EndOfInit = aNewDataFlow.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit ) -EndOfInit.SetName( 'EndOfInit' ) -EndOfInit.SetAuthor( '' ) -EndOfInit.SetComment( '' ) -EndOfInit.Coords( 797 , 507 ) -PyEndOfInit = [] -EndOfInit.SetPyFunction( 'EndInit' , PyEndOfInit ) -Init.SetName( 'Init' ) -Init.SetAuthor( '' ) -Init.SetComment( '' ) -Init.Coords( 428 , 493 ) -Init.InPort( 'index' , 'long' ) -Init.InPort( 'min' , 'long' ) -Init.InPort( 'max' , 'long' ) -Init.InPort( 'aVisu' , 'objref' ) -Init.InPort( 'aView' , 'objref' ) -Init.InPort( 'aResult' , 'objref' ) -Init.InPort( 'x1' , 'double' ) -Init.OutPort( 'index' , 'long' ) -Init.OutPort( 'min' , 'long' ) -Init.OutPort( 'max' , 'long' ) -Init.OutPort( 'aVisu' , 'objref' ) -Init.OutPort( 'aView' , 'objref' ) -Init.OutPort( 'aResult' , 'objref' ) -Init.OutPort( 'x1' , 'double' ) - -PyLoopOnViews = [] -PyLoopOnViews.append( 'def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' ) -PyLoopOnViews.append( ' ViewCount=MinCount ' ) -PyLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' ) -PyMoreLoopOnViews = [] -PyMoreLoopOnViews.append( 'def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' ) -PyMoreLoopOnViews.append( ' if ViewCount < MaxCount: ' ) -PyMoreLoopOnViews.append( ' return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ' ) -PyMoreLoopOnViews.append( ' return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ' ) -PyNextLoopOnViews = [] -PyNextLoopOnViews.append( 'def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' ) -PyNextLoopOnViews.append( ' ViewCount = ViewCount + 1 ' ) -PyNextLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' ) -LoopOnViews,EndOfLoopOnViews = aNewDataFlow.LNode( 'InitViews' , PyLoopOnViews , 'MoreViews' , PyMoreLoopOnViews , 'NextViews' , PyNextLoopOnViews ) -EndOfLoopOnViews.SetName( 'EndOfLoopOnViews' ) -EndOfLoopOnViews.SetAuthor( '' ) -EndOfLoopOnViews.SetComment( '' ) -EndOfLoopOnViews.Coords( 773 , 224 ) -PyEndOfLoopOnViews = [] -EndOfLoopOnViews.SetPyFunction( 'EndInitViews' , PyEndOfLoopOnViews ) -LoopOnViews.SetName( 'LoopOnViews' ) -LoopOnViews.SetAuthor( '' ) -LoopOnViews.SetComment( '' ) -LoopOnViews.Coords( 219 , 218 ) -LoopOnViews.InPort( 'aVisu' , 'objref' ) -LoopOnViews.InPort( 'aResult' , 'objref' ) -LoopOnViews.InPort( 'ViewCount' , 'int' ) -LoopOnViews.InPort( 'MinCount' , 'int' ) -LoopOnViews.InPort( 'MaxCount' , 'int' ) -LoopOnViews.OutPort( 'aVisu' , 'objref' ) -LoopOnViews.OutPort( 'aResult' , 'objref' ) -LoopOnViews.OutPort( 'ViewCount' , 'int' ) -LoopOnViews.OutPort( 'MinCount' , 'int' ) -LoopOnViews.OutPort( 'MaxCount' , 'int' ) - -# Creation of Links -InitDisplayaVisu = InitDisplay.Port( 'aVisu' ) -LoopOnViewsInGate = aNewDataFlow.Link( InitDisplayaVisu , LoopOnViews.Port( 'InGate' ) ) - -LoopOnViewsaVisu = aNewDataFlow.Link( InitDisplayaVisu , LoopOnViews.Port( 'aVisu' ) ) - -InitDisplaymyResult = InitDisplay.Port( 'myResult' ) -LoopOnViewsaResult = aNewDataFlow.Link( InitDisplaymyResult , LoopOnViews.Port( 'aResult' ) ) - -Initindex = Init.Port( 'index' ) -EndOfInitindex = aNewDataFlow.Link( Initindex , EndOfInit.Port( 'index' ) ) - -DisplayVitesseindex = aNewDataFlow.Link( Initindex , DisplayVitesse.Port( 'index' ) ) -DisplayVitesseindex.AddCoord( 1 , 590 , 587 ) -DisplayVitesseindex.AddCoord( 2 , 591 , 527 ) - -Initmin = Init.Port( 'min' ) -EndOfInitmin = aNewDataFlow.Link( Initmin , EndOfInit.Port( 'min' ) ) - -Initmax = Init.Port( 'max' ) -EndOfInitmax = aNewDataFlow.Link( Initmax , EndOfInit.Port( 'max' ) ) - -InitaVisu = Init.Port( 'aVisu' ) -EndOfInitaVisu = aNewDataFlow.Link( InitaVisu , EndOfInit.Port( 'aVisu' ) ) - -DisplayVitesseaVisu = aNewDataFlow.Link( InitaVisu , DisplayVitesse.Port( 'aVisu' ) ) - -InitaView = Init.Port( 'aView' ) -EndOfInitaView = aNewDataFlow.Link( InitaView , EndOfInit.Port( 'aView' ) ) - -DisplayVitesseaView = aNewDataFlow.Link( InitaView , DisplayVitesse.Port( 'aView' ) ) - -InitaResult = Init.Port( 'aResult' ) -DisplayVitesseaResult = aNewDataFlow.Link( InitaResult , DisplayVitesse.Port( 'aResult' ) ) - -Initx1 = Init.Port( 'x1' ) -EndOfInitx1 = aNewDataFlow.Link( Initx1 , EndOfInit.Port( 'x1' ) ) - -DisplayVitessex1 = aNewDataFlow.Link( Initx1 , DisplayVitesse.Port( 'x1' ) ) - -EndOfInitaResult = EndOfInit.Port( 'aResult' ) -EndOfLoopOnViewsaResult = aNewDataFlow.Link( EndOfInitaResult , EndOfLoopOnViews.Port( 'aResult' ) ) -EndOfLoopOnViewsaResult.AddCoord( 1 , 762 , 288 ) -EndOfLoopOnViewsaResult.AddCoord( 2 , 763 , 424 ) -EndOfLoopOnViewsaResult.AddCoord( 3 , 972 , 425 ) -EndOfLoopOnViewsaResult.AddCoord( 4 , 971 , 687 ) - -DisplayVitessetheResult = DisplayVitesse.Port( 'theResult' ) -EndOfInitaResult = aNewDataFlow.Link( DisplayVitessetheResult , EndOfInit.Port( 'aResult' ) ) -EndOfInitaResult.AddCoord( 1 , 787 , 687 ) -EndOfInitaResult.AddCoord( 2 , 786 , 585 ) - -LoopOnViewsaVisu = LoopOnViews.Port( 'aVisu' ) -EndOfLoopOnViewsaVisu = aNewDataFlow.Link( LoopOnViewsaVisu , EndOfLoopOnViews.Port( 'aVisu' ) ) - -CreateViewaVisu = aNewDataFlow.Link( LoopOnViewsaVisu , CreateView.Port( 'aVisu' ) ) -CreateViewaVisu.AddCoord( 1 , 186 , 643 ) -CreateViewaVisu.AddCoord( 2 , 186 , 442 ) -CreateViewaVisu.AddCoord( 3 , 400 , 441 ) -CreateViewaVisu.AddCoord( 4 , 401 , 251 ) - -LoopOnViewsaResult = LoopOnViews.Port( 'aResult' ) -CreateViewaResult = aNewDataFlow.Link( LoopOnViewsaResult , CreateView.Port( 'aResult' ) ) -CreateViewaResult.AddCoord( 1 , 169 , 671 ) -CreateViewaResult.AddCoord( 2 , 170 , 412 ) -CreateViewaResult.AddCoord( 3 , 386 , 413 ) -CreateViewaResult.AddCoord( 4 , 387 , 280 ) - -LoopOnViewsViewCount = LoopOnViews.Port( 'ViewCount' ) -EndOfLoopOnViewsViewCount = aNewDataFlow.Link( LoopOnViewsViewCount , EndOfLoopOnViews.Port( 'ViewCount' ) ) - -LoopOnViewsMinCount = LoopOnViews.Port( 'MinCount' ) -EndOfLoopOnViewsMinCount = aNewDataFlow.Link( LoopOnViewsMinCount , EndOfLoopOnViews.Port( 'MinCount' ) ) - -LoopOnViewsMaxCount = LoopOnViews.Port( 'MaxCount' ) -EndOfLoopOnViewsMaxCount = aNewDataFlow.Link( LoopOnViewsMaxCount , EndOfLoopOnViews.Port( 'MaxCount' ) ) - -CreateViewaView = CreateView.Port( 'aView' ) -InitaView = aNewDataFlow.Link( CreateViewaView , Init.Port( 'aView' ) ) - -CreateViewtheVisu = CreateView.Port( 'theVisu' ) -InitaVisu = aNewDataFlow.Link( CreateViewtheVisu , Init.Port( 'aVisu' ) ) - -CreateViewtheResult = CreateView.Port( 'theResult' ) -InitaResult = aNewDataFlow.Link( CreateViewtheResult , Init.Port( 'aResult' ) ) - -# Creation of Input datas -Initindex = Init.Input( 'index' , 1) -Initmin = Init.Input( 'min' , 1) -Initmax = Init.Input( 'max' , 10) -Initx1 = Init.Input( 'x1' , 1) -LoopOnViewsViewCount = LoopOnViews.Input( 'ViewCount' , 0) -LoopOnViewsMinCount = LoopOnViews.Input( 'MinCount' , 0) -LoopOnViewsMaxCount = LoopOnViews.Input( 'MaxCount' , 10) - -# Creation of Output variables -EndOfInitindex = EndOfInit.Port( 'index' ) -EndOfInitmin = EndOfInit.Port( 'min' ) -EndOfInitmax = EndOfInit.Port( 'max' ) -EndOfInitaVisu = EndOfInit.Port( 'aVisu' ) -EndOfInitaView = EndOfInit.Port( 'aView' ) -EndOfInitx1 = EndOfInit.Port( 'x1' ) -EndOfLoopOnViewsaVisu = EndOfLoopOnViews.Port( 'aVisu' ) -EndOfLoopOnViewsaResult = EndOfLoopOnViews.Port( 'aResult' ) -EndOfLoopOnViewsViewCount = EndOfLoopOnViews.Port( 'ViewCount' ) -EndOfLoopOnViewsMinCount = EndOfLoopOnViews.Port( 'MinCount' ) -EndOfLoopOnViewsMaxCount = EndOfLoopOnViews.Port( 'MaxCount' ) +# Graph creation of aNewDataFlow +def DefaNewDataFlow() : + aNewDataFlow = Graph( 'aNewDataFlow' ) + aNewDataFlow.SetName( 'aNewDataFlow' ) + aNewDataFlow.SetAuthor( '' ) + aNewDataFlow.SetComment( '' ) + aNewDataFlow.Coords( 0 , 0 ) + + # Creation of Factory Nodes + + # Creation of InLine Nodes + PyInitDisplay = [] + PyInitDisplay.append( 'import os ' ) + PyInitDisplay.append( 'import time ' ) + PyInitDisplay.append( 'from LifeCycleCORBA import * ' ) + PyInitDisplay.append( 'from SALOME_NamingServicePy import * ' ) + PyInitDisplay.append( 'import SALOMEDS ' ) + PyInitDisplay.append( 'from VISU import * ' ) + PyInitDisplay.append( 'def InitDisplay(): ' ) + PyInitDisplay.append( ' # --- initialize the ORB ' ) + PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' ) + PyInitDisplay.append( ' # --- create a LifeCycleCORBA instance ' ) + PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' ) + PyInitDisplay.append( ' # --- create a naming service instance ' ) + PyInitDisplay.append( ' naming_service = SALOME_NamingServicePy_i(orb) ' ) + PyInitDisplay.append( ' # --- get Study Manager reference ' ) + PyInitDisplay.append( ' obj = naming_service.Resolve('myStudyManager') ' ) + PyInitDisplay.append( ' StudyManager = obj._narrow(SALOMEDS.StudyManager) ' ) + PyInitDisplay.append( ' # --- load visu component ' ) + PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ' ) + PyInitDisplay.append( ' aStudy = StudyManager.GetStudyByID(1) ' ) + PyInitDisplay.append( ' aVisu.SetCurrentStudy(aStudy) ' ) + PyInitDisplay.append( ' print "InitDisplay --> aVisu ", aVisu ' ) + PyInitDisplay.append( ' time.sleep(2) ' ) + PyInitDisplay.append( ' #aViewManager=aVisu.GetViewManager() ' ) + PyInitDisplay.append( ' #print "InitDisplay --> aViewManager ", aViewManager ' ) + PyInitDisplay.append( ' #time.sleep(2) ' ) + PyInitDisplay.append( ' #aView=aViewManager.GetCurrentView() ' ) + PyInitDisplay.append( ' #aView=aViewManager.Create3DView() ' ) + PyInitDisplay.append( ' #print "InitDisplay --> aView ", aView ' ) + PyInitDisplay.append( ' #time.sleep(2) ' ) + PyInitDisplay.append( ' medFile = "TimeStamps.med" ' ) + PyInitDisplay.append( ' medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile ' ) + PyInitDisplay.append( ' myResult = aVisu.ImportFile(medFile) ' ) + PyInitDisplay.append( ' print "InitDisplay --> myResult ", myResult ' ) + PyInitDisplay.append( ' return aVisu,myResult ' ) + PyInitDisplay.append( '' ) + InitDisplay = aNewDataFlow.INode( 'InitDisplay' , PyInitDisplay ) + InitDisplay.SetName( 'InitDisplay' ) + InitDisplay.SetAuthor( '' ) + InitDisplay.SetComment( 'Compute Node' ) + InitDisplay.Coords( 13 , 173 ) + IInitDisplayGate = InitDisplay.GetInPort( 'Gate' ) + OInitDisplayaVisu = InitDisplay.OutPort( 'aVisu' , 'objref' ) + OInitDisplaymyResult = InitDisplay.OutPort( 'myResult' , 'objref' ) + OInitDisplayGate = InitDisplay.GetOutPort( 'Gate' ) + + PyDisplayVitesse = [] + PyDisplayVitesse.append( 'import VISU ' ) + PyDisplayVitesse.append( 'import os ' ) + PyDisplayVitesse.append( 'import time ' ) + PyDisplayVitesse.append( 'def DisplayVitesse(index,aVisu,aView,aResult,x1): ' ) + PyDisplayVitesse.append( ' print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ' ) + PyDisplayVitesse.append( ' aMeshName ="dom" ' ) + PyDisplayVitesse.append( ' myFieldName = "vitesse" ' ) + PyDisplayVitesse.append( ' anEntity = VISU.NODE ' ) + PyDisplayVitesse.append( ' aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ' ) + PyDisplayVitesse.append( ' print "----- Display 2 ", aMesh ' ) + PyDisplayVitesse.append( ' aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ' ) + PyDisplayVitesse.append( ' print "----- Display 4" ' ) + PyDisplayVitesse.append( ' if aScalarMap is not None: ' ) + PyDisplayVitesse.append( ' aScalarMap.SetScaling(VISU.LINEAR) ' ) + PyDisplayVitesse.append( ' else: ' ) + PyDisplayVitesse.append( ' print "Null scalar map is created" ' ) + PyDisplayVitesse.append( ' print "----- Display 5" ' ) + PyDisplayVitesse.append( ' aView.DisplayOnly(aScalarMap) ' ) + PyDisplayVitesse.append( ' aView.FitAll() ' ) + PyDisplayVitesse.append( ' aView.Update() ' ) + PyDisplayVitesse.append( ' print "----- Display 6" ' ) + PyDisplayVitesse.append( ' theResult=aResult ' ) + PyDisplayVitesse.append( ' #time.sleep(2) ' ) + PyDisplayVitesse.append( ' return theResult ' ) + PyDisplayVitesse.append( '' ) + DisplayVitesse = aNewDataFlow.INode( 'DisplayVitesse' , PyDisplayVitesse ) + DisplayVitesse.SetName( 'DisplayVitesse' ) + DisplayVitesse.SetAuthor( '' ) + DisplayVitesse.SetComment( 'Compute Node' ) + DisplayVitesse.Coords( 609 , 506 ) + IDisplayVitesseindex = DisplayVitesse.InPort( 'index' , 'string' ) + IDisplayVitesseaVisu = DisplayVitesse.InPort( 'aVisu' , 'objref' ) + IDisplayVitesseaView = DisplayVitesse.InPort( 'aView' , 'objref' ) + IDisplayVitesseaResult = DisplayVitesse.InPort( 'aResult' , 'objref' ) + IDisplayVitessex1 = DisplayVitesse.InPort( 'x1' , 'double' ) + IDisplayVitesseGate = DisplayVitesse.GetInPort( 'Gate' ) + ODisplayVitessetheResult = DisplayVitesse.OutPort( 'theResult' , 'objref' ) + ODisplayVitesseGate = DisplayVitesse.GetOutPort( 'Gate' ) + + PyCreateView = [] + PyCreateView.append( 'def CreateView(aVisu,aResult) : ' ) + PyCreateView.append( ' vm=aVisu.GetViewManager() ' ) + PyCreateView.append( ' aView=vm.Create3DView() ' ) + PyCreateView.append( ' theVisu=aVisu ' ) + PyCreateView.append( ' theResult=aResult ' ) + PyCreateView.append( ' return aView,theVisu,theResult ' ) + CreateView = aNewDataFlow.INode( 'CreateView' , PyCreateView ) + CreateView.SetName( 'CreateView' ) + CreateView.SetAuthor( '' ) + CreateView.SetComment( 'Compute Node' ) + CreateView.Coords( 221 , 563 ) + ICreateViewaVisu = CreateView.InPort( 'aVisu' , 'objref' ) + ICreateViewaResult = CreateView.InPort( 'aResult' , 'objref' ) + ICreateViewGate = CreateView.GetInPort( 'Gate' ) + OCreateViewaView = CreateView.OutPort( 'aView' , 'objref' ) + OCreateViewtheVisu = CreateView.OutPort( 'theVisu' , 'objref' ) + OCreateViewtheResult = CreateView.OutPort( 'theResult' , 'objref' ) + OCreateViewGate = CreateView.GetOutPort( 'Gate' ) + + # Creation of Loop Nodes + PyInit = [] + PyInit.append( 'def Init(index,min,max,aVisu,aView,myResult,x1): ' ) + PyInit.append( ' if max >= min : ' ) + PyInit.append( ' index = min ' ) + PyInit.append( ' else : ' ) + PyInit.append( ' index = max ' ) + PyInit.append( ' print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ' ) + PyInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' ) + PyMoreInit = [] + PyMoreInit.append( 'def More(index,min,max,aVisu,aView,myResult,x1): ' ) + PyMoreInit.append( ' if max >= index : ' ) + PyMoreInit.append( ' DoLoop = 1 ' ) + PyMoreInit.append( ' else : ' ) + PyMoreInit.append( ' DoLoop = 0 ' ) + PyMoreInit.append( ' print "---- More",index,min,max,aVisu,aView,myResult,x1 ' ) + PyMoreInit.append( ' return DoLoop,index,min,max,aVisu,aView,myResult,x1 ' ) + PyNextInit = [] + PyNextInit.append( 'def Next(index,min,max,aVisu,aView,myResult,x1): ' ) + PyNextInit.append( ' index = index + 1 ' ) + PyNextInit.append( ' x1=x1+1.0 ' ) + PyNextInit.append( ' print "---- Next",index,min,max,aVisu,aView,myResult,x1 ' ) + PyNextInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' ) + Init,EndOfInit = aNewDataFlow.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit ) + EndOfInit.SetName( 'EndOfInit' ) + EndOfInit.SetAuthor( '' ) + EndOfInit.SetComment( 'Compute Node' ) + EndOfInit.Coords( 797 , 507 ) + PyEndOfInit = [] + EndOfInit.SetPyFunction( '' , PyEndOfInit ) + IInitDoLoop = Init.GetInPort( 'DoLoop' ) + IInitindex = Init.InPort( 'index' , 'long' ) + IInitmin = Init.InPort( 'min' , 'long' ) + IInitmax = Init.InPort( 'max' , 'long' ) + IInitaVisu = Init.InPort( 'aVisu' , 'objref' ) + IInitaView = Init.InPort( 'aView' , 'objref' ) + IInitaResult = Init.InPort( 'aResult' , 'objref' ) + IInitx1 = Init.InPort( 'x1' , 'double' ) + IInitGate = Init.GetInPort( 'Gate' ) + OInitDoLoop = Init.GetOutPort( 'DoLoop' ) + OInitindex = Init.GetOutPort( 'index' ) + OInitmin = Init.GetOutPort( 'min' ) + OInitmax = Init.GetOutPort( 'max' ) + OInitaVisu = Init.GetOutPort( 'aVisu' ) + OInitaView = Init.GetOutPort( 'aView' ) + OInitaResult = Init.GetOutPort( 'aResult' ) + OInitx1 = Init.GetOutPort( 'x1' ) + IEndOfInitDoLoop = EndOfInit.GetInPort( 'DoLoop' ) + IEndOfInitindex = EndOfInit.GetInPort( 'index' ) + IEndOfInitmin = EndOfInit.GetInPort( 'min' ) + IEndOfInitmax = EndOfInit.GetInPort( 'max' ) + IEndOfInitaVisu = EndOfInit.GetInPort( 'aVisu' ) + IEndOfInitaView = EndOfInit.GetInPort( 'aView' ) + IEndOfInitaResult = EndOfInit.GetInPort( 'aResult' ) + IEndOfInitx1 = EndOfInit.GetInPort( 'x1' ) + IEndOfInitGate = EndOfInit.GetInPort( 'Gate' ) + OEndOfInitDoLoop = EndOfInit.GetOutPort( 'DoLoop' ) + OEndOfInitindex = EndOfInit.GetOutPort( 'index' ) + OEndOfInitmin = EndOfInit.GetOutPort( 'min' ) + OEndOfInitmax = EndOfInit.GetOutPort( 'max' ) + OEndOfInitaVisu = EndOfInit.GetOutPort( 'aVisu' ) + OEndOfInitaView = EndOfInit.GetOutPort( 'aView' ) + OEndOfInitaResult = EndOfInit.GetOutPort( 'aResult' ) + OEndOfInitx1 = EndOfInit.GetOutPort( 'x1' ) + OEndOfInitGate = EndOfInit.GetOutPort( 'Gate' ) + Init.SetName( 'Init' ) + Init.SetAuthor( '' ) + Init.SetComment( 'Compute Node' ) + Init.Coords( 428 , 493 ) + + PyLoopOnViews = [] + PyLoopOnViews.append( 'def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' ) + PyLoopOnViews.append( ' ViewCount=MinCount ' ) + PyLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' ) + PyMoreLoopOnViews = [] + PyMoreLoopOnViews.append( 'def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' ) + PyMoreLoopOnViews.append( ' if ViewCount < MaxCount: ' ) + PyMoreLoopOnViews.append( ' return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ' ) + PyMoreLoopOnViews.append( ' return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ' ) + PyNextLoopOnViews = [] + PyNextLoopOnViews.append( 'def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' ) + PyNextLoopOnViews.append( ' ViewCount = ViewCount + 1 ' ) + PyNextLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' ) + LoopOnViews,EndOfLoopOnViews = aNewDataFlow.LNode( 'InitViews' , PyLoopOnViews , 'MoreViews' , PyMoreLoopOnViews , 'NextViews' , PyNextLoopOnViews ) + EndOfLoopOnViews.SetName( 'EndOfLoopOnViews' ) + EndOfLoopOnViews.SetAuthor( '' ) + EndOfLoopOnViews.SetComment( 'Compute Node' ) + EndOfLoopOnViews.Coords( 773 , 224 ) + PyEndOfLoopOnViews = [] + EndOfLoopOnViews.SetPyFunction( 'EndLoop' , PyEndOfLoopOnViews ) + ILoopOnViewsDoLoop = LoopOnViews.GetInPort( 'DoLoop' ) + ILoopOnViewsaVisu = LoopOnViews.InPort( 'aVisu' , 'objref' ) + ILoopOnViewsaResult = LoopOnViews.InPort( 'aResult' , 'objref' ) + ILoopOnViewsViewCount = LoopOnViews.InPort( 'ViewCount' , 'int' ) + ILoopOnViewsMinCount = LoopOnViews.InPort( 'MinCount' , 'int' ) + ILoopOnViewsMaxCount = LoopOnViews.InPort( 'MaxCount' , 'int' ) + ILoopOnViewsGate = LoopOnViews.GetInPort( 'Gate' ) + OLoopOnViewsDoLoop = LoopOnViews.GetOutPort( 'DoLoop' ) + OLoopOnViewsaVisu = LoopOnViews.GetOutPort( 'aVisu' ) + OLoopOnViewsaResult = LoopOnViews.GetOutPort( 'aResult' ) + OLoopOnViewsViewCount = LoopOnViews.GetOutPort( 'ViewCount' ) + OLoopOnViewsMinCount = LoopOnViews.GetOutPort( 'MinCount' ) + OLoopOnViewsMaxCount = LoopOnViews.GetOutPort( 'MaxCount' ) + IEndOfLoopOnViewsDoLoop = EndOfLoopOnViews.GetInPort( 'DoLoop' ) + IEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetInPort( 'aVisu' ) + IEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetInPort( 'aResult' ) + IEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetInPort( 'ViewCount' ) + IEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetInPort( 'MinCount' ) + IEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetInPort( 'MaxCount' ) + IEndOfLoopOnViewsGate = EndOfLoopOnViews.GetInPort( 'Gate' ) + OEndOfLoopOnViewsDoLoop = EndOfLoopOnViews.GetOutPort( 'DoLoop' ) + OEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetOutPort( 'aVisu' ) + OEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetOutPort( 'aResult' ) + OEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetOutPort( 'ViewCount' ) + OEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetOutPort( 'MinCount' ) + OEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetOutPort( 'MaxCount' ) + OEndOfLoopOnViewsGate = EndOfLoopOnViews.GetOutPort( 'Gate' ) + LoopOnViews.SetName( 'LoopOnViews' ) + LoopOnViews.SetAuthor( '' ) + LoopOnViews.SetComment( 'Compute Node' ) + LoopOnViews.Coords( 219 , 218 ) + + # Creation of Links + LInitDisplayaVisuLoopOnViewsaVisu = aNewDataFlow.Link( OInitDisplayaVisu , ILoopOnViewsaVisu ) + + LInitDisplaymyResultLoopOnViewsaResult = aNewDataFlow.Link( OInitDisplaymyResult , ILoopOnViewsaResult ) + + LInitindexEndOfInitindex = aNewDataFlow.Link( OInitindex , IEndOfInitindex ) + + LInitindexDisplayVitesseindex = aNewDataFlow.Link( OInitindex , IDisplayVitesseindex ) + LInitindexDisplayVitesseindex.AddCoord( 1 , 590 , 587 ) + LInitindexDisplayVitesseindex.AddCoord( 2 , 591 , 527 ) + + LInitminEndOfInitmin = aNewDataFlow.Link( OInitmin , IEndOfInitmin ) + + LInitmaxEndOfInitmax = aNewDataFlow.Link( OInitmax , IEndOfInitmax ) + + LInitaVisuEndOfInitaVisu = aNewDataFlow.Link( OInitaVisu , IEndOfInitaVisu ) + + LInitaVisuDisplayVitesseaVisu = aNewDataFlow.Link( OInitaVisu , IDisplayVitesseaVisu ) + + LInitaViewEndOfInitaView = aNewDataFlow.Link( OInitaView , IEndOfInitaView ) + + LInitaViewDisplayVitesseaView = aNewDataFlow.Link( OInitaView , IDisplayVitesseaView ) + + LInitaResultDisplayVitesseaResult = aNewDataFlow.Link( OInitaResult , IDisplayVitesseaResult ) + + LInitx1EndOfInitx1 = aNewDataFlow.Link( OInitx1 , IEndOfInitx1 ) + + LInitx1DisplayVitessex1 = aNewDataFlow.Link( OInitx1 , IDisplayVitessex1 ) + + LEndOfInitaResultEndOfLoopOnViewsaResult = aNewDataFlow.Link( OEndOfInitaResult , IEndOfLoopOnViewsaResult ) + LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 1 , 762 , 288 ) + LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 2 , 763 , 424 ) + LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 3 , 972 , 425 ) + LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 4 , 971 , 687 ) + + LDisplayVitessetheResultEndOfInitaResult = aNewDataFlow.Link( ODisplayVitessetheResult , IEndOfInitaResult ) + LDisplayVitessetheResultEndOfInitaResult.AddCoord( 1 , 787 , 687 ) + LDisplayVitessetheResultEndOfInitaResult.AddCoord( 2 , 786 , 585 ) + + LLoopOnViewsaVisuEndOfLoopOnViewsaVisu = aNewDataFlow.Link( OLoopOnViewsaVisu , IEndOfLoopOnViewsaVisu ) + + LLoopOnViewsaVisuCreateViewaVisu = aNewDataFlow.Link( OLoopOnViewsaVisu , ICreateViewaVisu ) + LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 1 , 186 , 643 ) + LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 2 , 186 , 442 ) + LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 3 , 400 , 441 ) + LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 4 , 401 , 251 ) + + LLoopOnViewsaResultCreateViewaResult = aNewDataFlow.Link( OLoopOnViewsaResult , ICreateViewaResult ) + LLoopOnViewsaResultCreateViewaResult.AddCoord( 1 , 169 , 671 ) + LLoopOnViewsaResultCreateViewaResult.AddCoord( 2 , 170 , 412 ) + LLoopOnViewsaResultCreateViewaResult.AddCoord( 3 , 386 , 413 ) + LLoopOnViewsaResultCreateViewaResult.AddCoord( 4 , 387 , 280 ) + + LLoopOnViewsViewCountEndOfLoopOnViewsViewCount = aNewDataFlow.Link( OLoopOnViewsViewCount , IEndOfLoopOnViewsViewCount ) + + LLoopOnViewsMinCountEndOfLoopOnViewsMinCount = aNewDataFlow.Link( OLoopOnViewsMinCount , IEndOfLoopOnViewsMinCount ) + + LLoopOnViewsMaxCountEndOfLoopOnViewsMaxCount = aNewDataFlow.Link( OLoopOnViewsMaxCount , IEndOfLoopOnViewsMaxCount ) + + LCreateViewaViewInitaView = aNewDataFlow.Link( OCreateViewaView , IInitaView ) + + LCreateViewtheVisuInitaVisu = aNewDataFlow.Link( OCreateViewtheVisu , IInitaVisu ) + + LCreateViewtheResultInitaResult = aNewDataFlow.Link( OCreateViewtheResult , IInitaResult ) + + # Input datas + IInitindex.Input( 1 ) + IInitmin.Input( 1 ) + IInitmax.Input( 10 ) + IInitx1.Input( 1 ) + ILoopOnViewsViewCount.Input( 0 ) + ILoopOnViewsMinCount.Input( 0 ) + ILoopOnViewsMaxCount.Input( 10 ) + + # Output Ports of the graph + #OEndOfInitindex = EndOfInit.GetOutPort( 'index' ) + #OEndOfInitmin = EndOfInit.GetOutPort( 'min' ) + #OEndOfInitmax = EndOfInit.GetOutPort( 'max' ) + #OEndOfInitaVisu = EndOfInit.GetOutPort( 'aVisu' ) + #OEndOfInitaView = EndOfInit.GetOutPort( 'aView' ) + #OEndOfInitx1 = EndOfInit.GetOutPort( 'x1' ) + #OEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetOutPort( 'aVisu' ) + #OEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetOutPort( 'aResult' ) + #OEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetOutPort( 'ViewCount' ) + #OEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetOutPort( 'MinCount' ) + #OEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetOutPort( 'MaxCount' ) + return aNewDataFlow + + +aNewDataFlow = DefaNewDataFlow() diff --git a/examples/testvisu20_multi.xml b/examples/testvisu20_multi.xml index 024ac2c..c8e247c 100644 --- a/examples/testvisu20_multi.xml +++ b/examples/testvisu20_multi.xml @@ -1,807 +1,802 @@ - + + ? - ? - aNewDataFlow - 1 - ? - + ? + aNewDataFlow + 1 + ? + aNewDataFlow - + long - Init\index - + Init__index + long - Init\min - + Init__min + long - Init\max - + Init__max + double - Init\x1 - + Init__x1 + int - LoopOnViews\ViewCount - + LoopOnViews__ViewCount + int - LoopOnViews\MinCount - + LoopOnViews__MinCount + int - LoopOnViews\MaxCount - + LoopOnViews__MaxCount + long - EndOfInit\index - + EndOfInit__index + long - EndOfInit\min - + EndOfInit__min + long - EndOfInit\max - + EndOfInit__max + objref - EndOfInit\aVisu - + EndOfInit__aVisu + objref - EndOfInit\aView - + EndOfInit__aView + double - EndOfInit\x1 - + EndOfInit__x1 + objref - EndOfLoopOnViews\aVisu - + EndOfLoopOnViews__aVisu + objref - EndOfLoopOnViews\aResult - + EndOfLoopOnViews__aResult + int - EndOfLoopOnViews\ViewCount - + EndOfLoopOnViews__ViewCount + int - EndOfLoopOnViews\MinCount - + EndOfLoopOnViews__MinCount + int - EndOfLoopOnViews\MaxCount - - - 13/11/2003 - 11:15:53 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - ? - 0 - 0 - + EndOfLoopOnViews__MaxCount + + + 13/11/2003 - 11:15:53 + 26/1/2005 - 15:3:36 + 1.05 + ? + ? + ? + 0 + 0 + ? - ? - InitDisplay - 3 - ? - + ? + InitDisplay + 3 + ? + InitDisplay - - + + objref - aVisu - + aVisu + objref - myResult - - + myResult + + InitDisplay - - - - - - - - - - - - - - - - - - - - - aVisu ", aVisu ]]> - - - aViewManager ", aViewManager ]]> - - - - aView ", aView ]]> - - - - - myResult ", myResult ]]> - - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - Compute Node - 13 - 173 - + + + + + + + + + + + + + + + + + + + + + aVisu ", aVisu ]]> + + + aViewManager ", aViewManager ]]> + + + + aView ", aView ]]> + + + + + myResult ", myResult ]]> + + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 13 + 173 + ? - ? - Init - 4 - EndOfInit - + ? + Init + 4 + EndOfInit + Init - + long - index - + index + long - min - + min + long - max - + max + objref - aVisu - + aVisu + objref - aView - + aView + objref - aResult - + aResult + double - x1 - + x1 + long - index - + index + long - min - + min + long - max - + max + objref - aVisu - + aVisu + objref - aView - + aView + objref - aResult - + aResult + double - x1 - - + x1 + + Init - - = min : ]]> - - - - - - + + = min : ]]> + + + + + + More - - = index : ]]> - - - - - - + + = index : ]]> + + + + + + Next - - - - - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - ? - 428 - 493 - + + + + + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 428 + 493 + ? - ? - EndOfInit - 5 - Init - + ? + EndOfInit + 5 + Init + EndOfInit - + long - index - + index + long - min - + min + long - max - + max + objref - aVisu - + aVisu + objref - aView - + aView + objref - aResult - + aResult + double - x1 - + x1 + long - index - + index + long - min - + min + long - max - + max + objref - aVisu - + aVisu + objref - aView - + aView + objref - aResult - + aResult + double - x1 - - + x1 + + ? - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - ? - 797 - 507 - + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 797 + 507 + ? - ? - DisplayVitesse - 3 - ? - + ? + DisplayVitesse + 3 + ? + DisplayVitesse - + string - index - + index + objref - aVisu - + aVisu + objref - aView - + aView + objref - aResult - + aResult + double - x1 - + x1 + objref - theResult - - + theResult + + DisplayVitesse - - - - - - - - - - - - - - - - - - - - - - - - - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - Compute Node - 609 - 506 - + + + + + + + + + + + + + + + + + + + + + + + + + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 609 + 506 + ? - ? - LoopOnViews - 4 - EndOfLoopOnViews - + ? + LoopOnViews + 4 + EndOfLoopOnViews + LoopOnViews - + objref - aVisu - + aVisu + objref - aResult - + aResult + int - ViewCount - + ViewCount + int - MinCount - + MinCount + int - MaxCount - + MaxCount + objref - aVisu - + aVisu + objref - aResult - + aResult + int - ViewCount - + ViewCount + int - MinCount - + MinCount + int - MaxCount - - + MaxCount + + InitViews - - - - + + + + MoreViews - - - - - + + + + + NextViews - - - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - ? - 219 - 218 - + + + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 219 + 218 + ? - ? - EndOfLoopOnViews - 5 - LoopOnViews - + ? + EndOfLoopOnViews + 5 + LoopOnViews + EndOfLoopOnViews - + objref - aVisu - + aVisu + objref - aResult - + aResult + int - ViewCount - + ViewCount + int - MinCount - + MinCount + int - MaxCount - + MaxCount + objref - aVisu - + aVisu + objref - aResult - + aResult + int - ViewCount - + ViewCount + int - MinCount - + MinCount + int - MaxCount - - + MaxCount + + EndLoop - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - ? - 773 - 224 - + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 773 + 224 + ? - ? - CreateView - 3 - ? - + ? + CreateView + 3 + ? + CreateView - + objref - aVisu - + aVisu + objref - aResult - + aResult + objref - aView - + aView + objref - theVisu - + theVisu + objref - theResult - - + theResult + + CreateView - - - - - - - 6/5/2004 - 12:59:28 - 6/5/2004 - 12:59:28 - 1.05 - ? - ? - Compute Node - 221 - 563 - + + + + + + + 26/1/2005 - 15:3:29 + 26/1/2005 - 15:3:29 + 1.05 + ? + ? + Compute Node + 221 + 563 + InitDisplay - aVisu - LoopOnViews - InGate - - + aVisu + LoopOnViews + aVisu + + InitDisplay - aVisu - LoopOnViews - aVisu - - -InitDisplay - myResult - LoopOnViews - aResult - - + myResult + LoopOnViews + aResult + + Init - DoLoop - EndOfInit - DoLoop - - + DoLoop + EndOfInit + DoLoop + + Init - index - EndOfInit - index - - + index + EndOfInit + index + + Init - index - DisplayVitesse - index - + index + DisplayVitesse + index + 590 - 587 - + 587 + 591 - 527 - + 527 + Init - min - EndOfInit - min - - + min + EndOfInit + min + + Init - max - EndOfInit - max - - + max + EndOfInit + max + + Init - aVisu - EndOfInit - aVisu - - + aVisu + EndOfInit + aVisu + + Init - aVisu - DisplayVitesse - aVisu - - + aVisu + DisplayVitesse + aVisu + + Init - aView - EndOfInit - aView - - + aView + EndOfInit + aView + + Init - aView - DisplayVitesse - aView - - + aView + DisplayVitesse + aView + + Init - aResult - DisplayVitesse - aResult - - + aResult + DisplayVitesse + aResult + + Init - x1 - EndOfInit - x1 - - + x1 + EndOfInit + x1 + + Init - x1 - DisplayVitesse - x1 - - + x1 + DisplayVitesse + x1 + + EndOfInit - DoLoop - Init - DoLoop - - + DoLoop + Init + DoLoop + + EndOfInit - aResult - EndOfLoopOnViews - aResult - + aResult + EndOfLoopOnViews + aResult + 762 - 288 - + 288 + 763 - 424 - + 424 + 972 - 425 - + 425 + 971 - 687 - + 687 + DisplayVitesse - theResult - EndOfInit - aResult - + theResult + EndOfInit + aResult + 787 - 687 - + 687 + 786 - 585 - + 585 + LoopOnViews - DoLoop - EndOfLoopOnViews - DoLoop - - + DoLoop + EndOfLoopOnViews + DoLoop + + LoopOnViews - aVisu - EndOfLoopOnViews - aVisu - - + aVisu + EndOfLoopOnViews + aVisu + + LoopOnViews - aVisu - CreateView - aVisu - + aVisu + CreateView + aVisu + 186 - 643 - + 643 + 186 - 442 - + 442 + 400 - 441 - + 441 + 401 - 251 - + 251 + LoopOnViews - aResult - CreateView - aResult - + aResult + CreateView + aResult + 169 - 671 - + 671 + 170 - 412 - + 412 + 386 - 413 - + 413 + 387 - 280 - + 280 + LoopOnViews - ViewCount - EndOfLoopOnViews - ViewCount - - + ViewCount + EndOfLoopOnViews + ViewCount + + LoopOnViews - MinCount - EndOfLoopOnViews - MinCount - - + MinCount + EndOfLoopOnViews + MinCount + + LoopOnViews - MaxCount - EndOfLoopOnViews - MaxCount - - + MaxCount + EndOfLoopOnViews + MaxCount + + EndOfLoopOnViews - DoLoop - LoopOnViews - DoLoop - - + DoLoop + LoopOnViews + DoLoop + + CreateView - aView - Init - aView - - + aView + Init + aView + + CreateView - theVisu - Init - aVisu - - + theVisu + Init + aVisu + + CreateView - theResult - Init - aResult - - + theResult + Init + aResult + + aNewDataFlow - Init\index - Init - index - + Init__index + Init + index + 3 - 1 - - + 1 + + aNewDataFlow - Init\min - Init - min - + Init__min + Init + min + 3 - 1 - - + 1 + + aNewDataFlow - Init\max - Init - max - + Init__max + Init + max + 3 - 10 - - + 10 + + aNewDataFlow - Init\x1 - Init - x1 - + Init__x1 + Init + x1 + 7 - 1 - - + 1 + + aNewDataFlow - LoopOnViews\ViewCount - LoopOnViews - ViewCount - + LoopOnViews__ViewCount + LoopOnViews + ViewCount + 3 - 0 - - + 0 + + aNewDataFlow - LoopOnViews\MinCount - LoopOnViews - MinCount - + LoopOnViews__MinCount + LoopOnViews + MinCount + 3 - 0 - - + 0 + + aNewDataFlow - LoopOnViews\MaxCount - LoopOnViews - MaxCount - + LoopOnViews__MaxCount + LoopOnViews + MaxCount + 3 - 10 - + 10 +