vkf_viewer_look_at Interface

interface


Called by

interface~~vkf_viewer_look_at~~CalledByGraph interface~vkf_viewer_look_at vkf_viewer_look_at proc~put_camera put_camera proc~put_camera->interface~vkf_viewer_look_at proc~fly fly proc~fly->proc~put_camera proc~place_camera place_camera proc~place_camera->proc~put_camera proc~place_camera->proc~fly proc~set_camera WindowProxy%set_camera proc~set_camera->proc~put_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

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

Arguments

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

viewer handle (vkf_viewer_create)

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

view-frame coordinates

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

view-frame coordinates

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

view-frame coordinates

Return Value integer(kind=c_int)

Description

Set the camera's eye, center and up vectors (view-frame coordinates); stops the trackball's throw (the camera doesn't keep turning after it). Returns 0, or -1 on failure.