vkf_viewer_get_look_at Interface

interface


Called by

interface~~vkf_viewer_get_look_at~~CalledByGraph interface~vkf_viewer_get_look_at vkf_viewer_get_look_at proc~get_camera WindowProxy%get_camera proc~get_camera->interface~vkf_viewer_get_look_at proc~place_camera place_camera proc~place_camera->interface~vkf_viewer_get_look_at proc~set_camera WindowProxy%set_camera proc~set_camera->interface~vkf_viewer_get_look_at proc~frame WindowProxy%frame proc~frame->proc~place_camera proc~dispatch_events dispatch_events proc~frame->proc~dispatch_events proc~view_camera view_camera proc~view_camera->proc~get_camera proc~cursor_ray WindowProxy%cursor_ray proc~cursor_ray->proc~view_camera proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame proc~screen_position WindowProxy%screen_position proc~screen_position->proc~view_camera proc~window_pick WindowProxy%window_pick proc~window_pick->proc~view_camera proc~drag_handle drag_handle proc~drag_handle->proc~cursor_ray proc~grab_handle grab_handle proc~grab_handle->proc~cursor_ray proc~hover_handle hover_handle proc~hover_handle->proc~window_pick proc~dispatch_event dispatch_event proc~dispatch_event->proc~drag_handle proc~dispatch_event->proc~grab_handle proc~dispatch_event->proc~hover_handle proc~release_handle release_handle proc~dispatch_event->proc~release_handle proc~release_handle->proc~hover_handle proc~dispatch_events->proc~dispatch_event

public function vkf_viewer_get_look_at(viewer, eye, center, up) bind(C, name="vkf_viewer_get_look_at")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: viewer

viewer handle (vkf_viewer_create)

real(kind=c_double), intent(out), dimension(3) :: eye

view-frame coordinates

real(kind=c_double), intent(out), dimension(3) :: center

view-frame coordinates

real(kind=c_double), intent(out), dimension(3) :: up

view-frame coordinates

Return Value integer(kind=c_int)

Description

The camera's eye, center and up vectors (view-frame coordinates), as the trackball left them. Returns 0, or -1 on failure.