NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
WavefrontObjCreator.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口的JA API头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// WavefrontObjCreator.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件由自动生成 - 请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/BaseCreator.hxx>
22
#include <NXOpen/ObjectSelector.hxx>
23
#include <NXOpen/SelectObjectList.hxx>
24
#include <NXOpen/libnxopencpp_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
class
WavefrontObjCreator
;
35
class
BaseCreator
;
36
namespace
Features
37
{
38
class
SelectFeatureList
;
39
}
40
class
ObjectSelector
;
41
class
_WavefrontObjCreatorBuilder;
42
class
WavefrontObjCreatorImpl;
70
class
NXOPENCPPEXPORT WavefrontObjCreator :
public
NXOpen::BaseCreator
71
{
73
public
:
enum
ExportFromOption
74
{
75
ExportFromOptionDisplayPart
,
76
ExportFromOptionExistingPart
77
};
78
79
public
:
enum
ExportAsOption
80
{
81
ExportAsOptionFacetGeometry
,
82
ExportAsOptionSubdivisionGeometry
83
};
84
85
public
:
enum
ExportPositionReferenceOption
86
{
87
ExportPositionReferenceOptionAbsoluteCSYS
,
88
ExportPositionReferenceOptionWorkCSYS
89
};
90
91
public
:
enum
UnitsEnum
92
{
93
UnitsEnumMillimeters
,
94
UnitsEnumInches
,
95
UnitsEnumMeters
,
96
UnitsEnumCentimeters
,
97
UnitsEnumFeet
,
98
UnitsEnumMicrons
99
};
100
private
:
WavefrontObjCreatorImpl
* m_wavefrontobjcreator_impl;
101
private
:
friend
class
_WavefrontObjCreatorBuilder;
102
protected
:
WavefrontObjCreator
();
103
public
:
~WavefrontObjCreator
();
107
public
:
NXOpen::WavefrontObjCreator::ExportAsOption
ExportAs
108
(
109
);
113
public
:
void
SetExportAs
114
(
115
NXOpen::WavefrontObjCreator::ExportAsOption
exportAs
116
);
120
public
:
NXOpen::WavefrontObjCreator::ExportFromOption
ExportFrom
121
(
122
);
126
public
:
void
SetExportFrom
127
(
128
NXOpen::WavefrontObjCreator::ExportFromOption
exportFrom
129
);
133
public
:
void
SaveSettings
134
(
135
const
NXString
& filename
136
);
140
void
SaveSettings
141
(
142
const
char
* filename
143
);
147
public
:
NXString
SettingsFile
148
(
149
);
153
public
:
void
SetSettingsFile
154
(
155
const
NXString
& filename
156
);
160
void
SetSettingsFile
161
(
162
const
char
* filename
163
);
167
public
:
NXString
InputFile
168
(
169
);
173
public
:
void
SetInputFile
174
(
175
const
NXString
& inputFile
176
);
180
void
SetInputFile
181
(
182
const
char
* inputFile
183
);
187
public
:
NXOpen::ObjectSelector
*
ExportSelectionBlock
188
(
189
);
193
public
:
NXOpen::Features::SelectFeatureList
*
FeatureSelector
194
(
195
);
199
public
:
double
ChordalTolerance
200
(
201
);
205
public
:
void
SetChordalTolerance
206
(
207
double
chordalTolerance
208
);
212
public
:
double
AngularTolerance
213
(
214
);
218
public
:
void
SetAngularTolerance
219
(
220
double
angularTolerance
221
);
225
public
:
NXOpen::WavefrontObjCreator::UnitsEnum
ExportUnits
226
(
227
);
231
public
:
void
SetExportUnits
232
(
233
NXOpen::WavefrontObjCreator::UnitsEnum
exportUnits
234
);
238
public
:
bool
FlattenAssemblyStructure
239
(
240
);
244
public
:
void
SetFlattenAssemblyStructure
245
(
246
bool
flattenAssemblyStructure
247
);
251
public
:
bool
FileSaveFlag
252
(
253
);
257
public
:
void
SetFileSaveFlag
258
(
259
bool
fileSaveAs
260
);
264
public
:
NXOpen::WavefrontObjCreator::ExportPositionReferenceOption
ExportPositionReference
265
(
266
);
270
public
:
void
SetExportPositionReference
271
(
272
NXOpen::WavefrontObjCreator::ExportPositionReferenceOption
exportPositionReference
273
);
274
};
275
}
276
#ifdef _MSC_VER
277
#pragma warning(pop)
278
#endif
279
#ifdef __GNUC__
280
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
281
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
282
#endif
283
#endif
284
#undef EXPORTLIBRARY