Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MiClipLineExtractUnstructured.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-2023 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Martial Bonaventure (October 2009)
22**=======================================================================*/
23#ifndef _MiClipLineExtractUnstructured_h
24#define _MiClipLineExtractUnstructured_h
25
26#include <MeshVizXLM/extractors/MiBaseExtractor.h>
27#include <MeshVizXLM/mesh/MiSurfaceMeshUnstructured.h>
28#include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
29#include <MeshVizXLM/extrmesh/MeXLineMeshUnstructured.h>
30
31class MiCellFilterI;
32class MiTessellator;
33
44class MESHVIZXLM_EXTR_API MiClipLineExtractUnstructured : virtual public MiBaseExtractor
45{
46public:
48
52 static MiClipLineExtractUnstructured* getNewInstance(const MiSurfaceMeshUnstructured& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
53
57 virtual const MeXLineMeshUnstructured& extractLine(const MbVec3<double>& normal, double distance, const MiCellFilterI* cellFilter=NULL) = 0;
58
62 virtual const MeXLineMeshUnstructured& extractLine( const MbVec3d& direction, const std::vector<MbVec3d>& polyline, const MiCellFilterI* cellFilter = NULL ) = 0;
63
67 virtual const MeXScalardSetI& extractScalarSet(const MiScalardSetI& inputSet) = 0;
68
72 virtual const MeXVec3dSetI& extractVec3Set(const MiVec3dSetI& inputSet) = 0;
73
77 virtual const MeXLineMeshUnstructured& getExtract() const = 0;
78
79};
80
81#endif
82
83
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class defining a vector ...
Definition MbVec3.h:52
<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> 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> Clip line extractor for ...
virtual const MeXLineMeshUnstructured & extractLine(const MbVec3d &direction, const std::vector< MbVec3d > &polyline, const MiCellFilterI *cellFilter=NULL)=0
Computes a 3D polyline as the result of the intersection of several planes and the surface mesh.
static MiClipLineExtractUnstructured * getNewInstance(const MiSurfaceMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
Factory method returning a new instance of a class implementing this interface.
virtual const MeXScalardSetI & extractScalarSet(const MiScalardSetI &inputSet)=0
Extracts a scalar set from the surface mesh.
virtual const MeXVec3dSetI & extractVec3Set(const MiVec3dSetI &inputSet)=0
Extracts a vector set from the surface mesh.
virtual const MeXLineMeshUnstructured & getExtract() const =0
Returns the result of the extraction as a mesh.
virtual const MeXLineMeshUnstructured & extractLine(const MbVec3< double > &normal, double distance, const MiCellFilterI *cellFilter=NULL)=0
Computes a 3D polyline as the result of the intersection of the surface mesh and the given plane.
<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...