Class MiCylinderSliceExtractUnstructured

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

public abstract class MiCylinderSliceExtractUnstructured extends 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 Details