public abstract class MiSphereSliceExtractIjk extends java.lang.Object implements MiExtractorIjk
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(MiScalardSetIjk)
or
extractVec3Set(MiVec3dSetIjk)
methods.
The following sample code shows how to extract a sphere slice from a mesh:
{
MiSphereSliceExtractIjk sphereSliceExtract = MiSphereSliceExtractIjk.getNewInstance(mesh);
MeXSurfaceMeshUnstructured sphereSlice = sphereSliceExtract.extractSlice(center,radius, null);
}
Modifier and Type | Method and Description |
---|---|
abstract MeXScalardSetI |
extractScalarSet(MiScalardSetIjk scalarSet)
Computes a
PER_CELL scalar set on the extracted sphere slice. |
abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> |
extractSlice(SbVec3d center,
double radius,
MiCellFilterIjk filter)
Builds the topology and geometry of a sphere slice intersecting the volume
mesh.
|
abstract MeXVec3dSetI |
extractVec3Set(MiVec3dSetIjk vectorSet)
Computes a vector set on the extracted sphere slice.
|
abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> |
getExtract()
Returns the result of the extraction as a mesh.
|
static <T extends MiTopologyIjk,G extends MiGeometryHexahedronIjk> |
getNewInstance(MiVolumeMeshVertexHexahedronIjk<T,G> mesh)
Create an instance of sphere slice extractor for a non indexed hexahedron
volume mesh IJK.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellRange, clearCellRanges
setExtractorCallback
public static <T extends MiTopologyIjk,G extends MiGeometryHexahedronIjk> MiSphereSliceExtractIjk getNewInstance(MiVolumeMeshVertexHexahedronIjk<T,G> mesh)
mesh
- the input meshpublic abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractSlice(SbVec3d center, double radius, MiCellFilterIjk filter)
center
- the position of the center of the sphereradius
- the radius of the spherefilter
- the cell filterpublic abstract MeXScalardSetI extractScalarSet(MiScalardSetIjk scalarSet)
PER_CELL
scalar set on the extracted sphere slice.
Note: The argument i,j,k of the method
MiScalardSetIjk.get(int, int, int)
refers to the cell (i,j,k). Thus the binding of the input set must be
PER_CELL
. An UnsupportedOperationException
is thrown
otherwise.
scalarSet
- the input scalar set defined on the volume meshpublic abstract MeXVec3dSetI extractVec3Set(MiVec3dSetIjk vectorSet)
Note: The argument i,j,k of the method
MiVec3dSetIjk.get(int, int, int)
refers to the cell (i,j,k). Thus the binding of the input set must be
PER_CELL
. An UnsupportedOperationException
is thrown
otherwise.
vectorSet
- the input vector set defined on the volume meshpublic abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> getExtract()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com