public abstract class MiSphereSliceExtractUnstructured extends java.lang.Object implements MiBaseExtractor
A sphere slice is the intersection of a given sphere with the mesh volume. The extracted sphere slice is an unstructured surface mesh.
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 sphere slice from a mesh:
{
MiSphereSliceExtractUnstructured sphereSliceExtract = MiSphereSliceExtractUnstructured.getNewInstance(mesh);
MeXSurfaceMeshUnstructured sphereSlice = sphereSliceExtract.extractSlice(center, radius, null);
}
Modifier and Type | Method and Description |
---|---|
abstract MeXScalardSetI |
extractScalarSet(MiScalardSetI scalarSet)
Extracts a scalar set from the original mesh.
|
abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> |
extractSlice(SbVec3d center,
double radius,
MiCellFilterI filter)
Builds the topology and geometry of a sphere slice intersecting the volume
mesh.
|
abstract MeXVec3dSetI |
extractVec3Set(MiVec3dSetI vectorSet)
Extracts a vector set from the original mesh.
|
abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> |
getExtract()
Returns the result of the extraction as a mesh.
|
static <C extends MiVolumeCell,T extends MiVolumeTopologyExplicitI<C>,G extends MiGeometryI> |
getNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
Create an instance of sphere slice extractor for unstructured volume mesh.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setExtractorCallback
public static <C extends MiVolumeCell,T extends MiVolumeTopologyExplicitI<C>,G extends MiGeometryI> MiSphereSliceExtractUnstructured getNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
mesh
- the input meshpublic abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractSlice(SbVec3d center, double radius, MiCellFilterI filter)
center
- the position of the center of the sphereradius
- the radius of the spherefilter
- the cell filterpublic abstract MeXScalardSetI extractScalarSet(MiScalardSetI scalarSet)
scalarSet
- the input scalar set defined on the original meshpublic abstract MeXVec3dSetI extractVec3Set(MiVec3dSetI vectorSet)
vectorSet
- the input vector set defined on the original meshpublic abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> getExtract()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com