22#ifndef _SO_STEREO_CAMERA_
23#define _SO_STEREO_CAMERA_
162 static void initClass();
163 static void exitClass();
165 virtual void notify( SoNotList* list );
171 virtual float getEyeOffset(
SoState* state = NULL );
172 virtual void updateStereoAdjustments(
SoState* state = NULL );
177 void setStereoElement(
SoState* state );
#define SO_NODE_HEADER(className)
Field containing a single Boolean value.
Field containing a floating-point value.
virtual SoDEPRECATED void setStereoAdjustment(float adjustment)
virtual SoDEPRECATED void setBalanceAdjustment(float adjustment, SbBool nearFrac=false)
SoSFBool balanceNearFrac
Specifies whether the balance value is defined as a fraction of the camera near distance.
virtual SoDEPRECATED void setStereoAbsoluteAdjustments(SbBool absolute)
virtual SoDEPRECATED void allowStereo(SbBool allowed)
Allows the camera to render in stereo.
SoSFBool absoluteAdjustments
Specifies if stereo adjustments are absolute.
SoStereoCamera()
Creates a stereo camera node with default settings.
SoSFFloat offset
The stereo offset (the distance of each eye from the camera position).
SoSFFloat balance
The stereo balance (the position of the zero parallax plane).