set_orthographic Subroutine

private subroutine set_orthographic(self, left, right, bottom, top)

An orthographic projection with the given bounds (in view units).

Type Bound

View

Arguments

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

bounds (view units)

real(kind=wp), intent(in) :: right

bounds (view units)

real(kind=wp), intent(in) :: bottom

bounds (view units)

real(kind=wp), intent(in) :: top

bounds (view units)


Source Code

    subroutine set_orthographic(self, left, right, bottom, top)
        class(View), intent(inout) :: self
        real(wp), intent(in) :: left, right, bottom, top    !! bounds (view units)
        self%projection = ORTHOGRAPHIC
        self%ortho = [left, right, bottom, top]
    end subroutine set_orthographic