Skip to content

Commit

Permalink
Updated viewer display model generation sequence diagram
Browse files Browse the repository at this point in the history
New names and flow
  • Loading branch information
JacobStoren committed Nov 4, 2019
1 parent 5044784 commit 58940a3
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions doc/viewer_display_generation_sequence.plantuml
Original file line number Diff line number Diff line change
@@ -1,59 +1,65 @@
@startuml
scale 2000 width

actor RedrawScheduler

box "Rim3dView" #White
participant createDisplayModelAndRedraw order 10
participant setCurrentTimeStepAndUpdate order 20
participant updateDisplayModelForCurrentTimeStepAndRedraw order 30
end box

box "RimSpecialView" #LightBlue
participant createDisplayModel order 20
participant onUpdateCurrentTimeStep order 30
participant onCreateDisplayModel order 40
participant onUpdateDisplayModelForCurrentTimeStep order 45
end box

box "RiuViewer" #LightBlue
participant setCurrentFrame order 40
participant setCurrentFrame order 50
end box

box "Rim3dView Comparison" #LightGray
participant createDisplayModelAndRedraw_c order 45
participant createDisplayModelAndRedraw_c order 60

end box

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


RedrawScheduler -> createDisplayModelAndRedraw ++

createDisplayModelAndRedraw -> createDisplayModel ++
createDisplayModel -> setCurrentFrame ++
createDisplayModelAndRedraw -> onCreateDisplayModel ++
onCreateDisplayModel -> setCurrentFrame ++

setCurrentFrame -> setCurrentTimeStepAndUpdate ++

setCurrentTimeStepAndUpdate -> updateDisplayModelForCurrentTimeStepAndRedraw ++

setCurrentFrame -> setCurrentTimeStepAndUpdate
activate setCurrentTimeStepAndUpdate
updateDisplayModelForCurrentTimeStepAndRedraw -> onUpdateDisplayModelForCurrentTimeStep ++
onUpdateDisplayModelForCurrentTimeStep --> updateDisplayModelForCurrentTimeStepAndRedraw -- :return

setCurrentTimeStepAndUpdate -> onUpdateCurrentTimeStep ++
onUpdateCurrentTimeStep --> setCurrentTimeStepAndUpdate -- : return
updateDisplayModelForCurrentTimeStepAndRedraw -> onUpdateDisplayModelForCurrentTimeStep_c ++
onUpdateDisplayModelForCurrentTimeStep_c --> updateDisplayModelForCurrentTimeStepAndRedraw -- :return

setCurrentTimeStepAndUpdate -> onUpdateCurrentTimeStep_c ++
onUpdateCurrentTimeStep_c --> setCurrentTimeStepAndUpdate --
updateDisplayModelForCurrentTimeStepAndRedraw --> setCurrentTimeStepAndUpdate -- : return

setCurrentTimeStepAndUpdate --> setCurrentFrame --: return
setCurrentFrame --> createDisplayModel --: return
setCurrentFrame --> onCreateDisplayModel --: return

createDisplayModel --> createDisplayModelAndRedraw --: return
onCreateDisplayModel --> createDisplayModelAndRedraw --: return

createDisplayModelAndRedraw -> createDisplayModelAndRedraw_c ++
createDisplayModelAndRedraw_c -> createDisplayModel_c++
createDisplayModel_c --> createDisplayModelAndRedraw_c-- : return
createDisplayModelAndRedraw_c -> onCreateDisplayModel_c ++
onCreateDisplayModel_c --> createDisplayModelAndRedraw_c-- : return

createDisplayModelAndRedraw_c --> createDisplayModelAndRedraw -- : return

createDisplayModelAndRedraw -> onUpdateCurrentTimeStep_c ++
onUpdateCurrentTimeStep_c --> createDisplayModelAndRedraw --: return
createDisplayModelAndRedraw -> onUpdateDisplayModelForCurrentTimeStep_c ++
onUpdateDisplayModelForCurrentTimeStep_c --> createDisplayModelAndRedraw --: return

createDisplayModelAndRedraw --> RedrawScheduler -- : return

Expand Down

0 comments on commit 58940a3

Please sign in to comment.