Class MiIsosurfExtractIjk
java.lang.Object
com.openinventor.meshvizxlm.extractors.isosurf.MiIsosurfExtractIjk
- All Implemented Interfaces:
MiBaseExtractor,MiExtractorIjk
- Direct Known Subclasses:
MiIsosurfExtractHexahedronIjk
Isosurface extractor for structured volume meshes.
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 given dataset.abstract MeXScalardSetIextractScalarSet(MiScalardSetIjk scalarSet) Computes aPER_CELLscalar set on the extracted isosurface.abstract MeXVec3dSetIextractVec3Set(MiVec3dSetIjk vectorSet) Computes a vector set on the extracted isosurface.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell, MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, MeXGeometryI> Returns the result of the extraction as a mesh.static <T extends MiTopologyIjk,G extends MiGeometryHexahedronIjk>
MiIsosurfExtractIjkgetNewInstance(MiVolumeMeshVertexHexahedronIjk<T, G> mesh) Create an instance of isosurface extractor for a non indexed hexahedron volume mesh IJK.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.openinventor.meshvizxlm.extractors.MiBaseExtractor
setExtractorCallbackMethods inherited from interface com.openinventor.meshvizxlm.extractors.MiExtractorIjk
addCellRange, clearCellRanges
-
Method Details
-
getNewInstance
public static <T extends MiTopologyIjk,G extends MiGeometryHexahedronIjk> MiIsosurfExtractIjk getNewInstance(MiVolumeMeshVertexHexahedronIjk<T, G> mesh) Create an instance of isosurface extractor for a non indexed hexahedron volume mesh IJK.- Parameters:
mesh- the input mesh- Returns:
- an isosurface extractor for a non indexed hexahedron volume mesh IJK
-
extractIsovalue
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractIsovalueMeXGeometryI> (double isoValue, MiScalardSetIjk dataSet, MiCellFilterIjk cellFilter) Builds the isosurface of the given isovalue in the given dataset.- Parameters:
isoValue- value for which an isosurface must be computeddataSet- the input data set used to compute the isovalue from. When extracting from aMiVolumeMeshVertexHexahedronIjkthis dataset must be boundPER_CELL, otherwise the extraction will throw anUnsupportedOperationException.cellFilter- the cell filter- Returns:
- the extracted isosurface
-
extractScalarSet
Computes aPER_CELLscalar set on the extracted isosurface.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:
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,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:
vectorSet- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the resulting isosurface 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
-