Class MiCylinderSliceExtractUnstructured

  • All Implemented Interfaces:
    MiBaseExtractor

    public abstract class MiCylinderSliceExtractUnstructured
    extends java.lang.Object
    implements MiBaseExtractor
    Cylinder slice extractor for unstructured volume meshes.

    A cylinder slice is a surface mesh defined by the intersection of a cylinder of infinite length with the input mesh. The cylinder is defined by a point on its central axis, a vector representing the central axis direction and the radius.

    Additional data sets can be mapped onto this extracted surface by calling the extractScalarSet(MiScalardSetI) or extractVec3Set(MiVec3dSetI) methods.

    The following sample code shows how to extract a cylinder slice from a mesh:

     
     {
       MiCylinderSliceExtractUnstructured cylinderSliceExtract = MiCylinderSliceExtractUnstructured.getNewInstance(mesh);
       MeXSurfaceMeshUnstructured cylinderSlice = cylinderSliceExtract.extractSlice(center, radius, direction, null);
     }
     
     
    • Method Detail

      • extractScalarSet

        public abstract MeXScalardSetI 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 MeXVec3dSetI 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.