Class MiGridPlaneSliceExtractUnstructured

java.lang.Object
com.openinventor.meshvizxlm.extractors.slice.MiGridPlaneSliceExtractUnstructured
All Implemented Interfaces:
MiBaseExtractor

public abstract class MiGridPlaneSliceExtractUnstructured extends Object implements MiBaseExtractor
Grid plane slice extractor on unstructured volume meshes.

This extractor is similar to the plane slice extractor except that it creates a structured mesh and probes the input volume to compute the values at the surface nodes and cells (See MiPointProbeUnstructured for settings). The grid created by this extractor is computed so that it encloses completely the cross section of the input volume mesh marking as dead the cells outside the volume.

  • Method Details

    • getNewInstance

      public static <C extends MiVolumeCell, T extends MiVolumeTopologyExplicitI<C>, G extends MiGeometryI> MiGridPlaneSliceExtractUnstructured getNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
      Create an instance of grid plane slice extractor for unstructured volume mesh.
      Parameters:
      mesh - the input mesh
      Returns:
      a grid plane slice extractor for unstructured volume mesh
    • extractGrid

      public abstract MeXSurfaceMeshCurvilinear<MeXTopologyIj,MeXGeometryIj> extractGrid(SbVec3d normal, double distance, double step, MiCellFilterI filter)
      Builds the topology and geometry of a curvilinear surface mesh defined by the given plane normal and distance to origin. This grid is computed so that it encloses completely the cross section of the input volume mesh.
      Parameters:
      normal - normal to the grid plane slice
      distance - position of the plane relatively to the origin along the normal
      step - distance between two consecutive nodes in both directions of the plane
      filter - the cell filter
      Returns:
      a curvilinear surface mesh representing the grid plane slice
    • extractScalarSet

      public abstract MeXScalardSetIj extractScalarSet(MiScalardSetI scalarSet)
      Extracts a scalar set from the original mesh. The scalars are mapped onto the current extracted mesh.
      Parameters:
      scalarSet - the input scalar set defined on the original mesh
      Returns:
      the output scalar set defined on the extracted mesh
    • extractVec3Set

      public abstract MeXVec3dSetIj extractVec3Set(MiVec3dSetI vectorSet)
      Extracts a vector set from the original mesh. The vectors are mapped onto the current extracted mesh.
      Parameters:
      vectorSet - the input vector set defined on the original mesh
      Returns:
      the output vector set defined on the extracted mesh.
    • getExtract

      public abstract MeXSurfaceMeshCurvilinear<MeXTopologyIj,MeXGeometryIj> getExtract()
      Returns the result of the extraction as a mesh.
      Returns:
      result of the extraction as a mesh