Class MoCellFilterElement


public class MoCellFilterElement extends SoReplacedElement
Element that stores the current cell filter.
See Also:
  • 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 state
      node - cell filter node
      cellFilterType - type of cell filter
      cellFilter - the cell filter
    • getCellFilter

      public static MoCellFilterElement.CellFilter getCellFilter(SoState state)
      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