Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoCADInputReaderParameters.h
Go to the documentation of this file.
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 : David Beilloin (Jul 2014)
22**=======================================================================*/
23
24#ifndef _SO_CAD_INPUT_READER_PARAMETERS_H_
25#define _SO_CAD_INPUT_READER_PARAMETERS_H_
26
29
30#if defined(_WIN32)
31#pragma warning( push )
32#pragma warning( disable: 4251 ) // 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'
33#endif
34
35
50{
51public:
54
57
110
114 {
119
124
129 };
130
137 {
139
152
158
166
180
189 };
190
191
198
204
210
215 void setImportOption(const ImportOption& option);
216
222
223
224private:
225
226 TessellationOption m_tessellationOption;
227 ImportOption m_importOption;
228};
229
230#if defined(_WIN32)
231#pragma warning( pop )
232#endif
233
234#endif /* _SO_CAD_INPUT_READER_PARAMETERS_H_ */
235
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> CAD Input reader...
void setTessellationOption(Quality quality=MEDIUM)
Specify predefined tessellation options.
void setTessellationOption(const TessellationOption &option)
Specify tessellation options.
void setImportOption(const ImportOption &option)
Specify import options.
virtual ~SoCADInputReaderParameters()
Destructor.
const TessellationOption & getTessellationOption() const
Return current tessellation options.
const ImportOption & getImportOption() const
Return current import options.
SoCADInputReaderParameters()
Constructor.
@ LOW
Low quality / less time and memory consumption.
@ HIGH
High Quality / more time and memory consumption.
@ MEDIUM
Medium quality / reasonnable quality, time and memory consumption in most case.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base class for f...
Specify how the scene graph resulting from the import should be generated.
bool forceTesselation
Some CAD formats store faceted data in addition to the B-Rep.
bool mergeFaces
Merge imported geometry in a single Open Inventor Geometry object.
bool importOpenShells
Import OpenShell for the model.
bool importPMI
Import PMI (Product and Manufacturing Information) from the model.
Parameters used to tessellate the model during import.
double angularTolerance
Set the maximum deviation angle allowed between tessellated mesh triangle and the original surface.
double maxTriangleEdgesRatio
Set the maximum edges length ratio of generated triangles.
double linearTolerance
Set the maximum distance allowed between tessellated mesh triangle and the original surface.