NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Display_LightBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Display_LightBuilder.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_LightTypes.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
LightBuilder
;
36
}
37
class
Builder
;
38
class
Point
;
39
namespace
Display
40
{
41
class
_LightBuilderBuilder;
42
class
LightBuilderImpl;
49
class
NXOPENCPP_DISPLAYEXPORT LightBuilder :
public
NXOpen::Builder
50
{
52
public
:
enum
ShadowType
53
{
54
ShadowTypeNone
,
55
ShadowTypeSoftEdged
,
56
ShadowTypeHardEdged
,
57
ShadowTypeTranslucentHard
58
};
59
60
public
:
enum
LightMode
61
{
62
LightModeFixedToObserver
,
63
LightModeFixedToThePart
64
};
65
private
:
LightBuilderImpl
* m_lightbuilder_impl;
66
private
:
friend
class
_LightBuilderBuilder;
67
protected
:
LightBuilder
();
68
public
:
~LightBuilder
();
72
public
:
NXOpen::Display::LightType
LightType
73
(
74
);
78
public
:
void
SetLightType
79
(
80
NXOpen::Display::LightType
lightType
81
);
85
public
:
double
Intensity
86
(
87
);
91
public
:
void
SetIntensity
92
(
93
double
intensity
94
);
98
public
:
bool
UseWithAdvancedStudioImageBasedLighting
99
(
100
);
105
public
:
NX_DEPRECATED
(
"Deprecated in NX10.0.0. This funcationality is no longer supported."
) bool UseWithIbl
106
(
107
);
111
public:
void
SetUseWithAdvancedStudioImageBasedLighting
112
(
113
bool
useWithAdvancedStudioIBl
114
);
119
public:
NX_DEPRECATED
(
"Deprecated in NX10.0.0. This funcationality is no longer supported."
)
void
SetUseWithIbl
120
(
121
bool
useWithIBL
122
);
126
public:
bool
UseWithRayTracedImageBasedLighting
127
(
128
);
132
public:
void
SetUseWithRayTracedImageBasedLighting
133
(
134
bool
useWithRayTracedIBL
135
);
139
public:
NXOpen
::
Point
*
SourcePosition
140
(
141
);
145
public:
void
SetSourcePosition
146
(
147
NXOpen
::
Point
* sourcePosition
148
);
152
public:
NXOpen
::
Point
*
DestinationPosition
153
(
154
);
158
public:
void
SetDestinationPosition
159
(
160
NXOpen
::
Point
* destinationPosition
161
);
165
public:
double
ConeAngle
166
(
167
);
171
public:
void
SetConeAngle
172
(
173
double
coneAngle
174
);
178
public:
NXOpen
::
Display
::LightBuilder::
ShadowType
LightShadowType
179
(
180
);
184
public:
void
SetLightShadowType
185
(
186
NXOpen
::
Display
::LightBuilder::
ShadowType
lightShadowType
187
);
188
};
189
}
190
}
191
#ifdef _MSC_VER
192
#pragma warning(pop)
193
#endif
194
#ifdef __GNUC__
195
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
196
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
197
#endif
198
#endif
199
#undef EXPORTLIBRARY