NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_SubdivisionModelingPreferences.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件 - JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_SubdivisionModelingPreferences.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/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_preferences_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
Preferences
33
{
34
class
SubdivisionModelingPreferences
;
35
}
36
namespace
Preferences
37
{
38
class
SessionPreferences
;
39
}
40
namespace
Preferences
41
{
42
class
SubdivisionModelingPreferencesImpl;
46
class
NXOPENCPP_PREFERENCESEXPORT
SubdivisionModelingPreferences
47
{
49
public
:
enum
VertexStyleTypes
50
{
51
VertexStyleTypesSquare
,
52
VertexStyleTypesTriangle
,
53
VertexStyleTypesCircle
,
54
VertexStyleTypesPlus
,
55
VertexStyleTypesCross
56
};
57
58
public
:
enum
VertexSizeTypes
59
{
60
VertexSizeTypesSmall
,
61
VertexSizeTypesMedium
,
62
VertexSizeTypesLarge
63
};
64
65
public
:
enum
DisplayModes
66
{
67
DisplayModesCageAndBody
,
68
DisplayModesCageOnly
,
69
DisplayModesBodyOnly
70
};
71
72
public
:
enum
CagePolylineVertexStyles
73
{
74
CagePolylineVertexStylesNone
,
75
CagePolylineVertexStylesSquare
,
76
CagePolylineVertexStylesTriangle
,
77
CagePolylineVertexStylesCircle
,
78
CagePolylineVertexStylesPlus
,
79
CagePolylineVertexStylesCross
80
};
81
82
public
:
enum
CagePolylineVertexSizes
83
{
84
CagePolylineVertexSizesSmall
,
85
CagePolylineVertexSizesMedium
,
86
CagePolylineVertexSizesLarge
87
};
88
private
:
SubdivisionModelingPreferencesImpl
* m_subdivisionmodelingpreferences_impl;
89
private
:
NXOpen::Preferences::SessionPreferences
* m_owner;
91
public
:
explicit
SubdivisionModelingPreferences
(
NXOpen::Preferences::SessionPreferences
*owner);
93
public
:
95
tag_t
Tag
()
const
;
96
public
:
~SubdivisionModelingPreferences
();
100
public
:
int
LineColor
101
(
102
);
106
public
:
void
SetLineColor
107
(
108
int
lineColor
109
);
113
public
:
int
LineFont
114
(
115
);
119
public
:
void
SetLineFont
120
(
121
int
lineFont
122
);
126
public
:
int
SharpEdgeLineColor
127
(
128
);
132
public
:
void
SetSharpEdgeLineColor
133
(
134
int
lineColor
135
);
139
public
:
int
SharpEdgeLineFont
140
(
141
);
145
public
:
void
SetSharpEdgeLineFont
146
(
147
int
lineFont
148
);
152
public
:
int
LineWidth
153
(
154
);
158
public
:
void
SetLineWidth
159
(
160
int
lineWidth
161
);
165
public
:
int
VertexColor
166
(
167
);
171
public
:
void
SetVertexColor
172
(
173
int
vertexColor
174
);
178
public
:
NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyleTypes
VertexStyle
179
(
180
);
184
public
:
void
SetVertexStyle
185
(
186
NXOpen::Preferences::SubdivisionModelingPreferences::VertexStyleTypes
vertexStyle
187
);
191
public
:
NXOpen::Preferences::SubdivisionModelingPreferences::VertexSizeTypes
VertexSize
192
(
193
);
197
public
:
void
SetVertexSize
198
(
199
NXOpen::Preferences::SubdivisionModelingPreferences::VertexSizeTypes
vertexSize
200
);
204
public
:
int
ConstraintColor
205
(
206
);
210
public
:
void
SetConstraintColor
211
(
212
int
color
213
);
217
public
:
bool
IsXRayCage
218
(
219
);
223
public
:
void
SetXRayCage
224
(
225
bool
isXRayCage
226
);
230
public
:
bool
CanShowWeight
231
(
232
);
236
public
:
void
SetCanShowWeight
237
(
238
bool
showWeight
239
);
243
public
:
int
HighlightFaceTranslucency
244
(
245
);
249
public
:
void
SetHighlightFaceTranslucency
250
(
251
int
highlightLineTranslucency
252
);
256
public
:
bool
CanAllowBackSideSelection
257
(
258
);
262
public
:
void
SetCanAllowBackSideSelection
263
(
264
bool
allow
265
);
269
public
:
NXOpen::Preferences::SubdivisionModelingPreferences::DisplayModes
DisplayMode
270
(
271
);
275
public
:
void
SetDisplayMode
276
(
277
NXOpen::Preferences::SubdivisionModelingPreferences::DisplayModes
displayOption
278
);
282
public
:
int
CagePolylineColor
283
(
284
);
288
public
:
void
SetCagePolylineColor
289
(
290
int
lineColor
291
);
295
public
:
int
CagePolylineFont
296
(
297
);
301
public
:
void
SetCagePolylineFont
302
(
303
int
lineFont
304
);
308
public
:
int
CagePolylineWidth
309
(
310
);
314
public
:
void
SetCagePolylineWidth
315
(
316
int
lineWidth
317
);
321
public
:
int
CagePolylineVertexColor
322
(
323
);
327
public
:
void
SetCagePolylineVertexColor
328
(
329
int
vertexColor
330
);
334
public
:
NXOpen::Preferences::SubdivisionModelingPreferences::CagePolylineVertexStyles
CagePolylineVertexStyle
335
(
336
);
340
public
:
void
SetCagePolylineVertexStyle
341
(
342
NXOpen::Preferences::SubdivisionModelingPreferences::CagePolylineVertexStyles
vertexStyle
343
);
347
public
:
NXOpen::Preferences::SubdivisionModelingPreferences::CagePolylineVertexSizes
CagePolylineVertexSize
348
(
349
);
353
public
:
void
SetCagePolylineVertexSize
354
(
355
NXOpen::Preferences::SubdivisionModelingPreferences::CagePolylineVertexSizes
vertexSize
356
);
360
public
:
bool
MakeExternalFaceTranslucent
361
(
362
);
366
public
:
void
SetMakeExternalFaceTranslucent
367
(
368
bool
makeTranslucent
369
);
370
};
//lint !e1712 default constructor not defined for class
371
}
372
}
373
#ifdef _MSC_VER
374
#pragma warning(pop)
375
#endif
376
#ifdef __GNUC__
377
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
378
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
379
#endif
380
#endif
381
#undef EXPORTLIBRARY