
#include <gzCamera.h>
Inheritance diagram for gzStereoCamera:

Public Member Functions | |
| gzStereoCamera (const gzString &name=GZ_EMPTY_STRING) | |
| Default constructor. | |
| virtual | ~gzStereoCamera () |
| Destructor. | |
| GZ_DECLARE_TYPE_INTERFACE_EXPORT (1) | |
| virtual gzReference * | clone () const |
| Clone interface. | |
| virtual gzVoid | render (gzContext *context, gzULong size_x, gzULong size_y, gzULong screen_width) |
| Utility methods used by external renderers. | |
| virtual gzBool | isVisible (gzContext *context, gzNode *node) |
| Utility methods used by external renderers. | |
| virtual gzBool | isBeyondFarPlane (gzContext *context, gzNode *node) |
| Utility methods used by external renderers. | |
| gzCamera * | getLeftEyeCamera () |
| Returns the left eye camera. | |
| gzCamera * | getRightEyeCamera () |
| Returns the right eye camera. | |
| gzVoid | setLeftEyeCamera (gzCamera *camera) |
| Sets a camera to be used as the left eye in stereo vision. | |
| gzVoid | setRightEyeCamera (gzCamera *camera) |
| Sets a camera to be used as the right eye in stereo vision. | |
| gzVoid | setCamera (gzCamera *camera) |
| Sets the camera as left and right camera. | |
| gzVoid | setEyeDistance (gzReal dist) |
| Sets the distance between the two cameras. | |
| gzVoid | setFocusDistance (gzReal dist) |
| Sets the distance to the point of focus. | |
| virtual gzMatrix4 | getProjectionTransform () const |
| Returns the camera projection transform. | |
Protected Attributes | |
| gzRefPointer< gzCamera > | m_leftEyeCamera |
| gzRefPointer< gzCamera > | m_rightEyeCamera |
| gzReal | m_eyeDistance |
| gzReal | m_focusDistance |
Definition at line 416 of file gzCamera.h.
|
|
Default constructor. If is possible to set a name for the stereo camera. |
|
|
Destructor.
Definition at line 427 of file gzCamera.h. |
|
|
Clone interface.
Reimplemented from gzObject. |
|
|
Returns the left eye camera.
|
|
|
Returns the camera projection transform. The projection transform transforms all coordinates from world space to clip space. Implements gzCamera. |
|
|
Returns the right eye camera.
|
|
|
Reimplemented from gzCamera. |
|
||||||||||||
|
Utility methods used by external renderers. Controls if the node is further away than the far plane. Returns true if the node is behind the far plane otherwise false. Implements gzCamera. |
|
||||||||||||
|
Utility methods used by external renderers.
Implements gzCamera. |
|
||||||||||||||||||||
|
Utility methods used by external renderers.
Reimplemented from gzCamera. |
|
|
Sets the camera as left and right camera. The same camera is used as left and right eye. |
|
|
Sets the distance between the two cameras.
|
|
|
Sets the distance to the point of focus.
|
|
|
Sets a camera to be used as the left eye in stereo vision.
|
|
|
Sets a camera to be used as the right eye in stereo vision.
|
|
|
Definition at line 483 of file gzCamera.h. |
|
|
Definition at line 484 of file gzCamera.h. |
|
|
Definition at line 480 of file gzCamera.h. |
|
|
Definition at line 481 of file gzCamera.h. |