Class MiIsosurfExtractUnstructured
java.lang.Object
com.openinventor.meshvizxlm.extractors.isosurf.MiIsosurfExtractUnstructured
- All Implemented Interfaces:
MiBaseExtractor
Isosurface extractor for unstructured 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, MiScalardSetI dataSet, MiCellFilterI cellFilter) Builds the isosurface of the given isovalue in the given dataset.extractLineIsovalue
(double isoValue, MiScalardSetI dataSet, MiCellFilterI cellFilter) Builds the ouline of an isosurface of the given isovalue in the given dataset.abstract MeXScalardSetI
extractScalarSet
(MiScalardSetI scalarSet) Computes a scalar set on the extracted isosurface.abstract MeXVec3dSetI
extractVec3Set
(MiVec3dSetI 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 <C extends MiVolumeCell,
T extends MiVolumeTopologyExplicitI<C>, G extends MiGeometryI>
MiIsosurfExtractUnstructuredgetNewInstance
(MiVolumeMeshUnstructured<C, T, G> mesh) Create an instance of isosurface 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
-
Method Details
-
getNewInstance
public static <C extends MiVolumeCell,T extends MiVolumeTopologyExplicitI<C>, MiIsosurfExtractUnstructured getNewInstanceG extends MiGeometryI> (MiVolumeMeshUnstructured<C, T, G> mesh) Create an instance of isosurface extractor for unstructured volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- an isosurface extractor for unstructured volume mesh
-
extractIsovalue
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>, extractIsovalueMeXGeometryI> (double isoValue, MiScalardSetI dataSet, MiCellFilterI 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 fromcellFilter
- the cell filter- Returns:
- the extracted isosurface
-
extractLineIsovalue
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>, extractLineIsovalueMeXGeometryI> (double isoValue, MiScalardSetI dataSet, MiCellFilterI cellFilter) Builds the ouline of an isosurface of the given isovalue in the given dataset. Will return the same Mesh than extractIsovalue but the mesh will contains a new topology describing only the ouline edge of the isosurface (access it using extractedMesh.getOutlineTopo() )- 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 a scalar set on the extracted isosurface.- 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.- Parameters:
vectorSet
- the input vec3 set defined on the volume mesh- Returns:
- the output scalar 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
-