Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
MiClipLineExtractIj.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 _MiClipLineExtractIj_h
24#define _MiClipLineExtractIj_h
25
26#include <MeshVizXLM/extractors/MiBaseExtractor.h>
27#include <MeshVizXLM/mesh/data/MiDataSetIj.h>
28#include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
29#include <MeshVizXLM/extrmesh/MeXLineMeshUnstructured.h>
30
31class MiCellFilterIj;
35class MiTessellator;
36
47class MESHVIZXLM_EXTR_API MiClipLineExtractIj : virtual public MiBaseExtractor
48{
49public:
51
53
56 static MiClipLineExtractIj* getNewInstance(const MiSurfaceMeshRegular& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
57 static MiClipLineExtractIj* getNewInstance(const MiSurfaceMeshCurvilinear& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
58 static MiClipLineExtractIj* getNewInstance(const MiSurfaceMeshRectilinear& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
60
69 virtual const MeXLineMeshUnstructured& extractLine(const MbVec3<double>& normal, double distance, const MiCellFilterIj* cellFilter=NULL) = 0;
70
83 virtual const MeXLineMeshUnstructured& extractLine( const MbVec3d& direction, const std::vector<MbVec3d>& polyline, const MiCellFilterIj* cellFilter = NULL ) = 0;
84
92 virtual const MeXScalardSetI& extractScalarSet(const MiScalardSetIj& inputSet) = 0;
93
101 virtual const MeXVec3dSetI& extractVec3Set(const MiVec3dSetIj& inputSet) = 0;
102
106 virtual const MeXLineMeshUnstructured& getExtract() const = 0;
107
108};
109
110#endif
111
112
<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 MbVec3< double > &normal, double distance, const MiCellFilterIj *cellFilter=NULL)=0
Computes a 3D polyline as the result of the intersection of the surface mesh and the given plane.
virtual const MeXLineMeshUnstructured & getExtract() const =0
Returns the result of the extraction as a mesh.
static MiClipLineExtractIj * getNewInstance(const MiSurfaceMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
static MiClipLineExtractIj * getNewInstance(const MiSurfaceMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
virtual const MeXLineMeshUnstructured & extractLine(const MbVec3d &direction, const std::vector< MbVec3d > &polyline, const MiCellFilterIj *cellFilter=NULL)=0
Computes a 3D polyline as the result of the intersection of several planes and the surface mesh.
static MiClipLineExtractIj * getNewInstance(const MiSurfaceMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
Factory method returning a new instance of a class implementing this interface.
virtual const MeXVec3dSetI & extractVec3Set(const MiVec3dSetIj &inputSet)=0
Extracts a vector set from the surface mesh.
virtual const MeXScalardSetI & extractScalarSet(const MiScalardSetIj &inputSet)=0
Extracts a scalar set from the surface mesh.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic data set interfa...
Definition MiDataSetIj.h:41
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Curvilinear surface mesh...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Rectilinear surface mesh...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Regular surface mesh abs...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract tessellator int...