Class MiCellExtractIj
- java.lang.Object
-
- com.openinventor.meshvizxlm.extractors.cell.MiCellExtractIj
-
- All Implemented Interfaces:
MiBaseExtractor
,MiExtractorIj
public abstract class MiCellExtractIj extends java.lang.Object implements MiExtractorIj
Cell extractor for structured surface meshes.Extracts a list of cells from the input structured mesh and builds a surface mesh representing the extracted cells.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>
extractCell(double factor, MiCellFilterIj cellFilter)
Creates an unstructured surface mesh from the faces of all the cells in the original surface mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>
extractCell(long[] cellIndexes, double factor, MiCellFilterIj cellFilter)
Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original surface mesh.abstract MeXScalardSetI
extractScalarSet(MiScalardSetIj scalarSet)
Extracts a scalar set from the surface mesh.abstract MeXStringSetI
extractStringSet(MiStringSetIj stringSet)
Extracts a string set from the surface mesh.abstract MeXVec3dSetI
extractVec3Set(MiVec3dSetIj vectorSet)
Extracts a vector set from the surface mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>
getExtract()
Returns the result of the extraction as a mesh.static <T extends MiTopologyIj,G extends MiGeometryIj>
MiCellExtractIjgetNewInstance(MiSurfaceMeshCurvilinear<T,G> mesh)
Create an instance of cell extractor for a curvilinear surface 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
-
Methods inherited from interface com.openinventor.meshvizxlm.extractors.MiExtractorIj
addCellRange, clearCellRanges
-
-
-
-
Method Detail
-
getNewInstance
public static <T extends MiTopologyIj,G extends MiGeometryIj> MiCellExtractIj getNewInstance(MiSurfaceMeshCurvilinear<T,G> mesh)
Create an instance of cell extractor for a curvilinear surface mesh.- Parameters:
mesh
- the input mesh- Returns:
- a cell extractor for a curvilinear surface mesh
-
extractCell
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractCell(long[] cellIndexes, double factor, MiCellFilterIj cellFilter)
Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original surface mesh.Cells are scaled according to the given factor:
Shrinking:factor < 1
Expanding:factor > 1
- Parameters:
cellIndexes
- indices of the cells to extract {i0, j0, i1, j1, ...}factor
- cell scale factorcellFilter
- cell filter- Returns:
- an unstructured surface mesh from the faces of the extracted cells
-
extractCell
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractCell(double factor, MiCellFilterIj cellFilter)
Creates an unstructured surface mesh from the faces of all the cells in the original surface mesh.Cells are scaled according to the given factor:
Shrinking:factor < 1
Expanding:factor > 1
- Parameters:
factor
- cell scale factorcellFilter
- cell filter- Returns:
- an unstructured surface mesh from the faces of the extracted cells
-
extractScalarSet
public abstract MeXScalardSetI extractScalarSet(MiScalardSetIj scalarSet)
Extracts a scalar set from the surface mesh. The scalars are mapped onto the current extracted mesh.- Parameters:
scalarSet
- the input scalar set defined on the surface mesh- Returns:
- the output scalar set defined on the extracted mesh
-
extractVec3Set
public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetIj vectorSet)
Extracts a vector set from the surface mesh. The vectors are mapped onto the current extracted mesh.- Parameters:
vectorSet
- the input vector set defined on the surface mesh- Returns:
- the output vector set defined on the extracted mesh
-
extractStringSet
public abstract MeXStringSetI extractStringSet(MiStringSetIj stringSet)
Extracts a string set from the surface mesh. The strings are mapped onto the current extracted mesh.- Parameters:
stringSet
- the input string set defined on the surface mesh- Returns:
- the output string set defined on the extracted 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
-
-