|
| QVRRenderContext () |
| Constructor.
|
|
int | processIndex () const |
| Returns the index of the process that the window displaying the view belongs to.
|
|
int | windowIndex () const |
| Returns the index of the window displaying the view, relative to the process it belongs to.
|
|
const QRect & | windowGeometry () const |
| Returns the pixel-based geometry of window on the Qt display screen (from QWindow::geometry()).
|
|
const QRect & | screenGeometry () const |
| Returns the pixel-based geometry of the Qt screen that the window is displayed on (from QScreen::geometry()).
|
|
const QVector3D & | navigationPosition () const |
| Returns the observer navigation position.
|
|
const QQuaternion & | navigationOrientation () const |
| Returns the observer navigation orientation.
|
|
QMatrix4x4 | navigationMatrix () const |
| Returns the observer navigation matrix.
|
|
QVector3D | screenWallBottomLeft () const |
| Returns the virtual world coordinates of the bottom left corner of the screen wall.
|
|
QVector3D | screenWallBottomRight () const |
| Returns the virtual world coordinates of the bottom right corner of the screen wall.
|
|
QVector3D | screenWallTopLeft () const |
| Returns the virtual world coordinates of the top left corner of the screen wall.
|
|
QVROutputMode | outputMode () const |
| Returns the output mode of the window displaying the view.
|
|
int | viewCount () const |
| Returns the number of views necessary to produce the frame.
|
|
QVREye | eye (int view) const |
| Returns the eye for rendering view.
|
|
QSize | textureSize (int view) const |
| Returns the texture size for rendering view.
|
|
const QVector3D & | trackingPosition (int view) const |
| Returns the observer tracking position for rendering view.
|
|
const QQuaternion & | trackingOrientation (int view) const |
| Returns the observer tracking orientation for rendering view.
|
|
QMatrix4x4 | trackingMatrix (int view) const |
| Returns the observer tracking matrix for rendering view.
|
|
const QVRFrustum & | frustum (int view) const |
| Returns the frustum for rendering view.
|
|
const QMatrix4x4 & | viewMatrix (int view) const |
| Returns the view matrix for rendering view.
|
|
const QMatrix4x4 & | viewMatrixPure (int view) const |
| Returns the pure view matrix (i.e. in tracking space, without navigation) for rendering view.
|
|
bool | haveUnitedScreenWall () const |
| Returns whether there is a global 2D screen wall that is united across all windows.
|
|
const QVector3D & | unitedScreenWallBottomLeft () const |
| Returns the virtual world coordinates of the bottom left corner of the global screen wall united across all windows.
|
|
const QVector3D & | unitedScreenWallBottomRight () const |
| Returns the virtual world coordinates of the bottom right corner of the global screen wall united across all windows.
|
|
const QVector3D & | unitedScreenWallTopLeft () const |
| Returns the virtual world coordinates of the top left corner of the global screen wall united across all windows.
|
|
bool | haveIntersectedScreenWall () const |
| Returns whether there is a global 2D screen wall that is intersected across all windows.
|
|
const QVector3D & | intersectedScreenWallBottomLeft () const |
| Returns the virtual world coordinates of the bottom left corner of the global screen wall intersected across all windows.
|
|
const QVector3D & | intersectedScreenWallBottomRight () const |
| Returns the virtual world coordinates of the bottom right corner of the global screen wall intersected across all windows.
|
|
const QVector3D & | intersectedScreenWallTopLeft () const |
| Returns the virtual world coordinates of the top left corner of the global screen wall intersected across all windows.
|
|
Context for rendering a frame.
A render context provides information about the views into the virtual world that are required for one output frame in a given window.
This information depends on the QVRWindow that the frame is produced for and on the QVRObserver that observes this window.
The render context is used in various places:
- In QVRApp::render(), it provides the information necessary for the application to render a frame.
- In the event handling functions of QVRApp, it provides information about the frame displayed in the window that generated the event.
- In the output plugin function QVROutputPlugin(), the context provides information useful for a plugin to decide how to process the frame before displaying it.