saved_state Function

private function saved_state(self, eye, center, up)

The kept trackball state; false if there is none.

Type Bound

View

Arguments

Type IntentOptional Attributes Name
class(View), intent(in) :: self
real(kind=wp), intent(out) :: eye(3)

the kept trackball state (view-frame coordinates)

real(kind=wp), intent(out) :: center(3)

the kept trackball state (view-frame coordinates)

real(kind=wp), intent(out) :: up(3)

the kept trackball state (view-frame coordinates)

Return Value logical


Called by

proc~~saved_state~~CalledByGraph proc~saved_state View%saved_state proc~place_camera place_camera proc~place_camera->proc~saved_state proc~frame WindowProxy%frame proc~frame->proc~place_camera proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

Source Code

    logical function saved_state(self, eye, center, up)
        class(View), intent(in) :: self
        real(wp), intent(out) :: eye(3), center(3), up(3)   !! the kept trackball state (view-frame coordinates)
        saved_state = self%has_state
        eye = self%eye
        center = self%center
        up = self%up
    end function saved_state