The kept trackball state; false if there is none.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(View), | intent(in) | :: | self | |||
| real(kind=wp), | intent(out) | :: | eye(3) |
the kept trackball state (view-frame coordinates) |
||
| real(kind=wp), | intent(out) | :: | center(3) |
the kept trackball state (view-frame coordinates) |
||
| real(kind=wp), | intent(out) | :: | up(3) |
the kept trackball state (view-frame coordinates) |
logical function saved_state(self, eye, center, up) class(View), intent(in) :: self real(wp), intent(out) :: eye(3), center(3), up(3) !! the kept trackball state (view-frame coordinates) saved_state = self%has_state eye = self%eye center = self%center up = self%up end function saved_state