handler_before_update Subroutine

private subroutine handler_before_update(self, window, t)

Called each frame with its time t, before the scene is updated for it and the camera placed (see the module documentation): to change the data for time t (trajectories' points, frames' positions), drawn and followed by the views in this frame.

Type Bound

WindowEventHandler

Arguments

Type IntentOptional Attributes Name
class(WindowEventHandler), intent(inout) :: self
class(WindowProxy), intent(inout) :: window

the window about to update

real(kind=wp), intent(in) :: t

simulation time


Called by

proc~~handler_before_update~~CalledByGraph proc~handler_before_update WindowEventHandler%handler_before_update proc~frame WindowProxy%frame proc~frame->proc~handler_before_update proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

Source Code

    subroutine handler_before_update(self, window, t)
        class(WindowEventHandler), intent(inout) :: self
        class(WindowProxy), intent(inout) :: window         !! the window about to update
        real(wp), intent(in) :: t                           !! simulation time
    end subroutine handler_before_update