NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Display_Shadows.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Display_Shadows.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/View.hxx>
24
#include <NXOpen/libnxopencpp_display_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
namespace
Display
35
{
36
class
Shadows
;
37
}
38
class
Builder
;
39
class
SelectNXObjectList
;
40
class
View
;
41
namespace
Display
42
{
43
class
_ShadowsBuilder;
44
class
ShadowsImpl;
51
class
NXOPENCPP_DISPLAYEXPORT Shadows :
public
NXOpen::Builder
52
{
54
public
:
enum
RealTimeState
55
{
56
RealTimeStateDisabled
,
57
RealTimeStateEnvironmentShadowCatcherOnly
,
58
RealTimeStateInterObject
59
};
60
61
public
:
enum
SsaoQualityType
62
{
63
SsaoQualityTypeLow
,
64
SsaoQualityTypeMedium
,
65
SsaoQualityTypeHigh
,
66
SsaoQualityTypeVeryHigh
67
};
68
69
public
:
enum
SsaoContrastType
70
{
71
SsaoContrastTypeNone
,
72
SsaoContrastTypeLow
,
73
SsaoContrastTypeMedium
,
74
SsaoContrastTypeHigh
,
75
SsaoContrastTypeExtraHigh
76
};
77
private
:
ShadowsImpl
* m_shadows_impl;
78
private
:
friend
class
_ShadowsBuilder;
79
protected
:
Shadows
();
80
public
:
~Shadows
();
84
public
:
NXOpen::Display::Shadows::RealTimeState
RealTimeType
85
(
86
);
90
public
:
void
SetRealTimeType
91
(
92
NXOpen::Display::Shadows::RealTimeState
realTimeType
93
);
97
public
:
bool
ShadowsEnabled
98
(
99
);
103
public
:
void
SetShadowsEnabled
104
(
105
bool
shadowsEnabled
106
);
110
public
:
bool
SoftShadowsEnabled
111
(
112
);
116
public
:
void
SetSoftShadowsEnabled
117
(
118
bool
softShadowsEnabled
119
);
123
public
:
int
SoftShadowsEdges
124
(
125
);
129
public
:
void
SetSoftShadowsEdges
130
(
131
int
softShadowsEdges
132
);
136
public
:
int
SoftShadowsQuality
137
(
138
);
142
public
:
void
SetSoftShadowsQuality
143
(
144
int
softShadowsQuality
145
);
149
public
:
double
SoftShadowsBiasOffset
150
(
151
);
155
public
:
void
SetSoftShadowsBiasOffset
156
(
157
double
softShadowsBiasOffset
158
);
162
public
:
double
SoftShadowsGradientClamp
163
(
164
);
168
public
:
void
SetSoftShadowsGradientClamp
169
(
170
double
softShadowsGradientClamp
171
);
175
public
:
NXOpen::Display::Shadows::SsaoQualityType
SsaoQuality
176
(
177
);
181
public
:
void
SetSsaoQuality
182
(
183
NXOpen::Display::Shadows::SsaoQualityType
shadowsSSAOQuality
184
);
188
public
:
double
SsaoRadius
189
(
190
);
194
public
:
void
SetSsaoRadius
195
(
196
double
radius
197
);
201
public
:
NXOpen::Display::Shadows::SsaoContrastType
SsaoContrast
202
(
203
);
207
public
:
void
SetSsaoContrast
208
(
209
NXOpen::Display::Shadows::SsaoContrastType
contrast
210
);
214
public
:
double
SsaoBlurRadius
215
(
216
);
220
public
:
void
SetSsaoBlurRadius
221
(
222
double
blurRadius
223
);
227
public
:
bool
AmbientOcclusion
228
(
229
);
233
public
:
void
SetAmbientOcclusion
234
(
235
bool
shadowsSSAODisplayEnabled
236
);
240
public
:
bool
GenerateHqiShadows
241
(
242
);
246
public
:
void
SetGenerateHqiShadows
247
(
248
bool
generateHQIShadows
249
);
253
public
:
NXOpen::SelectNXObjectList
*
ShadowCatcherSelection
254
(
255
);
259
public
:
bool
UseShadowCatcher
260
(
261
);
265
public
:
void
SetUseShadowCatcher
266
(
267
bool
useShadowCatcher
268
);
272
public
:
bool
ShadowsShadedViewsShowGroundShadows
273
(
274
);
278
public
:
void
SetShadowsShadedViewsShowGroundShadows
279
(
280
bool
enableShadows
281
);
285
public
:
NXOpen::View
*
View
286
(
287
);
291
public
:
NXOpen::View::DisplayStyleType
DisplayStyle
292
(
293
);
294
};
295
}
296
}
297
#ifdef _MSC_VER
298
#pragma warning(pop)
299
#endif
300
#ifdef __GNUC__
301
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
302
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
303
#endif
304
#endif
305
#undef EXPORTLIBRARY