public abstract class MiCylinderSliceExtractHexahedronIjk extends MiCylinderSliceExtractIjk
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)
,
MiCylinderSliceExtractIjk.extractScalarSet(MiScalardSetIjk)
,
extractVec3Set(MiVec3dSetI)
or
MiCylinderSliceExtractIjk.extractVec3Set(MiVec3dSetIjk)
methods.
The following sample code shows how to extract a cylinder slice from a mesh:
{
MiCylinderSliceExtractHexahedronIjk cylinderSliceExtract = MiCylinderSliceExtractHexahedronIjk.getNewInstance(mesh);
MeXSurfaceMeshUnstructured cylinderSlice = cylinderSliceExtract.extractSlice(center, radius, direction, null);
}
Modifier and Type | Method and Description |
---|---|
abstract MeXScalardSetI |
extractScalarSet(MiScalardSetI scalarSet)
Computes a
PER_NODE scalar set on the extracted cylinder slice. |
abstract MeXVec3dSetI |
extractVec3Set(MiVec3dSetI vectorSet)
Computes a vector set on the extracted cylinder slice.
|
static <T extends MiHexahedronTopologyExplicitIjk,G extends MiGeometryI> |
getNewInstance(MiVolumeMeshHexahedronIjk<T,G> mesh)
Create an instance of cylinder 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> MiCylinderSliceExtractHexahedronIjk getNewInstance(MiVolumeMeshHexahedronIjk<T,G> mesh)
mesh
- the input meshpublic abstract MeXScalardSetI extractScalarSet(MiScalardSetI scalarSet)
PER_NODE
scalar set on the extracted cylinder 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