set_scene Subroutine

private subroutine set_scene(self, fm)

Show the scene of fm (which must stay alive while shown). For now, set it before the window's first frame.

Type Bound

WindowProxy

Arguments

Type IntentOptional Attributes Name
class(WindowProxy), intent(inout) :: self
type(FrameManager), intent(in), target :: fm

the scene (not owned; must stay alive while shown)


Calls

proc~~set_scene~~CallsGraph proc~set_scene WindowProxy%set_scene proc~forget_handles forget_handles proc~set_scene->proc~forget_handles interface~vkf_viewer_set_grab vkf_viewer_set_grab proc~forget_handles->interface~vkf_viewer_set_grab proc~release DragHandle%release proc~forget_handles->proc~release proc~set_hovered DragHandle%set_hovered proc~forget_handles->proc~set_hovered show_state show_state proc~release->show_state proc~set_hovered->show_state

Source Code

    subroutine set_scene(self, fm)
        class(WindowProxy), intent(inout) :: self
        type(FrameManager), intent(in), target :: fm        !! the scene (not owned; must stay alive while shown)
        call forget_handles(self)
        self%scene => fm
        self%scene_seen = -1
        self%scene_added = .false.
    end subroutine set_scene