Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MiNonOverlappedCellsExtractUnstructured.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-2017 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Martial Bonaventure (September 2010)
22**=======================================================================*/
23#ifndef _MiNonOverlappedCellsExtractUnstructured_h
24#define _MiNonOverlappedCellsExtractUnstructured_h
25
26#include <MeshVizXLM/extractors/MiBaseExtractor.h>
27#include <MeshVizXLM/mesh/data/MiDataSetI.h>
28#include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
29
30#include <Inventor/STL/vector>
31
32class MiCellFilterI;
35
72class MESHVIZXLM_EXTR_API MiNonOverlappedCellsExtractUnstructured : virtual public MiBaseExtractor
73{
74public:
76
83
89 static MiNonOverlappedCellsExtractUnstructured* getNewInstance(const std::vector<const MiSurfaceMeshUnstructured*>& meshList, bool parallel = true);
90
91
97 virtual const MeXSurfaceMeshUnstructured& extractSurface(const MiCellFilterI* cellFilter=NULL) = 0;
98
105 virtual const MeXSurfaceMeshUnstructured& extractSurface(const std::vector<const MiCellFilterI*>* cellFilters) = 0;
106
112 virtual const MeXScalardSetI& extractScalarSet(const MiScalardSetI& inputSet) =0;
113
114 /*
115 * Extracts a scalar set from the list of meshes. The scalars are mapped onto the
116 * current extracted mesh.
117 *
118 * @param scalarSets list that must contain same number of scalar sets as the number of input meshes
119 * in getNewInstance(const std::vector<const MiSurfaceMeshUnstructured*>&, bool)
120 */
121 virtual const MeXScalardSetI& extractScalarSet(const std::vector<const MiScalardSetI*>& scalarSets) =0;
122
128 virtual const MeXVec3dSetI& extractVec3Set(const MiVec3dSetI& inputSet) = 0;
129
137 virtual const MeXVec3dSetI& extractVec3Set(const std::vector<const MiVec3dSetI*>& vec3Sets) = 0;
138
139
143 virtual const MeXSurfaceMeshUnstructured& getExtract() const = 0;
144
145};
146
147#endif
148
<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 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> 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> Remove overlapped cells ...
virtual const MeXSurfaceMeshUnstructured & extractSurface(const MiCellFilterI *cellFilter=NULL)=0
Builds the topology and geometry of the surface mesh after removing all overlapped cells.
static MiNonOverlappedCellsExtractUnstructured * getNewInstance(const std::vector< const MiSurfaceMeshUnstructured * > &meshList, bool parallel=true)
Factory method returning a new instance that works on a list of surface meshes.
virtual const MeXVec3dSetI & extractVec3Set(const std::vector< const MiVec3dSetI * > &vec3Sets)=0
Extracts a vector set from the list of meshes.
virtual const MeXSurfaceMeshUnstructured & extractSurface(const std::vector< const MiCellFilterI * > *cellFilters)=0
Builds the topology and geometry of the surface mesh after removing all overlapped cells.
virtual const MeXScalardSetI & extractScalarSet(const std::vector< const MiScalardSetI * > &scalarSets)=0
virtual const MeXScalardSetI & extractScalarSet(const MiScalardSetI &inputSet)=0
Extracts a scalar set from the original mesh.
virtual const MeXSurfaceMeshUnstructured & getExtract() const =0
Returns the result of the extraction as a mesh.
virtual const MeXVec3dSetI & extractVec3Set(const MiVec3dSetI &inputSet)=0
Extracts a vector set from the original mesh.
static MiNonOverlappedCellsExtractUnstructured * getNewInstance(const MiSurfaceMeshUnstructured &mesh, bool parallel=true)
Factory method returning a new instance that works on a single input surface mesh.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Unstructured surface mes...