Class MiCellExtractHexahedronIjk
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
Extracts a list of cells from the input IJK hexahedron volume mesh and builds a surface mesh representing the extracted cells.
-
Method Summary
Modifier and TypeMethodDescriptionabstract MeXScalardSetI
extractScalarSet
(MiScalardSetI scalarSet) Extracts aPER_NODE
scalar set from the original mesh.abstract MeXStringSetI
extractStringSet
(MiStringSetI stringSet) Extracts aPER_NODE
string set from the original mesh.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetI vectorSet) Extracts aPER_NODE
vector set from the original mesh.static <T extends MiHexahedronTopologyExplicitIjk,
G extends MiGeometryI>
MiCellExtractHexahedronIjkgetNewInstance
(MiVolumeMeshHexahedronIjk<T, G> mesh) Create an instance of cell extractor for an IJK hexahedron volume mesh.Methods inherited from class com.openinventor.meshvizxlm.extractors.cell.MiCellExtractIjk
extractCell, extractCell, extractScalarSet, extractStringSet, extractVec3Set, getExtract, getNewInstance
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.openinventor.meshvizxlm.extractors.MiBaseExtractor
setExtractorCallback
Methods inherited from interface com.openinventor.meshvizxlm.extractors.MiExtractorIjk
addCellRange, clearCellRanges
-
Method Details
-
getNewInstance
public static <T extends MiHexahedronTopologyExplicitIjk,G extends MiGeometryI> MiCellExtractHexahedronIjk getNewInstance(MiVolumeMeshHexahedronIjk<T, G> mesh) Create an instance of cell extractor for an IJK hexahedron volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- a cell extractor for an IJK hexahedron volume mesh
-
extractScalarSet
Extracts aPER_NODE
scalar set from the original mesh. The scalars are mapped onto the current extracted mesh.Note: The argument i of the method
MiScalardSetI.get(long)
refers to the i-th node of the mesh. Thus the binding of the input set must bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
scalarSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the extracted mesh
-
extractVec3Set
Extracts aPER_NODE
vector set from the original mesh. The vectors are mapped onto the current extracted mesh.Note: The argument i of the method
MiVec3dSetI.get(long)
refers to the i-th node of the mesh. Thus the binding of the input set must bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
vectorSet
- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the extracted mesh
-
extractStringSet
Extracts aPER_NODE
string set from the original mesh. The strings are mapped onto the current extracted mesh.Note: The argument i of the method
MiStringSetI.get(long)
refers to the i-th node of the mesh. Thus the binding of the input set must bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
stringSet
- the input string set defined on the volume mesh- Returns:
- the output string set defined on the extracted mesh
-