Class MiIsosurfExtractHexahedronIjk
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
Builds the isosurface of the given isovalue in the given dataset.
-
Method Summary
Modifier and TypeMethodDescriptionabstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> extractIsovalue
(double isoValue, MiScalardSetIjk dataSet, MiCellFilterIjk cellFilter) Builds the isosurface of the given isovalue in the givenPER_CELL
dataset.abstract MeXSurfaceMeshUnstructured
<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> extractIsovalue
(double isoValue, MiScalardSetI dataSet, MiCellFilterIjk cellFilter) Builds the isosurface of the given isovalue in the givenPER_NODE
dataset.abstract MeXScalardSetI
extractScalarSet
(MiScalardSetI scalarSet) Computes aPER_NODE
scalar set on the extracted isosurface.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetI vectorSet) Computes a vector set on the extracted isosurface.static <T extends MiHexahedronTopologyExplicitIjk,
G extends MiGeometryI>
MiIsosurfExtractHexahedronIjkgetNewInstance
(MiVolumeMeshHexahedronIjk<T, G> mesh) Create an instance of isosurface extractor for IJK Hexahedron volume mesh.Methods inherited from class com.openinventor.meshvizxlm.extractors.isosurf.MiIsosurfExtractIjk
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> MiIsosurfExtractHexahedronIjk getNewInstance(MiVolumeMeshHexahedronIjk<T, G> mesh) Create an instance of isosurface extractor for IJK Hexahedron volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- an isosurface extractor for IJK Hexahedron volume mesh
-
extractIsovalue
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractIsovalueMeXGeometryI> (double isoValue, MiScalardSetI dataSet, MiCellFilterIjk cellFilter) Builds the isosurface of the given isovalue in the givenPER_NODE
dataset.Note: MiScalardSetI dataset must always be bound
PER_NODE
to the mesh, otherwise use MiScalarSetIjk.- Parameters:
isoValue
- value for which an isosurface must be computeddataSet
- the input data set used to compute the isovalue fromcellFilter
- the cell filter- Returns:
- the extracted isosurface
-
extractIsovalue
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractIsovalueMeXGeometryI> (double isoValue, MiScalardSetIjk dataSet, MiCellFilterIjk cellFilter) Builds the isosurface of the given isovalue in the givenPER_CELL
dataset.Note: MiScalardSetIjk dataset must always be bound
PER_CELL
to the mesh, otherwise use MiScalarSetI. In this case of a dataset boundPER_CELL
, it will be converted into a new internal dataset bound PER_NODE and cached in the extractor.- Specified by:
extractIsovalue
in classMiIsosurfExtractIjk
- Parameters:
isoValue
- value for which an isosurface must be computeddataSet
- the input data set used to compute the isovalue fromcellFilter
- the cell filter- Returns:
- the extracted isosurface
-
extractScalarSet
Computes aPER_NODE
scalar set on the extracted isosurface.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:
scalarSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting isosurface mesh
-
extractVec3Set
Computes a vector set on the extracted isosurface.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:
vectorSet
- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the resulting isosurface mesh
-