Class MiOutlineExtractIjk
- java.lang.Object
-
- com.openinventor.meshvizxlm.extractors.outline.MiOutlineExtractIjk
-
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIjk
- Direct Known Subclasses:
MiOutlineExtractHexahedronIjk
public abstract class MiOutlineExtractIjk extends java.lang.Object implements MiExtractorIjk
Outline extractor for structured volume meshes.Builds an unstructured line mesh containing the outline of the given volume mesh. The outline of a mesh is made up of all the edges that belong to a single cell. Internal edges of a mesh will not be displayed except when they are adjacent to dead cells.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI>
extractOutline(MiCellFilterIjk cellFilter)
Builds the topology and geometry of a mesh outline.abstract MeXScalardSetI
extractScalarSet(MiScalardSetIjk scalarSet)
Computes aPER_CELL
scalar set on the extracted outline.abstract MeXVec3dSetI
extractVec3Set(MiVec3dSetIjk vectorSet)
Computes a vector set on the extracted outline.abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI>
getExtract()
Returns the result of the extraction as a mesh.static <T extends MiTopologyIjk,G extends MiGeometryHexahedronIjk>
MiOutlineExtractIjkgetNewInstance(MiVolumeMeshVertexHexahedronIjk<T,G> mesh)
Create an instance of outline extractor for a non indexed hexahedron volume mesh IJK.-
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 MiTopologyIjk,G extends MiGeometryHexahedronIjk> MiOutlineExtractIjk getNewInstance(MiVolumeMeshVertexHexahedronIjk<T,G> mesh)
Create an instance of outline extractor for a non indexed hexahedron volume mesh IJK.- Parameters:
mesh
- the input mesh- Returns:
- an outline extractor for a non indexed hexahedron volume mesh IJK
-
extractOutline
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI> extractOutline(MiCellFilterIjk cellFilter)
Builds the topology and geometry of a mesh outline.- Parameters:
cellFilter
- the cell filter- Returns:
- the outline extracted as an unstructured line mesh
-
extractScalarSet
public abstract MeXScalardSetI extractScalarSet(MiScalardSetIjk scalarSet)
Computes aPER_CELL
scalar set on the extracted outline.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 bePER_CELL
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
scalarSet
- the input scalar set defined on the volume mesh- Returns:
- the output scalar set defined on the resulting outline mesh
-
extractVec3Set
public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetIjk vectorSet)
Computes a vector set on the extracted outline.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 bePER_CELL
. AnUnsupportedOperationException
is thrown otherwise.- Parameters:
vectorSet
- the input vector set defined on the volume mesh- Returns:
- the output vector set defined on the resulting outline mesh
-
getExtract
public abstract MeXLineMeshUnstructured<MeXLineCell,MeXLineTopologyExplicitI<MeXLineCell>,MeXGeometryI> getExtract()
Returns the result of the extraction as a mesh.- Returns:
- result of the extraction as a mesh
-
-