Class MiPlaneSliceExtractUnstructured
- java.lang.Object
-
- com.openinventor.meshvizxlm.extractors.slice.MiPlaneSliceExtractUnstructured
-
- All Implemented Interfaces:
MiBaseExtractor
public abstract class MiPlaneSliceExtractUnstructured extends java.lang.Object implements MiBaseExtractor
Plane slice extractor for unstructured volume meshes.A plane slice is the intersection of a given plane with the mesh volume. The extracted plane slice is an unstructured surface.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI>
extractLineSlice(SbVec3d normal, double distance, MiCellFilterI filter)
Builds the topology and geometry of a line plane slice intersecting the volume mesh.abstract MeXScalardSetI
extractScalarSet(MiScalardSetI scalarSet)
Extracts a scalar set from the volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>
extractSlice(SbVec3d normal, double distance, MiCellFilterI filter)
Builds the topology and geometry of a plane slice intersecting the volume mesh.abstract MeXVec3dSetI
extractVec3Set(MiVec3dSetI vectorSet)
Extracts a vector set from the volume 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>
MiPlaneSliceExtractUnstructuredgetNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
Create an instance of plane slice extractor for unstructured volume mesh.-
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
-
-
-
-
Method Detail
-
getNewInstance
public static <C extends MiVolumeCell,T extends MiVolumeTopologyExplicitI<C>,G extends MiGeometryI> MiPlaneSliceExtractUnstructured getNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
Create an instance of plane slice extractor for unstructured volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- a plane slice extractor for unstructured volume mesh
-
extractSlice
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractSlice(SbVec3d normal, double distance, MiCellFilterI filter)
Builds the topology and geometry of a plane slice intersecting the volume mesh.- Parameters:
normal
- normal to the plane slicedistance
- position of the plane relatively to the origin along the normalfilter
- the cell filter- Returns:
- an unstructured surface mesh representing the plane slice
-
extractLineSlice
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI> extractLineSlice(SbVec3d normal, double distance, MiCellFilterI filter)
Builds the topology and geometry of a line plane slice intersecting the volume mesh. Mainly used to extract external edges of cell on polyhedral mesh.- Parameters:
normal
- normal to the plane slicedistance
- position of the plane relatively to the origin along the normalfilter
- the cell filter- Returns:
- the extracted plane slice as an unstructured line mesh
-
extractScalarSet
public abstract MeXScalardSetI extractScalarSet(MiScalardSetI scalarSet)
Extracts a scalar set from the volume mesh. The scalars are mapped onto the current extracted plane slice.- Parameters:
scalarSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting surface mesh
-
extractVec3Set
public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetI vectorSet)
Extracts a vector set from the volume mesh. The vectors are mapped onto the current extracted plane slice.- Parameters:
vectorSet
- the input vec3 set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting surface mesh
-
getExtract
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> getExtract()
Returns the result of the extraction as a mesh.- Returns:
- result of the extraction as a mesh
-
-