set_default_view_parameters Subroutine

private subroutine set_default_view_parameters(self, eye, center, up)

The camera after a reset, in view-frame coordinates (overrides the default view distance).

Type Bound

View

Arguments

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

the camera (view-frame coordinates)

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

the camera (view-frame coordinates)

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

the camera (view-frame coordinates)


Source Code

    subroutine set_default_view_parameters(self, eye, center, up)
        class(View), intent(inout) :: self
        real(wp), intent(in) :: eye(3), center(3), up(3)    !! the camera (view-frame coordinates)
        self%default_eye = eye
        self%default_center = center
        self%default_up = up
    end subroutine set_default_view_parameters