24#ifndef _SO_STEREO_ELEMENT
25#define _SO_STEREO_ELEMENT
137 virtual SoElement* copyMatchInfo()
const;
141 static void initClass();
142 static void exitClass();
147 SbBool stereoAbsoluteAdjustments;
151 float interEyeDistance;
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for stereo...
Abstract base class for all state elements.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the curre...
static void setBalanceAdjustment(SoState *state, float stbalance, SbBool stNearFrac=false)
Sets the stereo balance adjustment.
static SoStereoElement * getInstance(const SoState *state, SbBool &elemIsSet)
Return the top (current) instance of the element in the state.
static void setStereoAdjustment(SoState *state, float stoffset)
Sets the stereo offset adjustment.
static void setInterEyeDistance(SoState *state, float ied)
Sets the inter-eye distance (immersive MP only).
static void set(SoState *state, const SoCamera::StereoMode mode)
Sets the stereo mode, LEFT_VIEW, RIGHT_VIEW, or MONOSCOPIC.
static SoCamera::StereoMode getStereoMode(SoState *state)
Returns the stereoMode.
static void setStereoAbsoluteAdjustments(SoState *state, SbBool absolute)
Indicates if the stereo offset and and balance setting should be interpreted as factors or as absolut...
static bool getReversedView(SoState *state)
Returns the inverted view flag.
static void setReversedView(SoState *state, bool strev)
Sets the stereo inverted view flag.
static float getStereoAdjustment(SoState *state)
Returns the stereo offset adjustment.
static bool isStereoAbsoluteAdjustments(SoState *state)
Returns TRUE if stereo adjustments are absolute.
static float getBalanceAdjustment(SoState *state)
Returns the stereo balance adjustment.
static float getInterEyeDistance(SoState *state)
Returns the inter-eye distance (immersive MP only).
static SbBool isBalanceAdjustmentNearFrac(SoState *state)
Returns TRUE when the stereo balance adjustement is defined as a fraction of the camera near distance...