public class SoStereoElement extends SoElement
See also:
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static float |
getBalanceAdjustment(SoState state)
Returns the stereo balance adjustment.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static float |
getInterEyeDistance(SoState state)
Returns the inter-eye distance (immersive MP only).
|
static boolean |
getReversedView(SoState state)
Returns the inverted view flag.
|
static float |
getStereoAdjustment(SoState state)
Returns the stereo offset adjustment.
|
static SoCamera.StereoModes |
getStereoMode(SoState state)
Returns the stereoMode.
|
static boolean |
isBalanceAdjustmentNearFrac(SoState state)
Returns true when the stereo balance adjustement is defined as a fraction of the camera near distance.
|
static boolean |
isStereoAbsoluteAdjustments(SoState state)
Returns true if stereo adjustments are absolute.
|
static void |
set(SoState state,
SoCamera.StereoModes mode)
Sets the stereo mode, LEFT_VIEW, RIGHT_VIEW, or MONOSCOPIC.
|
static void |
setBalanceAdjustment(SoState state,
float stbalance)
Calls setBalanceAdjustment(state, stbalance, (boolean)false).
|
static void |
setBalanceAdjustment(SoState state,
float stbalance,
boolean stNearFrac)
Sets the stereo balance adjustment.
|
static void |
setInterEyeDistance(SoState state,
float ied)
Sets the inter-eye distance (immersive MP only).
|
static void |
setReversedView(SoState state,
boolean strev)
Sets the stereo inverted view flag.
|
static void |
setStereoAbsoluteAdjustments(SoState state,
boolean absolute)
Indicates if the stereo offset and and balance setting should be interpreted as factors or as absolute parameters.
|
static void |
setStereoAdjustment(SoState state,
float stoffset)
Sets the stereo offset adjustment.
|
getClassStackIndex, pop, push
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public static void setBalanceAdjustment(SoState state, float stbalance)
public static boolean isStereoAbsoluteAdjustments(SoState state)
setStereoAbsoluteAdjustments()
.public static boolean getReversedView(SoState state)
@Deprecated public static int getClassStackIndex()
public static void setStereoAbsoluteAdjustments(SoState state, boolean absolute)
public static SoCamera.StereoModes getStereoMode(SoState state)
public static float getStereoAdjustment(SoState state)
public static float getBalanceAdjustment(SoState state)
public static boolean isBalanceAdjustmentNearFrac(SoState state)
public static void set(SoState state, SoCamera.StereoModes mode)
public static float getInterEyeDistance(SoState state)
public static void setStereoAdjustment(SoState state, float stoffset)
public static void setBalanceAdjustment(SoState state, float stbalance, boolean stNearFrac)
public static void setReversedView(SoState state, boolean strev)
public static void setInterEyeDistance(SoState state, float ied)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com