NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
32namespace NXOpen
33{
34 namespace Display
35 {
36 class Shadows;
37 }
38 class Builder;
40 class View;
41 namespace Display
42 {
43 class _ShadowsBuilder;
44 class ShadowsImpl;
51 class NXOPENCPP_DISPLAYEXPORT Shadows : public NXOpen::Builder
52 {
60
68
77 private: ShadowsImpl * m_shadows_impl;
78 private: friend class _ShadowsBuilder;
79 protected: Shadows();
80 public: ~Shadows();
85 (
86 );
90 public: void SetRealTimeType
91 (
93 );
97 public: bool ShadowsEnabled
98 (
99 );
103 public: void SetShadowsEnabled
104 (
105 bool shadowsEnabled
106 );
111 (
112 );
117 (
118 bool softShadowsEnabled
119 );
124 (
125 );
130 (
131 int softShadowsEdges
132 );
137 (
138 );
143 (
144 int softShadowsQuality
145 );
150 (
151 );
156 (
157 double softShadowsBiasOffset
158 );
163 (
164 );
169 (
170 double softShadowsGradientClamp
171 );
176 (
177 );
181 public: void SetSsaoQuality
182 (
184 );
188 public: double SsaoRadius
189 (
190 );
194 public: void SetSsaoRadius
195 (
196 double radius
197 );
202 (
203 );
207 public: void SetSsaoContrast
208 (
210 );
214 public: double SsaoBlurRadius
215 (
216 );
220 public: void SetSsaoBlurRadius
221 (
222 double blurRadius
223 );
227 public: bool AmbientOcclusion
228 (
229 );
234 (
235 bool shadowsSSAODisplayEnabled
236 );
241 (
242 );
247 (
248 bool generateHQIShadows
249 );
254 (
255 );
259 public: bool UseShadowCatcher
260 (
261 );
266 (
267 bool useShadowCatcher
268 );
273 (
274 );
279 (
280 bool enableShadows
281 );
286 (
287 );
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