Class MiCylinderSliceExtractHexahedronIjk
- java.lang.Object
-
- com.openinventor.meshvizxlm.extractors.slice.MiCylinderSliceExtractIjk
-
- com.openinventor.meshvizxlm.extractors.slice.MiCylinderSliceExtractHexahedronIjk
-
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
public abstract class MiCylinderSliceExtractHexahedronIjk extends MiCylinderSliceExtractIjk
Cylinder slice extractor for hexahedron IJK 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)
,MiCylinderSliceExtractIjk.extractScalarSet(MiScalardSetIjk)
,extractVec3Set(MiVec3dSetI)
orMiCylinderSliceExtractIjk.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); }
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MeXScalardSetI
extractScalarSet(MiScalardSetI scalarSet)
Computes aPER_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>
MiCylinderSliceExtractHexahedronIjkgetNewInstance(MiVolumeMeshHexahedronIjk<T,G> mesh)
Create an instance of cylinder slice extractor for hexahedron IJK volume mesh.-
Methods inherited from class com.openinventor.meshvizxlm.extractors.slice.MiCylinderSliceExtractIjk
extractScalarSet, extractSlice, extractVec3Set, getExtract, getNewInstance
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.openinventor.meshvizxlm.extractors.MiBaseExtractor
setExtractorCallback
-
Methods inherited from interface com.openinventor.meshvizxlm.extractors.MiExtractorIjk
addCellRange, clearCellRanges
-
-
-
-
Method Detail
-
getNewInstance
public static <T extends MiHexahedronTopologyExplicitIjk,G extends MiGeometryI> MiCylinderSliceExtractHexahedronIjk getNewInstance(MiVolumeMeshHexahedronIjk<T,G> mesh)
Create an instance of cylinder slice extractor for hexahedron IJK volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- a cylinder slice extractor for hexahedron IJK volume mesh
-
extractScalarSet
public abstract MeXScalardSetI extractScalarSet(MiScalardSetI scalarSet)
Computes aPER_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 bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
scalarSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting cylinder slice mesh.
-
extractVec3Set
public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetI vectorSet)
Computes a vector set on the extracted cylinder slice.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 bePER_NODE
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
vectorSet
- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the resulting cylinder slice mesh
-
-