Class MiSkinExtractUnstructured
java.lang.Object
com.openinventor.meshvizxlm.extractors.skin.MiSkinExtractUnstructured
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorUnstructured
Skin extractor for an unstructured volume mesh.
Performs 2 types of extraction:
extractSkin(MiCellFilterI)
builds aMeXSurfaceMeshUnstructured
interfaces containing the skin of the given mesh. The skin of a mesh is made up of all the faces that belong to only one cell. Scalar and vector sets can be mapped onto this surface by callingextractScalarSet(MiScalardSetI)
andextractVec3Set(MiVec3dSetI)
.extractLineSkin(MiCellFilterI)
builds aMeXLineMeshUnstructured
interface containing the line skin of the given mesh, which is made up of the edges from the faces that belong to the skin.
Note: No dataset mapping is available on the line skin.
-
Method Summary
Modifier and TypeMethodDescriptionextractLineSkin
(MiCellFilterI cellFilter) Builds the topology and geometry of the line skin.abstract MeXScalardSetI
extractScalarSet
(MiScalardSetI inputSet) Extracts a scalar set from the volume mesh.abstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> extractSkin
(MiCellFilterI cellFilter) Builds the topology and geometry of a mesh skin.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetI inputSet) Extracts a vector set from the volume mesh.abstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> Returns the result of the extraction as a mesh.static <C extends MiVolumeCell,
T extends MiVolumeTopologyExplicitI<C>, G extends MiGeometryI>
MiSkinExtractUnstructuredgetNewInstance
(MiVolumeMeshUnstructured<C, T, G> mesh) Create an instance of a skin extractor for unstructured volume mesh.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.MiExtractorUnstructured
addCellRange, clearCellRanges
-
Method Details
-
getNewInstance
public static <C extends MiVolumeCell,T extends MiVolumeTopologyExplicitI<C>, MiSkinExtractUnstructured getNewInstanceG extends MiGeometryI> (MiVolumeMeshUnstructured<C, T, G> mesh) Create an instance of a skin extractor for unstructured volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- a skin extractor for unstructured volume mesh
-
extractSkin
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractSkinMeXGeometryI> (MiCellFilterI cellFilter) Builds the topology and geometry of a mesh skin.- Parameters:
cellFilter
- the cell filter- Returns:
- the skin extracted as an unstructured surface mesh.
-
extractLineSkin
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>, extractLineSkinMeXGeometryI> (MiCellFilterI cellFilter) Builds the topology and geometry of the line skin.- Parameters:
cellFilter
- the cell filter- Returns:
- the line skin extracted as an unstructured line mesh.
-
extractScalarSet
Extracts a scalar set from the volume mesh. The scalars are mapped onto the current extracted skin.- Parameters:
inputSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting surface mesh
-
extractVec3Set
Extracts a vector set from the volume mesh. The vectors are mapped onto the current extracted skin.- Parameters:
inputSet
- the input vec3 set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting surface 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
-