public class MoCellFilter extends MoActionNode
Filtering cells is a way to specify which cells are used and which cells are
ignored during a mesh extraction.
The application must create a class implementing the MiCellFilter
interface. A cell filter class must implement the method acceptCell()
with either 1, 2 or 3 indices as arguments. When the method
acceptCell() returns false, the cell identified by these
indices is not taken into account by the extraction. It is as if the mesh
does not contain this cell.
Note: Each time the current MiCellFilter is updated,
touch() must be called to mark the node has modified. However
MiCellFilter.getTimeStamp() must return a different value than before
to actually trigger a new rendering.
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
MoCellFilter()
Constructs a property node with no cell filter defined.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAction(SoAction action) |
MiCellFilter |
getCellFilter()
Returns the cell filter interface defined for this node.
|
void |
reset()
Reset the cell filter interface to
null (same as calling
setCellFilter(null)). |
void |
setCellFilter(MiCellFilterI cellFilterI)
Sets the cell filter for unstructured meshes.
|
void |
setCellFilter(MiCellFilterIj cellFilterIj)
Sets the cell filter for structured surface meshes.
|
void |
setCellFilter(MiCellFilterIjk cellFilterIjk)
Sets the cell filter for structured volume meshes.
|
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPickaffectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic MoCellFilter()
public void setCellFilter(MiCellFilterI cellFilterI)
touch().MiCellFilter.getTimeStamp() must return a different value than
previously to actually take into account the change of filter.cellFilterI - the cell filter to setpublic void setCellFilter(MiCellFilterIj cellFilterIj)
touch().MiCellFilter.getTimeStamp() must return a different value than
previously to actually take into account the change of filter.cellFilterIj - the cell filter to setpublic void setCellFilter(MiCellFilterIjk cellFilterIjk)
touch().MiCellFilter.getTimeStamp() must return a different value than
previously to actually take into account the change of filter.cellFilterIjk - the cell filter to setpublic void reset()
null (same as calling
setCellFilter(null)). This node is also marked as modified by
calling touch().public MiCellFilter getCellFilter()
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com