Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
MiCellExtractUnstructured.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2018 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#ifndef _MICELLEXTRACTUNSTRUCTURED_H
24#define _MICELLEXTRACTUNSTRUCTURED_H
25
26#include <MeshVizXLM/mesh/data/MiDataSetI.h>
27#include <MeshVizXLM/extractors/MiBaseExtractor.h>
28#include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
29
30#include <MeshVizXLM/mesh/MiVolumeMeshUnstructured.h>
31#include <MeshVizXLM/mesh/MiSurfaceMeshUnstructured.h>
32#include <MeshVizXLM/tessellator/MiTessellator.h>
33
34#include <MeshVizXLM/extrmesh/MeXSurfaceMeshUnstructured.h>
35
36#include <Inventor/STL/vector>
37
38class MiCellFilterI;
41
54class MESHVIZXLM_EXTR_API MiCellExtractUnstructured : virtual public MiBaseExtractor
55{
56public:
57
59
61
64 static MiCellExtractUnstructured* getNewInstance(const MiVolumeMeshUnstructured& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
65 static MiCellExtractUnstructured* getNewInstance(const MiSurfaceMeshUnstructured& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
67
69
76 virtual const MeXSurfaceMeshUnstructured&
77 extractCell(const std::vector<size_t>& cellIndex, double factor, const MiCellFilterI* cellFilter=NULL) = 0;
78 virtual const MeXLineMeshUnstructured&
79 extractLineCell(const std::vector<size_t>& cellIndex, double factor, const MiCellFilterI* cellFilter=NULL) = 0;
80 virtual const MeXPointMeshCurvilinear&
81 extractPoints(const std::vector<size_t>& cellIndex, double factor, const MiCellFilterI* cellFilter=NULL) = 0;
83
85
88 virtual const MeXSurfaceMeshUnstructured&
89 extractCell(double factor, const MiCellFilterI* cellFilter=NULL) = 0;
90 virtual const MeXLineMeshUnstructured&
91 extractLineCell(double factor, const MiCellFilterI* cellFilter=NULL) = 0;
92 virtual const MeXPointMeshCurvilinear&
93 extractPoints(double factor, const MiCellFilterI* cellFilter=NULL) = 0;
95
99 virtual const MeXScalardSetI& extractScalarSet(const MiScalardSetI& inputSet) = 0;
100
104 virtual const MeXVec3dSetI& extractVec3Set(const MiVec3dSetI& inputSet) = 0;
105
109 virtual const MeXStringSetI& extractStringSet(const MiStringSetI& inputSet) = 0;
110
112
115 virtual const MeXSurfaceMeshUnstructured& getExtract() const = 0;
116 virtual const MeXLineMeshUnstructured& getLineExtract() const = 0;
117 virtual const MeXPointMeshCurvilinear& getPointExtract() const = 0;
119};
120
121#endif /* _MICELLEXTRACT_H */
122
123
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic data set interfa...
Definition MeXDataSetI.h:45
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Extracted unstructured l...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Extracted curvilinear po...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Extracted unstructured s...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Cell extractor for unstr...
virtual const MeXLineMeshUnstructured & getLineExtract() const =0
virtual const MeXLineMeshUnstructured & extractLineCell(double factor, const MiCellFilterI *cellFilter=NULL)=0
virtual const MeXSurfaceMeshUnstructured & extractCell(const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
Create unstructured surface and line meshes from the faces of the cells corresponding to the given in...
virtual const MeXSurfaceMeshUnstructured & getExtract() const =0
Returns the result of the extraction as a mesh.
virtual const MeXSurfaceMeshUnstructured & extractCell(double factor, const MiCellFilterI *cellFilter=NULL)=0
Creates an unstructured surface mesh from the faces of all the cells in the original volume mesh.
virtual const MeXPointMeshCurvilinear & extractPoints(const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
virtual const MeXLineMeshUnstructured & extractLineCell(const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
virtual const MeXPointMeshCurvilinear & getPointExtract() const =0
static MiCellExtractUnstructured * getNewInstance(const MiSurfaceMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
virtual const MeXScalardSetI & extractScalarSet(const MiScalardSetI &inputSet)=0
Extracts a scalar set from the original mesh.
static MiCellExtractUnstructured * getNewInstance(const MiVolumeMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
Factory method returning a new instance of a class implementing this interface.
virtual const MeXVec3dSetI & extractVec3Set(const MiVec3dSetI &inputSet)=0
Extracts a vector set from the original mesh.
virtual const MeXStringSetI & extractStringSet(const MiStringSetI &inputSet)=0
Extracts a string set from the original mesh.
virtual const MeXPointMeshCurvilinear & extractPoints(double factor, const MiCellFilterI *cellFilter=NULL)=0
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Interface class defining...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic data set interfa...
Definition MiDataSetI.h:40
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Unstructured surface mes...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract tessellator int...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Unstructured volume mesh...