Class MiCellExtractIj
java.lang.Object
com.openinventor.meshvizxlm.extractors.cell.MiCellExtractIj
- All Implemented Interfaces:
MiBaseExtractor
,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
Modifier and TypeMethodDescriptionabstract 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> 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 Details
-
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>, extractCellMeXGeometryI> (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>, extractCellMeXGeometryI> (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
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
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
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>, getExtract()MeXGeometryI> Returns the result of the extraction as a mesh.- Returns:
- result of the extraction as a mesh
-