show_contents Subroutine

private subroutine show_contents(self, show)

Show or hide what the frame draws (its sphere, model, ...), but not its axes, labels or children.

Type Bound

ReferenceFrame

Arguments

Type IntentOptional Attributes Name
class(ReferenceFrame), intent(inout) :: self
logical, intent(in) :: show

(true: shown)


Calls

proc~~show_contents~~CallsGraph proc~show_contents ReferenceFrame%show_contents interface~vkf_switch_set vkf_switch_set proc~show_contents->interface~vkf_switch_set proc~check_status check_status proc~show_contents->proc~check_status

Source Code

    subroutine show_contents(self, show)
        class(ReferenceFrame), intent(inout) :: self
        logical, intent(in) :: show                         !! (true: shown)
        self%contents = show
        if (c_associated(self%contents_node)) call check_status(vkf_switch_set(self%contents_node, merge(1_c_int, 0_c_int, show)))
    end subroutine show_contents