public abstract class MiSphereSliceExtractHexahedronIjk extends MiSphereSliceExtractIjk
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)
,
MiSphereSliceExtractIjk.extractScalarSet(MiScalardSetIjk)
,
extractVec3Set(MiVec3dSetI)
or
MiSphereSliceExtractIjk.extractVec3Set(MiVec3dSetIjk)
methods.
The following sample code shows how to extract a sphere slice from a mesh:
{
MiSphereSliceExtractHexahedronIjk sphereSliceExtract = MiSphereSliceExtractHexahedronIjk.getNewInstance(mesh);
MeXSurfaceMeshUnstructured sphereSlice = sphereSliceExtract.extractSlice(center,radius, null);
}
Modifier and Type | Method and Description |
---|---|
abstract MeXScalardSetI |
extractScalarSet(MiScalardSetI scalarSet)
Computes a
PER_NODE scalar set on the extracted sphere slice. |
abstract MeXVec3dSetI |
extractVec3Set(MiVec3dSetI vectorSet)
Computes a vector set on the extracted sphere slice.
|
static <T extends MiHexahedronTopologyExplicitIjk,G extends MiGeometryI> |
getNewInstance(MiVolumeMeshHexahedronIjk<T,G> mesh)
Create an instance of sphere slice extractor for hexahedron IJK volume
mesh.
|
extractScalarSet, extractSlice, extractVec3Set, getExtract, getNewInstance
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellRange, clearCellRanges
setExtractorCallback
public static <T extends MiHexahedronTopologyExplicitIjk,G extends MiGeometryI> MiSphereSliceExtractHexahedronIjk getNewInstance(MiVolumeMeshHexahedronIjk<T,G> mesh)
mesh
- the input meshpublic abstract MeXScalardSetI extractScalarSet(MiScalardSetI scalarSet)
PER_NODE
scalar set on the extracted sphere slice.
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.
scalarSet
- the input scalar set defined on the volume meshpublic abstract MeXVec3dSetI extractVec3Set(MiVec3dSetI vectorSet)
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.
vectorSet
- the input vector set defined on the volume meshGenerated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com