|
Ocean
|
The GLRendererViewController implements a view controller using the OpenGLESceneGraph renderer for iOS platform applications. More...
#include <GLRendererViewController.h>
Instance Methods | |
| (bool) | - setFovX: |
| Sets the horizontal field of view for this view. | |
| (bool) | - setBackgroundColor: |
| Sets the background color of this view. | |
| (void) | - setViewInteractionEnabled: |
| Sets whether the user can change the view's position and rotation by touch events. | |
| (void) | - update |
| Updates the rendering engine. | |
Instance Methods inherited from GLViewController | |
| (void) | - makeOpenGLContextCurrent |
| Makes the OpenGL context of this controller the current context. | |
Protected Attributes | |
| Ocean::Rendering::EngineRef | renderingEngine_ |
| The rendering engine to be used. | |
| Ocean::Rendering::FramebufferRef | renderingFramebuffer_ |
| The framebuffer in which the result will be rendered. | |
| Ocean::Rendering::PerspectiveViewRef | renderingView_ |
| The rendering view. | |
| float | previousTouchX_ |
| Previous horizontal touch position. | |
| float | previousTouchY_ |
| Previous vertical touch position. | |
| Ocean::Timestamp | renderingStartTimestamp_ |
| Rendering start timestamp. | |
| unsigned int | renderingIterations_ |
| Rendering iterations. | |
| bool | viewInteractionEnabled_ |
| True, to allow the user to change the view's position and rotation by touch events; False, to disable the user interaction. | |
| Ocean::Lock | lock_ |
| View lock object. | |
The GLRendererViewController implements a view controller using the OpenGLESceneGraph renderer for iOS platform applications.
| - (bool) setBackgroundColor: | (const Ocean::RGBAColor &) | color |
Sets the background color of this view.
| color | Background color to set |
| - (bool) setFovX: | (Ocean::Scalar) | fovx |
Sets the horizontal field of view for this view.
| fovx | Field of view to set in radian |
| - (void) setViewInteractionEnabled: | (bool) | enabled |
Sets whether the user can change the view's position and rotation by touch events.
| enabled | True, to allow the interaction; False, to disable the interaction |
| - (void) update |
Updates the rendering engine.
|
protected |
View lock object.
Provided by category GLRendererViewController().
|
protected |
Previous horizontal touch position.
Provided by category GLRendererViewController().
|
protected |
Previous vertical touch position.
Provided by category GLRendererViewController().
|
protected |
The rendering engine to be used.
Provided by category GLRendererViewController().
|
protected |
The framebuffer in which the result will be rendered.
Provided by category GLRendererViewController().
|
protected |
Rendering iterations.
Provided by category GLRendererViewController().
|
protected |
Rendering start timestamp.
Provided by category GLRendererViewController().
|
protected |
The rendering view.
Provided by category GLRendererViewController().
|
protected |
True, to allow the user to change the view's position and rotation by touch events; False, to disable the user interaction.
Provided by category GLRendererViewController().