NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
ExtendedRealityFileCreator.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// ExtendedRealityFileCreator.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/Builder.hxx>
22
#include <NXOpen/SelectObjectList.hxx>
23
#include <NXOpen/libnxopencpp_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
class
ExtendedRealityFileCreator
;
34
class
Builder
;
35
class
CoordinateSystem
;
36
class
SelectDisplayableObjectList
;
37
class
TaggedObject
;
38
class
_ExtendedRealityFileCreatorBuilder;
39
class
ExtendedRealityFileCreatorImpl;
78
class
NXOPENCPPEXPORT ExtendedRealityFileCreator :
public
NXOpen::Builder
79
{
81
public
:
enum
ObjectToExport
82
{
83
ObjectToExportEntirePart
,
84
ObjectToExportSelectedObjects
85
};
86
87
public
:
enum
ExportedPositionCSYS
88
{
89
ExportedPositionCSYSAbsolute
,
90
ExportedPositionCSYSWcs
,
91
ExportedPositionCSYSUserDefined
92
};
93
94
public
:
enum
OutputFormat
95
{
96
OutputFormatGltf
,
97
OutputFormatGlb
,
98
OutputFormatUsdz
99
};
100
private
:
ExtendedRealityFileCreatorImpl
* m_extendedrealityfilecreator_impl;
101
private
:
friend
class
_ExtendedRealityFileCreatorBuilder;
102
protected
:
ExtendedRealityFileCreator
();
103
public
:
~ExtendedRealityFileCreator
();
107
public
:
NXOpen::ExtendedRealityFileCreator::ObjectToExport
ExportEntity
108
(
109
);
113
public
:
void
SetExportEntity
114
(
115
NXOpen::ExtendedRealityFileCreator::ObjectToExport
exportEntity
116
);
120
public
:
NXOpen::SelectDisplayableObjectList
*
BodiesToExport
121
(
122
);
126
public
:
NXOpen::ExtendedRealityFileCreator::ExportedPositionCSYS
ExportPositionType
127
(
128
);
132
public
:
void
SetExportPositionType
133
(
134
NXOpen::ExtendedRealityFileCreator::ExportedPositionCSYS
format
135
);
139
public
:
NXOpen::CoordinateSystem
*
CsysOfexportPosition
140
(
141
);
145
public
:
void
SetCsysOfexportPosition
146
(
147
NXOpen::CoordinateSystem
* csys
148
);
152
public
:
NXOpen::ExtendedRealityFileCreator::OutputFormat
Format
153
(
154
);
158
public
:
void
SetFormat
159
(
160
NXOpen::ExtendedRealityFileCreator::OutputFormat
format
161
);
165
public
:
NXString
FileLocation
166
(
167
);
171
public
:
void
SetFileLocation
172
(
173
const
NXString
& filename
174
);
178
void
SetFileLocation
179
(
180
const
char
* filename
181
);
185
public
:
bool
ExportCameras
186
(
187
);
191
public
:
void
SetExportCameras
192
(
193
bool
exportCameras
194
);
198
public
:
bool
ExportAssemblyExplosions
199
(
200
);
204
public
:
void
SetExportAssemblyExplosions
205
(
206
bool
exportAssemblyExplosions
207
);
211
public
:
bool
ExportAssemblyArrangements
212
(
213
);
217
public
:
void
SetExportAssemblyArrangements
218
(
219
bool
exportAssemblyArrangements
220
);
224
public
:
bool
ExportMotionAnimation
225
(
226
);
230
public
:
void
SetExportMotionAnimation
231
(
232
bool
exportMotionAnimation
233
);
237
public
:
bool
ExportAppearanceSchemes
238
(
239
);
243
public
:
void
SetExportAppearanceSchemes
244
(
245
bool
exportAppearanceSchemes
246
);
250
public
:
bool
DataCompression
251
(
252
);
256
public
:
void
SetDataCompression
257
(
258
bool
dataCompression
259
);
263
public
:
void
SetSelectedAnimations
264
(
265
const
std::vector<NXOpen::TaggedObject *> & selectedAnimations
266
);
267
};
268
}
269
#ifdef _MSC_VER
270
#pragma warning(pop)
271
#endif
272
#ifdef __GNUC__
273
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
274
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
275
#endif
276
#endif
277
#undef EXPORTLIBRARY