Class MoCellRangesElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoAccumulatedElement
com.openinventor.meshvizxlm.mapping.elements.MoCellRangesElement
Element that stores the current accumulated cell ranges and computes the
intersection of all these.
- See Also:
-
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
Modifier and TypeMethodDescriptionstatic voidadd(SoState state, MoCellRanges cellRanges) Add the given cell ranges for the specified traversal state.static long[]Returns the current begin cell index from the specified traversal state.static long[]Returns the current end cell index from the specified traversal state.voidPushes element.Methods inherited from class com.openinventor.inventor.elements.SoAccumulatedElement
getClassStackIndexMethods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
push
Description copied from class:SoAccumulatedElementPushes element. Allows for side effects to occur. Default methods do nothing.- Overrides:
pushin classSoAccumulatedElement
-
add
Add the given cell ranges for the specified traversal state.- Parameters:
state- traversal statecellRanges- cell ranges node
-
getBegin
Returns the current begin cell index from the specified traversal state.- Parameters:
state- traversal statenumDimension- number of dimension requested for the cell index- Returns:
- a cell index corresponding to the beginning of the range. Return an
undefined index
MxMeshViz.UNDEFINED_IDif the beginning is not defined.
-
getEnd
Returns the current end cell index from the specified traversal state.- Parameters:
state- traversal statenumDimension- number of dimension requested for the cell index- Returns:
- a cell index corresponding to the ending of the range. Return an
undefined index
MxMeshViz.UNDEFINED_IDif the end is not defined.
-