Show or hide the decorations' switches as set.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(inout) | :: | self |
subroutine update_switches(self) class(ReferenceFrame), intent(inout) :: self integer :: k if (.not. self%realized) return do k = 1, 3 if (c_associated(self%axis_node(k))) & call check_status(vkf_switch_set(self%axis_node(k), merge(1_c_int, 0_c_int, iand(self%axes, 2**(k-1)) /= 0))) if (c_associated(self%axis_label_node(k))) & call check_status(vkf_switch_set(self%axis_label_node(k), & merge(1_c_int, 0_c_int, iand(self%axes_labels, 2**(k-1)) /= 0))) end do if (c_associated(self%name_label_node)) & call check_status(vkf_switch_set(self%name_label_node, merge(1_c_int, 0_c_int, self%name_label))) end subroutine update_switches