Class MiOutlineExtractHexahedronIjk
java.lang.Object
com.openinventor.meshvizxlm.extractors.outline.MiOutlineExtractIjk
com.openinventor.meshvizxlm.extractors.outline.MiOutlineExtractHexahedronIjk
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
Outline extractor for an hexahedron IJK meshes.
Builds a
MeXLineMeshUnstructured
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 TypeMethodDescriptionabstract MeXScalardSetI
extractScalarSet
(MiScalardSetI inputSet) Computes aPER_NODE
scalar set on the extracted outline.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetI inputSet) Computes a vector set on the extracted outline.static <T extends MiHexahedronTopologyExplicitIjk,
G extends MiGeometryI>
MiOutlineExtractHexahedronIjkgetNewInstance
(MiVolumeMeshHexahedronIjk<T, G> mesh) Create an instance of outline extractor for unstructured IJK mesh.Methods inherited from class com.openinventor.meshvizxlm.extractors.outline.MiOutlineExtractIjk
extractOutline, extractScalarSet, extractVec3Set, getExtract, getNewInstance
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 MiHexahedronTopologyExplicitIjk,G extends MiGeometryI> MiOutlineExtractHexahedronIjk getNewInstance(MiVolumeMeshHexahedronIjk<T, G> mesh) Create an instance of outline extractor for unstructured IJK mesh.- Parameters:
mesh
- the input mesh- Returns:
- an outline extractor for unstructured IJK mesh
-
extractScalarSet
Computes aPER_NODE
scalar set on the extracted outline.Note: The argument i of the method
MiScalardSetI.get(long)
refers to the i-th node of the mesh. Thus the binding of the input set must bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
inputSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting line mesh
-
extractVec3Set
Computes a vector set on the extracted outline.Note: The argument i of the method
MiVec3dSetI.get(long)
refers to the i-th node of the mesh. Thus the binding of the input set must bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
inputSet
- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the resulting line mesh
-