Class MiCellExtractUnstructured
- java.lang.Object
-
- com.openinventor.meshvizxlm.extractors.cell.MiCellExtractUnstructured
-
- All Implemented Interfaces:
MiBaseExtractor
public abstract class MiCellExtractUnstructured extends java.lang.Object implements MiBaseExtractor
Cell extractor for unstructured meshes.Extracts a list of cells from the input unstructured 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, MiCellFilterI cellFilter)
Creates an unstructured surface mesh from the faces of all the cells in the original volume mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>
extractCell(java.util.SortedSet<java.lang.Long> cellIndexes, double factor, MiCellFilterI cellFilter)
Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original volume mesh.abstract MeXScalardSetI
extractScalarSet(MiScalardSetI inputSet)
Extracts a scalar set from the original mesh.abstract MeXStringSetI
extractStringSet(MiStringSetI inputSet)
Extracts a string set from the original mesh.abstract MeXVec3dSetI
extractVec3Set(MiVec3dSetI inputSet)
Extracts a vector set from the original mesh.abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI>
getExtract()
Returns the result of the extraction as a mesh.static <C extends MiSurfaceCell,T extends MiSurfaceTopologyExplicitI<C>,G extends MiGeometryI>
MiCellExtractUnstructuredgetNewInstance(MiSurfaceMeshUnstructured<C,T,G> mesh)
Create an instance of cell extractor for unstructured surface mesh.static <C extends MiVolumeCell,T extends MiVolumeTopologyExplicitI<C>,G extends MiGeometryI>
MiCellExtractUnstructuredgetNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
Create an instance of cell 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> MiCellExtractUnstructured getNewInstance(MiVolumeMeshUnstructured<C,T,G> mesh)
Create an instance of cell extractor for unstructured volume mesh.- Parameters:
mesh
- the input mesh- Returns:
- a cell extractor for unstructured volume mesh
-
getNewInstance
public static <C extends MiSurfaceCell,T extends MiSurfaceTopologyExplicitI<C>,G extends MiGeometryI> MiCellExtractUnstructured getNewInstance(MiSurfaceMeshUnstructured<C,T,G> mesh)
Create an instance of cell extractor for unstructured surface mesh.- Parameters:
mesh
- the input mesh- Returns:
- a cell extractor for unstructured surface mesh
-
extractCell
public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractCell(java.util.SortedSet<java.lang.Long> cellIndexes, double factor, MiCellFilterI cellFilter)
Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original volume mesh.Cells are scaled according to the given factor:
Shrinking:factor < 1
Expanding:factor > 1
- Parameters:
cellIndexes
- indices of the cells to extractfactor
- 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, MiCellFilterI cellFilter)
Creates an unstructured surface mesh from the faces of all the cells in the original volume 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(MiScalardSetI inputSet)
Extracts a scalar set from the original mesh. The scalars are mapped onto the current extracted mesh.- Parameters:
inputSet
- the input scalar set defined on the original mesh.- Returns:
- the output scalar set defined on the extracted mesh.
-
extractVec3Set
public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetI inputSet)
Extracts a vector set from the original mesh. The vectors are mapped onto the current extracted mesh.- Parameters:
inputSet
- the input vector set defined on the original mesh.- Returns:
- the output vector set defined on the extracted mesh.
-
extractStringSet
public abstract MeXStringSetI extractStringSet(MiStringSetI inputSet)
Extracts a string set from the original mesh. The strings are mapped onto the current extracted mesh.- Parameters:
inputSet
- the input string set defined on the original 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
-
-