Class MoCellFilterElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.meshvizxlm.mapping.elements.MoCellFilterElement
Element that stores the current cell filter.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Utility class to store cell filter parameters.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 TypeMethodDescriptiongetCellFilter
(SoState state) Returns the current cell filter from the specified traversal state.static void
set
(SoState state, SoNode node, MoMeshVizDataMapping.CellFilterType cellFilterType, MiCellFilter cellFilter) Sets the current cell filter for the specified traversal state and node.Methods inherited from class com.openinventor.inventor.elements.SoReplacedElement
getClassStackIndex
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
set
public static void set(SoState state, SoNode node, MoMeshVizDataMapping.CellFilterType cellFilterType, MiCellFilter cellFilter) Sets the current cell filter for the specified traversal state and node.- Parameters:
state
- traversal statenode
- cell filter nodecellFilterType
- type of cell filtercellFilter
- the cell filter
-
getCellFilter
Returns the current cell filter from the specified traversal state.- Parameters:
state
- traversal state- Returns:
- a
CellFilter
object containing the current cell filter and its type
-