take_camera Function

private function take_camera(self, cam)

True (once) if a camera was set (set_camera), and that camera.

Type Bound

View

Arguments

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

(columns: eye, center, up (view-frame coordinates))

Return Value logical


Called by

proc~~take_camera~~CalledByGraph proc~take_camera View%take_camera proc~place_camera place_camera proc~place_camera->proc~take_camera 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 take_camera(self, cam)
        class(View), intent(inout) :: self
        real(wp), intent(out) :: cam(3,3)   !! (columns: eye, center, up (view-frame coordinates))
        take_camera = self%camera_pending
        cam = self%pending
        self%camera_pending = .false.
    end function take_camera