Class MoCellRanges
- All Implemented Interfaces:
SafeDisposable
This node allows to restrict displayed cells from a mesh in a range of
indices for all subsequent MoMeshRepresentation nodes. Rendering
using MoCellRanges is more efficient than using a
MoCellFilter with a custom MiCellFilter.
This node adds cell ranges to the list of cell ranges in the traversal state.
During traversal of the scene graph, MoCellRanges nodes are
accumulated into a list so that a representation retrieves an intersection of
these cell ranges. The representation takes then into account only the cells
from the mesh with indices between the minimum and maximum index resulting
from the cell ranges intersections.
Note:
Applies to all representations for structured volume mesh but only applies to
MoMeshSkin, MoMeshOutline on unstructured volume mesh and
MoMeshSurface, MoMeshOutline on surface mesh.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionMaximum cell index values for displaying the mesh representation.Minimum cell index values for displaying the mesh representation.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRender, handleEvent, pick, rayPickMethods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
min
Minimum cell index values for displaying the mesh representation.This field is empty by default.
- If the field is empty, the representation extraction starts from the first cell of the mesh.
- If the mesh is unstructured, a single value specifies the index of the first cell index to use.
- If the mesh is a structured surface mesh, two values specify the first I and J cell indices to use (In this case, if less than two values are provided, the field is ignored.).
- If the mesh is a structured volume mesh, three values specify the first I, J and K cell indices to use (In this case, if less than three values are provided, the field is ignored.).
-
max
Maximum cell index values for displaying the mesh representation.This field is empty by default.
- If the field is empty, the representation extraction runs up to the last cell of the mesh.
- If the mesh is unstructured, a single value specifies the index of the last cell index to use.
- If the mesh is a structured surface mesh, two values specify the last I and J cell indices to use (In this case, if less than two values are provided, the field is ignored.).
- If the mesh is a structured volume mesh, three values specify the last I, J and K cell indices to use (In this case, if less than three values are provided, the field is ignored.).
-
-
Constructor Details
-
MoCellRanges
public MoCellRanges()Constructs an empty cell range.
-
-
Method Details