NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
31namespace NXOpen
32{
33 namespace Display
34 {
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 {
65
73
81
87 private: ImageBasedLightingImpl * m_imagebasedlighting_impl;
88 private: friend class _ImageBasedLightingBuilder;
89 protected: ImageBasedLighting();
90public: ~ImageBasedLighting();
95 (
96 );
101 (
103 );
108 (
109 );
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 );
147 (
148 );
152 public: void SetImageType
153 (
155 );
160 (
161 );
165 public: void SetShadowType
166 (
168 );
172 public: double ImageRotation
173 (
174 );
178 public: void SetImageRotation
179 (
180 double imageRotation
181 );
186 (
187 );
191 public: void SetImageUpVector
192 (
193 NXOpen::Direction * imageUpVector
194 );
199 (
200 );
204 public: void SetImage
205 (
206 NXOpen::Display::Image * imageBuilder
207 );
212 (
213 );
217 public: void SetImageFilename
218 (
219 const NXString & imageFileName
220 );
225 (
226 const char * imageFileName
227 );
231 public: void CommitAndDisplay
232 (
233 NXOpen::View * view ,
234 bool updateDisplay
235 );
240 (
241 );
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 );
292 (
293 );
297 public: void SetImageBlur
298 (
300 );
305 (
306 );
311 (
312 bool useLightsForShadowCatcherInHqi
313 );
318 (
319 );
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 );
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