Class MiOutlineExtractUnstructured
java.lang.Object
com.openinventor.meshvizxlm.extractors.outline.MiOutlineExtractUnstructured
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorUnstructured
public abstract class MiOutlineExtractUnstructured
extends Object
implements MiExtractorUnstructured
Outline extractor for an unstructured mesh.
Builds a MiLineMeshUnstructured
interfaces containing the outline of the given mesh. The outline of a mesh is
made up of all the edges that belong to a single cell. Internal edges of a
mesh will not be displayed except when they are adjacent to dead cells.
-
Method Summary
Modifier and TypeMethodDescriptionextractOutline
(MiCellFilterI cellFilter) Builds the topology and geometry of a mesh outline.abstract MeXScalardSetI
extractScalarSet
(MiScalardSetI inputSet) Extracts a scalar set from the volume mesh.
The scalars are mapped onto the current extracted outline.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetI inputSet) Extracts a vector set from the volume mesh.
The vectors are mapped onto the current extracted outline.Returns the result of the extraction as a mesh.static <C extends MiSurfaceCell,
T extends MiSurfaceTopologyExplicitI<C>, G extends MiGeometryI>
MiOutlineExtractUnstructuredgetNewInstance
(MiSurfaceMeshUnstructured<C, T, G> mesh) Create an instance of outline extractor for unstructured surface mesh.static <C extends MiVolumeCell,
T extends MiVolumeTopologyExplicitI<C>, G extends MiGeometryI>
MiOutlineExtractUnstructuredgetNewInstance
(MiVolumeMeshUnstructured<C, T, G> mesh) Create an instance of outline 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>, MiOutlineExtractUnstructured getNewInstanceG extends MiGeometryI> (MiVolumeMeshUnstructured<C, T, G> mesh) Create an instance of outline extractor for unstructured volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- an outline extractor for unstructured volume mesh
-
getNewInstance
public static <C extends MiSurfaceCell,T extends MiSurfaceTopologyExplicitI<C>, MiOutlineExtractUnstructured getNewInstanceG extends MiGeometryI> (MiSurfaceMeshUnstructured<C, T, G> mesh) Create an instance of outline extractor for unstructured surface mesh.- Parameters:
mesh
- the input mesh- Returns:
- an outline extractor for unstructured surface mesh
-
extractOutline
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>, extractOutlineMeXGeometryI> (MiCellFilterI cellFilter) Builds the topology and geometry of a mesh outline.- Parameters:
cellFilter
- the cell filter- Returns:
- the outline extracted as an unstructured line mesh
-
extractScalarSet
Extracts a scalar set from the volume mesh.
The scalars are mapped onto the current extracted outline.- Parameters:
inputSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting line mesh
-
extractVec3Set
Extracts a vector set from the volume mesh.
The vectors are mapped onto the current extracted outline.- Parameters:
inputSet
- the input vec3 set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting line mesh
-
getExtract
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>, getExtract()MeXGeometryI> Returns the result of the extraction as a mesh.- Returns:
- result of the extraction as a mesh
-