Class MiSlabExtractIjk
- java.lang.Object
-
- com.openinventor.meshvizxlm.extractors.slab.MiSlabExtractIjk
-
- All Implemented Interfaces:
MiBaseExtractor,MiExtractorIjk
- Direct Known Subclasses:
MiSlabExtractHexahedronIjk
public abstract class MiSlabExtractIjk extends java.lang.Object implements MiExtractorIjk
Extract a slab of a structured volume mesh.Builds a
MiSurfaceMeshUnstructuredinterfaces containing the mesh skin of a slab defined by an I, J or K index and a thickness.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MeXScalardSetIextractScalarSet(MiScalardSetIjk inputSet)Computes aPER_CELLscalar 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 MeXVec3dSetIextractVec3Set(MiVec3dSetIjk inputSet)Computes a vector set on the extracted skin.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>getExtract()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 Detail
-
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>,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.- 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
public abstract MeXScalardSetI extractScalarSet(MiScalardSetIjk inputSet)
Computes aPER_CELLscalar 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. AnUnsupportedOperationExceptionis 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
public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetIjk inputSet)
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. AnUnsupportedOperationExceptionis 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>,MeXGeometryI> getExtract()
Returns the result of the extraction as a mesh.- Returns:
- result of the extraction as a mesh
-
-