Class SoDepthOffsetElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoFloatElement
-
- com.openinventor.inventor.elements.SoDepthOffsetElement
-
public class SoDepthOffsetElement extends SoFloatElement
ManageSoDepthOffset
nodes accumulation in state. This element storesSoDepthOffset
nodes encountered during traversal at any given time. Requesting for current offset at a given time (throughtget()
method) returns the global accumulated offset, computed from all previouslySoDepthOffset
nodes encountered in current path traversal.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static float
get(SoState state)
Returns current accumulated offset from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static float
getMaxOffset(SoState state)
Returns current accumulated offset from the state.void
pop(SoState name_10830, SoElement name_10831)
Pop the element from the state.void
push(SoState name_10829)
Push the element into the state.static void
set(SoState state, float offset)
Sets the current offset in the state.static void
set(SoState state, float name_10809, float name_10810, float name_10811)
Sets the current offset in the state.static void
set(SoState state, SoNode name_10806, float offset)
Sets the current offset in the state.static void
setMaxOffset(SoState state, float offset)
Sets the current offset in the state.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
set
public static void set(SoState state, float offset)
Sets the current offset in the state.
-
set
public static void set(SoState state, SoNode name_10806, float offset)
Sets the current offset in the state.
-
getMaxOffset
public static float getMaxOffset(SoState state)
Returns current accumulated offset from the state.
-
getClassStackIndex
@Deprecated(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
set
public static void set(SoState state, float name_10809, float name_10810, float name_10811)
Sets the current offset in the state.
-
push
public void push(SoState name_10829)
Push the element into the state.
-
setMaxOffset
public static void setMaxOffset(SoState state, float offset)
Sets the current offset in the state.
-
get
public static float get(SoState state)
Returns current accumulated offset from the state.
-
-