The GLFrameViewController implements a view controller that is mainly able to display medium objects.
More...
#include <GLFrameViewController.h>
The GLFrameViewController implements a view controller that is mainly able to display medium objects.
The view controller is derived from an OpenGLES view controller so that we can ensure the best performance possible.
- See also
- Apple::MacOS::FrameMediumView.
◆ frameMedium
Returns the current frame medium.
- Returns
- The frame medium which is currently displayed
◆ setFrameMedium:
Sets or changes the frame medium to be displayed.
- Parameters
-
| frameMedium | The frame medium to be displayed, must be valid |
◆ setFrameMedium:andAdjustFov:
Sets or changes the frame medium to be displayed.
- Parameters
-
| frameMedium | The frame medium to be displayed, must be valid |
| adjustFov | True, to adjust the view's field of view to the medium's field of view; False, to keep the view's field of view as is |
◆ setFrameMedium:withRotation:
Sets or changes the frame medium to be displayed.
- Parameters
-
| frameMedium | The frame medium to be displayed, must be valid |
| display_R_medium | Explicit rotation between medium and display, and invalid rotation to use the medium's and framebuffer's transformations to determine the rotation |
◆ setFrameMedium:withRotation:andAdjustFov:
Sets or changes the frame medium to be displayed.
- Parameters
-
| frameMedium | The frame medium to be displayed, must be valid |
| display_R_medium | Explicit rotation between medium and display, and invalid rotation to use the medium's and framebuffer's transformations to determine the rotation |
| adjustFov | True, to adjust the view's field of view to the medium's field of view; False, to keep the view's field of view as is |
◆ view2medium:
| - (CGPoint) view2medium: |
|
(CGPoint) |
viewPoint |
|
Converts a 2D location defined in the view's coordinate system to a location defined in the coordinate system of the medium (an image frame).
- Parameters
-
| viewPoint | The 2D location within this view |
- Returns
- The corresponding 2D location within the image frame of the medium, a negative coordinate (-1, -1), in case no valid mapping exists
◆ adjustFovXToBackground_
| - (bool) adjustFovXToBackground_ |
|
protected |
State determining that the view's field of view has to be adjusted to the background's field of view.
Provided by category GLFrameViewController().
◆ intermediateBackgroundAdjustFov_
| - (bool) intermediateBackgroundAdjustFov_ |
|
protected |
True, to adjust the field of view of the view automatically so that the background medium is entirely covered.
Provided by category GLFrameViewController().
◆ intermediateBackgroundFrameMedium_
The frame medium of the background which is stored as long as the view hasn't been initialized.
Provided by category GLFrameViewController().
◆ renderingUndistortedBackground_
The documentation for this class was generated from the following file: