Class MiSkinExtractIjk
java.lang.Object
com.openinventor.meshvizxlm.extractors.skin.MiSkinExtractIjk
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
- Direct Known Subclasses:
MiSkinExtractHexahedronIjk
Skin extractor for a structured volume mesh.
Builds a MiSurfaceMeshUnstructured
interface containing the mesh skin for the given data set at the given value.
The skin of a mesh is made up of all the faces that belong to only one cell.
Internal faces of a mesh will not be displayed unless they are adjacent to
dead cells.
-
Method Summary
Modifier and TypeMethodDescriptionabstract MeXScalardSetI
extractScalarSet
(MiScalardSetIjk inputSet) Computes aPER_CELL
scalar set on the extracted skin.abstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> extractSkin
(MiCellFilterIjk cellFilter) Builds the topology and geometry of a mesh skin.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetIjk inputSet) Computes a vector set on the extracted skin.abstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> Returns the result of the extraction as a mesh.static <T extends MiTopologyIjk,
G extends MiGeometryHexahedronIjk>
MiSkinExtractIjkgetNewInstance
(MiVolumeMeshVertexHexahedronIjk<T, G> mesh) Create an instance of a skin extractor for a non indexed hexahedron volume mesh IJK.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 MiTopologyIjk,G extends MiGeometryHexahedronIjk> MiSkinExtractIjk getNewInstance(MiVolumeMeshVertexHexahedronIjk<T, G> mesh) Create an instance of a skin extractor for a non indexed hexahedron volume mesh IJK.- Parameters:
mesh
- the input mesh- Returns:
- a skin extractor for a non indexed hexahedron volume mesh IJK
-
extractSkin
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractSkinMeXGeometryI> (MiCellFilterIjk cellFilter) Builds the topology and geometry of a mesh skin.- Parameters:
cellFilter
- the cell filter- Returns:
- the skin extracted as an unstructured surface mesh.
-
extractScalarSet
Computes aPER_CELL
scalar set on the extracted skin.Note: The argument i,j,k of the method
MiScalardSetIjk.get(int, int, int)
refers to the cell (i,j,k). Thus the binding of the input set must bePER_CELL
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
inputSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting skin mesh
-
extractVec3Set
Computes a vector set on the extracted skin.Note: The argument i,j,k of the method
MiVec3dSetIjk.get(int, int, int)
refers to the cell (i,j,k). Thus the binding of the input set must bePER_CELL
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
inputSet
- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the resulting skin mesh
-
getExtract
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, getExtract()MeXGeometryI> Returns the result of the extraction as a mesh.- Returns:
- result of the extraction as a mesh
-