NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Display_ImageBasedLighting.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Display_ImageBasedLighting.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/Display_Image.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/libnxopencpp_display_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
namespace
Display
34
{
35
class
ImageBasedLighting
;
36
}
37
class
Builder
;
38
class
Direction
;
39
namespace
Display
40
{
41
class
Image
;
42
}
43
class
View
;
44
namespace
Display
45
{
46
class
_ImageBasedLightingBuilder;
47
class
ImageBasedLightingImpl;
55
class
NXOPENCPP_DISPLAYEXPORT ImageBasedLighting :
public
NXOpen::Builder
56
{
58
public
:
enum
ImagesType
59
{
60
ImagesTypeBackground
,
61
ImagesTypeStage
,
62
ImagesTypeUserDefined
,
63
ImagesTypeLightingOnly
64
};
65
66
public
:
enum
ShadowsType
67
{
68
ShadowsTypeNone
,
69
ShadowsTypeSoftEdged
,
70
ShadowsTypeHardEdged
,
71
ShadowsTypeTranslucentHard
72
};
73
74
public
:
enum
ImageBlurType
75
{
76
ImageBlurTypeNone
,
77
ImageBlurTypeLow
,
78
ImageBlurTypeMedium
,
79
ImageBlurTypeHigh
80
};
81
82
public
:
enum
ImageUpVectorTypes
83
{
84
ImageUpVectorTypesAlignWithFloorPlane
,
85
ImageUpVectorTypesUserDefined
86
};
87
private
:
ImageBasedLightingImpl
* m_imagebasedlighting_impl;
88
private
:
friend
class
_ImageBasedLightingBuilder;
89
protected
:
ImageBasedLighting
();
90
public
:
~ImageBasedLighting
();
94
public
:
NXOpen::Display::ImageBasedLighting::ImageUpVectorTypes
ImageUpVectorType
95
(
96
);
100
public
:
void
SetImageUpVectorType
101
(
102
NXOpen::Display::ImageBasedLighting::ImageUpVectorTypes
imageUpVector
103
);
107
public
:
bool
UseImageBasedLighting
108
(
109
);
113
public
:
void
SetUseImageBasedLighting
114
(
115
bool
useIBL
116
);
120
public
:
double
Intensity
121
(
122
);
126
public
:
void
SetIntensity
127
(
128
double
intensity
129
);
133
public
:
double
Accuracy
134
(
135
);
139
public
:
void
SetAccuracy
140
(
141
double
accuracy
142
);
146
public
:
NXOpen::Display::ImageBasedLighting::ImagesType
ImageType
147
(
148
);
152
public
:
void
SetImageType
153
(
154
NXOpen::Display::ImageBasedLighting::ImagesType
imageType
155
);
159
public
:
NXOpen::Display::ImageBasedLighting::ShadowsType
ShadowType
160
(
161
);
165
public
:
void
SetShadowType
166
(
167
NXOpen::Display::ImageBasedLighting::ShadowsType
shadowType
168
);
172
public
:
double
ImageRotation
173
(
174
);
178
public
:
void
SetImageRotation
179
(
180
double
imageRotation
181
);
185
public
:
NXOpen::Direction
*
ImageUpVector
186
(
187
);
191
public
:
void
SetImageUpVector
192
(
193
NXOpen::Direction
* imageUpVector
194
);
198
public
:
NXOpen::Display::Image
*
Image
199
(
200
);
204
public
:
void
SetImage
205
(
206
NXOpen::Display::Image
* imageBuilder
207
);
211
public
:
NXString
ImageFilename
212
(
213
);
217
public
:
void
SetImageFilename
218
(
219
const
NXString
& imageFileName
220
);
224
void
SetImageFilename
225
(
226
const
char
* imageFileName
227
);
231
public
:
void
CommitAndDisplay
232
(
233
NXOpen::View
* view ,
234
bool
updateDisplay
235
);
239
public
:
bool
UseLwrtImageBasedLighting
240
(
241
);
245
public
:
void
SetUseLwrtImageBasedLighting
246
(
247
bool
useLwrtIBL
248
);
252
public
:
double
LwrtQuality
253
(
254
);
258
public
:
void
SetLwrtQuality
259
(
260
double
lwrtQuality
261
);
265
public
:
double
LwrtAngle
266
(
267
);
271
public
:
void
SetLwrtAngle
272
(
273
double
lwrtAngle
274
);
278
public
:
double
LwrtIntensity
279
(
280
);
284
public
:
void
SetLwrtIntensity
285
(
286
double
lwrtIntensity
287
);
291
public
:
NXOpen::Display::ImageBasedLighting::ImageBlurType
ImageBlur
292
(
293
);
297
public
:
void
SetImageBlur
298
(
299
NXOpen::Display::ImageBasedLighting::ImageBlurType
imageBlurr
300
);
304
public
:
bool
UseLightsForShadowCatcherInHqi
305
(
306
);
310
public
:
void
SetUseLightsForShadowCatcherInHqi
311
(
312
bool
useLightsForShadowCatcherInHqi
313
);
317
public
:
bool
UseLightsForShadowCatcherInLwrt
318
(
319
);
323
public
:
void
SetUseLightsForShadowCatcherInLwrt
324
(
325
bool
useLightsForShadowCatcherInLwrt
326
);
330
public
:
double
ShadowSoftness
331
(
332
);
336
public
:
void
SetShadowSoftness
337
(
338
double
shadowSoftness
339
);
343
public
:
double
ColorSaturation
344
(
345
);
349
public
:
void
SetColorSaturation
350
(
351
double
colorSaturation
352
);
353
};
354
}
355
}
356
#ifdef _MSC_VER
357
#pragma warning(pop)
358
#endif
359
#ifdef __GNUC__
360
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
361
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
362
#endif
363
#endif
364
#undef EXPORTLIBRARY