NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_ShadingViewPreferences.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_ShadingViewPreferences.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/Preferences_IShadingViewPreferences.hxx>
22
#include <NXOpen/Preferences_ViewStylePreferencesData.hxx>
23
#include <NXOpen/TaggedObject.hxx>
24
#include <NXOpen/libnxopencpp_preferences_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
Preferences
35
{
36
class
ShadingViewPreferences
;
37
}
38
namespace
Preferences
39
{
40
class
ViewPreferences
;
41
}
42
namespace
Preferences
43
{
44
class
IShadingViewPreferences
;
45
}
46
namespace
Preferences
47
{
48
class
ShadingViewPreferencesImpl;
52
class
NXOPENCPP_PREFERENCESEXPORT
ShadingViewPreferences
:
public
virtual
NXOpen::Preferences::IShadingViewPreferences
53
{
54
private
:
ShadingViewPreferencesImpl
* m_shadingviewpreferences_impl;
55
private
:
NXOpen::Preferences::ViewPreferences
* m_owner;
57
public
:
explicit
ShadingViewPreferences
(
NXOpen::Preferences::ViewPreferences
*owner);
59
public
:
61
tag_t
Tag
()
const
;
62
public
:
~ShadingViewPreferences
();
66
public
:
void
SetRenderingStyle
67
(
68
NXOpen::Preferences::ShadingRenderingStyleOption
renderingStyleOption
69
);
73
public
:
NXOpen::Preferences::ShadingRenderingStyleOption
RenderingStyle
74
(
75
);
79
public
:
void
SetShadedCutFaceColor
80
(
81
int
shadedCutFaceColor
82
);
86
public
:
int
ShadedCutFaceColor
87
(
88
);
92
public
:
void
SetOverrideVisibleWireframeColor
93
(
94
int
overrideVisibleWireframeColor
95
);
99
public
:
int
OverrideVisibleWireframeColor
100
(
101
);
105
public
:
void
SetOverrideHiddenWireframeColor
106
(
107
int
overrideHiddenWireframeColor
108
);
112
public
:
int
OverrideHiddenWireframeColor
113
(
114
);
118
public
:
void
SetShadingTolerance
119
(
120
NXOpen::Preferences::ShadingToleranceOption
shadingTolerance
121
);
125
public
:
NXOpen::Preferences::ShadingToleranceOption
ShadingTolerance
126
(
127
);
131
public
:
void
SetCustomEdgeTolerance
132
(
133
double
customEdgeTolerance
134
);
138
public
:
double
CustomEdgeTolerance
139
(
140
);
144
public
:
void
SetCustomFaceTolerance
145
(
146
double
customFaceTolerance
147
);
151
public
:
double
CustomFaceTolerance
152
(
153
);
157
public
:
void
SetCustomAngleTolerance
158
(
159
double
customAngleTolerance
160
);
164
public
:
double
CustomAngleTolerance
165
(
166
);
170
public
:
void
SetShininess
171
(
172
double
shininessTolerance
173
);
177
public
:
double
Shininess
178
(
179
);
183
public
:
void
SetTwoSidedLight
184
(
185
bool
twoSidedLight
186
);
190
public
:
bool
TwoSidedLight
191
(
192
);
193
};
//lint !e1712 default constructor not defined for class
194
}
195
}
196
#ifdef _MSC_VER
197
#pragma warning(pop)
198
#endif
199
#ifdef __GNUC__
200
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
201
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
202
#endif
203
#endif
204
#undef EXPORTLIBRARY