Interface MiExtractorUnstructured
- All Superinterfaces:
MiBaseExtractor
- All Known Implementing Classes:
MiOutlineExtractUnstructured
,MiSkinExtractUnstructured
Base interface for all unstructured extractor interfaces.
All unstructured extractor interfaces deriving from this one handle cell ranges during extractions.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCellRange
(long rbegin, long rend) Add a new cell range constraint to iterate over when performing the extraction.void
Remove all cell ranges previously added.Methods inherited from interface com.openinventor.meshvizxlm.extractors.MiBaseExtractor
setExtractorCallback
-
Method Details
-
addCellRange
void addCellRange(long rbegin, long rend) Add a new cell range constraint to iterate over when performing the extraction.Default is to iterate over all cells in the mesh. Adding a new range to the extractor changes its state, thus triggering a new extraction even if the mesh remains the same.
Note: The value
MxMeshViz.UNDEFINED_ID
is interpreted as the minimum/maximum cell index available in the current mesh.- Parameters:
rbegin
- the smallest cell index in the range.rend
- the largest cell index in the range (not included in extraction).
-
clearCellRanges
void clearCellRanges()Remove all cell ranges previously added.Clearing all ranges changes the extractor state, thus triggering a new extraction even if the mesh remains the same.
-