NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
RhinoImporter.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// RhinoImporter.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/BaseImporter.hxx>
22
#include <NXOpen/libnxopencpp_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
class
RhinoImporter
;
33
class
BaseImporter
;
34
class
_RhinoImporterBuilder;
35
class
RhinoImporterImpl;
60
class
NXOPENCPPEXPORT RhinoImporter :
public
NXOpen::BaseImporter
61
{
63
public
:
enum
ImportToOption
64
{
65
ImportToOptionWorkPart
,
66
ImportToOptionNewPart
67
};
68
69
public
:
enum
MessageEnum
70
{
71
MessageEnumNone
,
72
MessageEnumInformational
,
73
MessageEnumWarning
,
74
MessageEnumError
,
75
MessageEnumDebug
,
76
MessageEnumAll
77
};
78
private
:
RhinoImporterImpl
* m_rhinoimporter_impl;
79
private
:
friend
class
_RhinoImporterBuilder;
80
protected
:
RhinoImporter
();
81
public
:
~RhinoImporter
();
85
public
:
NXOpen::RhinoImporter::ImportToOption
ImportTo
86
(
87
);
91
public
:
void
SetImportTo
92
(
93
NXOpen::RhinoImporter::ImportToOption
importTo
94
);
98
public
:
bool
SimplifyGeometry
99
(
100
);
104
public
:
void
SetSimplifyGeometry
105
(
106
bool
simplifyGeometry
107
);
111
public
:
bool
Optimize
112
(
113
);
117
public
:
void
SetOptimize
118
(
119
bool
optimize
120
);
124
public
:
NXOpen::RhinoImporter::MessageEnum
Messages
125
(
126
);
130
public
:
void
SetMessages
131
(
132
NXOpen::RhinoImporter::MessageEnum
messages
133
);
137
public
:
bool
FileOpenFlag
138
(
139
);
143
public
:
void
SetFileOpenFlag
144
(
145
bool
doingFileOpen
146
);
150
public
:
bool
ShowInformationWindowFlag
151
(
152
);
156
public
:
void
SetShowInformationWindowFlag
157
(
158
bool
doingInformationWindow
159
);
163
public
:
NXString
SettingsFile
164
(
165
);
169
public
:
void
SetSettingsFile
170
(
171
const
NXString
& filename
172
);
176
void
SetSettingsFile
177
(
178
const
char
* filename
179
);
183
public
:
void
SaveSettings
184
(
185
const
NXString
& filename
186
);
190
void
SaveSettings
191
(
192
const
char
* filename
193
);
197
public
:
bool
ImportToTeamcenter
198
(
199
);
203
public
:
void
SetImportToTeamcenter
204
(
205
bool
importToTeamcenter
206
);
207
};
208
}
209
#ifdef _MSC_VER
210
#pragma warning(pop)
211
#endif
212
#ifdef __GNUC__
213
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
214
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
215
#endif
216
#endif
217
#undef EXPORTLIBRARY