ofview_setviewbetweenframes Subroutine

public subroutine ofview_setviewbetweenframes(root, srcframe, dstframe, frameType, rotationType)

View from one frame towards another, using a specified frame type and rotation type.

The 'root' input should be set to the root of the ReferenceFrame heirarchy, and must contain 'srcframe' and 'dstframe'. Note that this function does NOT use or modify the currently active ReferenceFrame.

This applies to the current active View.

See: OpenFrames::View::ViewFrameType and OpenFrames::View::ViewRotationType.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: root

Name of the root of the ReferenceFrame heirarchy. Note: Must contain 'srcframe' and 'dstframe'.

character(len=*), intent(in) :: srcframe

ReferenceFrame this view will look from.

character(len=*), intent(in) :: dstframe

ReferenceFrame this view will look towards.

integer(kind=int32), intent(in) :: frameType

Frame type to use (see: OpenFrames::View::ViewFrameType enum)

integer(kind=int32), intent(in) :: rotationType

Rotation type to use when following dstframe (see: OpenFrames::View::ViewRotationType enum).