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 9300.static float
getMaxOffset(SoState state)
Returns current accumulated offset from the state.void
pop(SoState name_11108, SoElement name_11109)
Pop the element from the state.void
push(SoState name_11107)
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_11087, float name_11088, float name_11089)
Sets the current offset in the state.static void
set(SoState state, SoNode name_11084, 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_11084, 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 public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
set
public static void set(SoState state, float name_11087, float name_11088, float name_11089)
Sets the current offset in the state.
-
push
public void push(SoState name_11107)
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.
-
-