public abstract class PoCellFilter extends PoNode
acceptCell() returns false, this cell is not taken into account by the representation. It is as if the mesh did not contain this cell.
In order to define a custom cell filter, you must create a class derived from this class. The custom cell filter can be based either on a cell's index or its value. The data set used to check if acceptCell returns true or false is the current data set during the traversal selected by the field PoMesh.valuesIndexForCellFilter.
WARNING: At this time, the classes inherited from PoMesh2D ignore the cell filter.
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptCell(int cell_index,
float cell_value)
Returns true if the cell is accepted.
|
void |
doAction(SoAction action) |
void |
write(SoWriteAction action) |
callback, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, searchaffectsState, copy, copy, distribute, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, setOverride, touchcopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic void write(SoWriteAction action)
public boolean acceptCell(int cell_index,
float cell_value)
cell_index - the index of the cell to be checked.
cell_value - the value of the cell to be checked. This value is an element of the scalar data set currently selected by the representation (see PoMesh.valuesIndexForCellFilter).Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com