Class MiIsosurfExtractHexahedronIjk

java.lang.Object
com.openinventor.meshvizxlm.extractors.isosurf.MiIsosurfExtractIjk
com.openinventor.meshvizxlm.extractors.isosurf.MiIsosurfExtractHexahedronIjk
All Implemented Interfaces:
MiBaseExtractor, MiExtractorIjk

public abstract class MiIsosurfExtractHexahedronIjk extends MiIsosurfExtractIjk
Isosurface extractor for hexahedron IJK meshes.

Builds the isosurface of the given isovalue in the given dataset.

  • 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>,MeXGeometryI> extractIsovalue(double isoValue, MiScalardSetI dataSet, MiCellFilterIjk cellFilter)
      Builds the isosurface of the given isovalue in the given PER_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 computed
      dataSet - the input data set used to compute the isovalue from
      cellFilter - the cell filter
      Returns:
      the extracted isosurface
    • extractIsovalue

      public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractIsovalue(double isoValue, MiScalardSetIjk dataSet, MiCellFilterIjk cellFilter)
      Builds the isosurface of the given isovalue in the given PER_CELL dataset.

      Note: MiScalardSetIjk dataset must always be bound PER_CELL to the mesh, otherwise use MiScalarSetI. In this case of a dataset bound PER_CELL, it will be converted into a new internal dataset bound PER_NODE and cached in the extractor.

      Specified by:
      extractIsovalue in class MiIsosurfExtractIjk
      Parameters:
      isoValue - value for which an isosurface must be computed
      dataSet - the input data set used to compute the isovalue from
      cellFilter - the cell filter
      Returns:
      the extracted isosurface
    • extractScalarSet

      public abstract MeXScalardSetI extractScalarSet(MiScalardSetI scalarSet)
      Computes a PER_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 be PER_NODE. An UnsupportedOperationException 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

      public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetI vectorSet)
      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 be PER_NODE. An UnsupportedOperationException 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