Class MiSlabExtractIjk
java.lang.Object
com.openinventor.meshvizxlm.extractors.slab.MiSlabExtractIjk
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
- Direct Known Subclasses:
MiSlabExtractHexahedronIjk
Extract a slab of a structured volume mesh.
Builds a MiSurfaceMeshUnstructured
interfaces containing the mesh skin of a slab defined by an I, J or K index
and a thickness.
-
Method Summary
Modifier and TypeMethodDescriptionabstract MeXScalardSetI
extractScalarSet
(MiScalardSetIjk inputSet) Computes aPER_CELL
scalar set on the extracted skin.abstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> extractSlab
(int index, int thickness, Dimension dimension, MiCellFilterIjk cellFilter) Builds the mesh skin of the slab defined by the specified index on the given dimension and the specified thickness.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>
MiSlabExtractIjkgetNewInstance
(MiVolumeMeshVertexHexahedronIjk<T, G> mesh) Create an instance of a slab 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> MiSlabExtractIjk getNewInstance(MiVolumeMeshVertexHexahedronIjk<T, G> mesh) Create an instance of a slab extractor for a non indexed hexahedron volume mesh IJK.- Parameters:
mesh
- the input mesh- Returns:
- a slab extractor for a non indexed hexahedron volume mesh IJK.
-
extractSlab
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractSlabMeXGeometryI> (int index, int thickness, Dimension dimension, MiCellFilterIjk cellFilter) Builds the mesh skin of the slab defined by the specified index on the given dimension and the specified thickness.- Parameters:
index
- index on the axisthickness
- thickness of the slabdimension
- the dimension along which the slab will be computedcellFilter
- 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
-