Updated viewer display model generation sequence diagram

New names and flow
This commit is contained in:
Jacob Støren 2019-11-04 09:36:41 +01:00
parent 5044784201
commit 58940a31c8

View File

@ -1,59 +1,65 @@
@startuml @startuml
scale 2000 width
actor RedrawScheduler actor RedrawScheduler
box "Rim3dView" #White box "Rim3dView" #White
participant createDisplayModelAndRedraw order 10 participant createDisplayModelAndRedraw order 10
participant setCurrentTimeStepAndUpdate order 20 participant setCurrentTimeStepAndUpdate order 20
participant updateDisplayModelForCurrentTimeStepAndRedraw order 30
end box end box
box "RimSpecialView" #LightBlue box "RimSpecialView" #LightBlue
participant createDisplayModel order 20 participant onCreateDisplayModel order 40
participant onUpdateCurrentTimeStep order 30 participant onUpdateDisplayModelForCurrentTimeStep order 45
end box end box
box "RiuViewer" #LightBlue box "RiuViewer" #LightBlue
participant setCurrentFrame order 40 participant setCurrentFrame order 50
end box end box
box "Rim3dView Comparison" #LightGray box "Rim3dView Comparison" #LightGray
participant createDisplayModelAndRedraw_c order 45 participant createDisplayModelAndRedraw_c order 60
end box end box
box "RimSpecialView Comparison" #LightGray box "RimSpecialView Comparison" #LightGray
participant onUpdateCurrentTimeStep_c order 50 participant onCreateDisplayModel_c order 70
participant onUpdateDisplayModelForCurrentTimeStep_c order 80
participant createDisplayModel_c order 60
end box end box
RedrawScheduler -> createDisplayModelAndRedraw ++ RedrawScheduler -> createDisplayModelAndRedraw ++
createDisplayModelAndRedraw -> createDisplayModel ++ createDisplayModelAndRedraw -> onCreateDisplayModel ++
createDisplayModel -> setCurrentFrame ++ onCreateDisplayModel -> setCurrentFrame ++
setCurrentFrame -> setCurrentTimeStepAndUpdate setCurrentFrame -> setCurrentTimeStepAndUpdate ++
activate setCurrentTimeStepAndUpdate
setCurrentTimeStepAndUpdate -> onUpdateCurrentTimeStep ++ setCurrentTimeStepAndUpdate -> updateDisplayModelForCurrentTimeStepAndRedraw ++
onUpdateCurrentTimeStep --> setCurrentTimeStepAndUpdate -- : return
setCurrentTimeStepAndUpdate -> onUpdateCurrentTimeStep_c ++ updateDisplayModelForCurrentTimeStepAndRedraw -> onUpdateDisplayModelForCurrentTimeStep ++
onUpdateCurrentTimeStep_c --> setCurrentTimeStepAndUpdate -- onUpdateDisplayModelForCurrentTimeStep --> updateDisplayModelForCurrentTimeStepAndRedraw -- :return
updateDisplayModelForCurrentTimeStepAndRedraw -> onUpdateDisplayModelForCurrentTimeStep_c ++
onUpdateDisplayModelForCurrentTimeStep_c --> updateDisplayModelForCurrentTimeStepAndRedraw -- :return
updateDisplayModelForCurrentTimeStepAndRedraw --> setCurrentTimeStepAndUpdate -- : return
setCurrentTimeStepAndUpdate --> setCurrentFrame --: return setCurrentTimeStepAndUpdate --> setCurrentFrame --: return
setCurrentFrame --> createDisplayModel --: return setCurrentFrame --> onCreateDisplayModel --: return
createDisplayModel --> createDisplayModelAndRedraw --: return onCreateDisplayModel --> createDisplayModelAndRedraw --: return
createDisplayModelAndRedraw -> createDisplayModelAndRedraw_c ++ createDisplayModelAndRedraw -> createDisplayModelAndRedraw_c ++
createDisplayModelAndRedraw_c -> createDisplayModel_c++ createDisplayModelAndRedraw_c -> onCreateDisplayModel_c ++
createDisplayModel_c --> createDisplayModelAndRedraw_c-- : return onCreateDisplayModel_c --> createDisplayModelAndRedraw_c-- : return
createDisplayModelAndRedraw_c --> createDisplayModelAndRedraw -- : return createDisplayModelAndRedraw_c --> createDisplayModelAndRedraw -- : return
createDisplayModelAndRedraw -> onUpdateCurrentTimeStep_c ++ createDisplayModelAndRedraw -> onUpdateDisplayModelForCurrentTimeStep_c ++
onUpdateCurrentTimeStep_c --> createDisplayModelAndRedraw --: return onUpdateDisplayModelForCurrentTimeStep_c --> createDisplayModelAndRedraw --: return
createDisplayModelAndRedraw --> RedrawScheduler -- : return createDisplayModelAndRedraw --> RedrawScheduler -- : return