NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Display_DecalStickerBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Display_DecalStickerBuilder.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_UVTransformationData.hxx>
22
#include <NXOpen/Expression.hxx>
23
#include <NXOpen/Builder.hxx>
24
#include <NXOpen/SelectObjectList.hxx>
25
#include <NXOpen/ugmath.hxx>
26
#include <NXOpen/libnxopencpp_display_exports.hxx>
27
#ifdef _MSC_VER
28
#pragma warning(push)
29
#pragma warning(disable:4996)
30
#endif
31
#ifdef __GNUC__
32
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33
#endif
34
namespace
NXOpen
35
{
36
namespace
Display
37
{
38
class
DecalStickerBuilder
;
39
}
40
class
Builder
;
41
namespace
Display
42
{
43
class
UVTransformationData
;
44
}
45
class
Expression
;
46
class
Point
;
47
class
SelectNXObjectList
;
48
namespace
Display
49
{
50
class
_DecalStickerBuilderBuilder;
51
class
DecalStickerBuilderImpl;
76
class
NXOPENCPP_DISPLAYEXPORT DecalStickerBuilder :
public
NXOpen::Builder
77
{
79
public
:
enum
PixelSizes
80
{
81
PixelSizesTrueSize
,
82
PixelSizesOneTwentyEight
,
83
PixelSizesTwoFiftySix
,
84
PixelSizesFiveTwleve
,
85
PixelSizesOneZeroTwoFour
,
86
PixelSizesTwoZeroFourEight
,
87
PixelSizesFourZeroNineSix
88
};
89
90
public
:
enum
ProjectionTypes
91
{
92
ProjectionTypesPlanar
,
93
ProjectionTypesCylindrical
,
94
ProjectionTypesSpherical
,
95
ProjectionTypesUv
96
};
97
98
public
:
enum
AnchorTypes
99
{
100
AnchorTypesBottomLeft
,
101
AnchorTypesBottomCenter
,
102
AnchorTypesBottomRight
,
103
AnchorTypesMiddleLeft
,
104
AnchorTypesMiddleCenter
,
105
AnchorTypesMiddleRight
,
106
AnchorTypesTopLeft
,
107
AnchorTypesTopCenter
,
108
AnchorTypesTopRight
109
};
110
111
public
:
enum
ScalingMethodTypes
112
{
113
ScalingMethodTypesUserDefined
,
114
ScalingMethodTypesImageSize
115
};
116
117
public
:
enum
TransparencyTypes
118
{
119
TransparencyTypesNone
,
120
TransparencyTypesFromImage
,
121
TransparencyTypesPixelColor
122
};
123
124
public
:
enum
ReflectivityTypes
125
{
126
ReflectivityTypesFromVisualMaterial
,
127
ReflectivityTypesMatte
,
128
ReflectivityTypesPlastic
,
129
ReflectivityTypesMirror
,
130
ReflectivityTypesMetal
,
131
ReflectivityTypesGlass
132
};
133
134
public
:
135
struct
Color
136
{
137
public
:
double
Color1
;
138
public
:
double
Color2
;
139
public
:
double
Color3
;
140
public
: Color() :
141
Color1
(),
142
Color2
(),
143
Color3
()
144
{
145
}
147
public
:
Color
(
double
color1Initial ,
148
double
color2Initial ,
149
double
color3Initial ) :
150
Color1
(color1Initial),
151
Color2
(color2Initial),
152
Color3
(color3Initial)
153
{
154
}
155
};
156
private
:
DecalStickerBuilderImpl
* m_decalstickerbuilder_impl;
157
private
:
friend
class
_DecalStickerBuilderBuilder;
158
protected
:
DecalStickerBuilder
();
159
public
:
~DecalStickerBuilder
();
163
public
:
NXString
DecalName
164
(
165
);
169
public
:
void
SetDecalName
170
(
171
const
NXString
& decalName
172
);
176
void
SetDecalName
177
(
178
const
char
* decalName
179
);
183
public
:
NXOpen::Display::DecalStickerBuilder::PixelSizes
MaximumPixelSize
184
(
185
);
189
public
:
void
SetMaximumPixelSize
190
(
191
NXOpen::Display::DecalStickerBuilder::PixelSizes
maximumPixelSize
192
);
196
public
:
bool
FilterDecalImages
197
(
198
);
202
public
:
void
SetFilterDecalImages
203
(
204
bool
filterDecalImages
205
);
209
public
:
NXString
ImageName
210
(
211
);
215
public
:
void
SetImageName
216
(
217
const
NXString
& decalName
218
);
222
void
SetImageName
223
(
224
const
char
* decalName
225
);
229
public
:
NXOpen::SelectNXObjectList
*
FaceOrBody
230
(
231
);
235
public
:
NXOpen::Display::DecalStickerBuilder::ProjectionTypes
ProjectionType
236
(
237
);
241
public
:
void
SetProjectionType
242
(
243
NXOpen::Display::DecalStickerBuilder::ProjectionTypes
projection
244
);
248
public
:
NXOpen::Display::DecalStickerBuilder::AnchorTypes
AnchorType
249
(
250
);
254
public
:
void
SetAnchorType
255
(
256
NXOpen::Display::DecalStickerBuilder::AnchorTypes
anchor
257
);
261
public
:
void
GetManipulatorData
262
(
263
NXOpen::Point3d
* origin ,
264
NXOpen::Matrix3x3
* csys
265
);
269
public
:
void
SetManipulatorData
270
(
271
const
NXOpen::Point3d
& origin ,
272
const
NXOpen::Matrix3x3
& csys
273
);
277
public
:
NXOpen::Point
*
Origin
278
(
279
);
283
public
:
void
SetOrigin
284
(
285
NXOpen::Point
* origin
286
);
290
public
:
NXOpen::Expression
*
RotationAngle
291
(
292
);
296
public
:
NXOpen::Display::UVTransformationData
*
UVTransformationData
297
(
298
);
302
public
:
NXOpen::Display::DecalStickerBuilder::ScalingMethodTypes
ScalingMethodType
303
(
304
);
308
public
:
void
SetScalingMethodType
309
(
310
NXOpen::Display::DecalStickerBuilder::ScalingMethodTypes
scalingMethod
311
);
315
public
:
bool
LockAspectRatio
316
(
317
);
321
public
:
void
SetLockAspectRatio
322
(
323
bool
lockAspectRatio
324
);
328
public
:
NXOpen::Expression
*
Width
329
(
330
);
334
public
:
NXOpen::Expression
*
Height
335
(
336
);
340
public
:
void
ResetImageSize
341
(
342
);
346
public
:
NXOpen::Display::DecalStickerBuilder::TransparencyTypes
TransparencyType
347
(
348
);
352
public
:
void
SetTransparencyType
353
(
354
NXOpen::Display::DecalStickerBuilder::TransparencyTypes
transparency
355
);
359
public
:
bool
FitPreview
360
(
361
);
365
public
:
void
SetFitPreview
366
(
367
bool
fitPreview
368
);
372
public
:
NXOpen::Display::DecalStickerBuilder::Color
GetTransparencyPixelColor
373
(
374
);
378
public
:
void
SetTransparencyPixelColor
379
(
380
const
NXOpen::Display::DecalStickerBuilder::Color
& transparencyColor
381
);
385
public
:
int
PixelColorTolerance
386
(
387
);
391
public
:
void
SetPixelColorTolerance
392
(
393
int
pixelColorTolerance
394
);
398
public
:
NXOpen::Display::DecalStickerBuilder::ReflectivityTypes
ReflectivityType
399
(
400
);
404
public
:
void
SetReflectivityType
405
(
406
NXOpen::Display::DecalStickerBuilder::ReflectivityTypes
reflectivityType
407
);
411
public
:
bool
Bump
412
(
413
);
417
public
:
void
SetBump
418
(
419
bool
bump
420
);
424
public
:
double
Strength
425
(
426
);
430
public
:
void
SetStrength
431
(
432
double
strength
433
);
437
public
:
void
UpdateDecalStickerOnImageDimensionChange
438
(
439
);
440
};
441
}
442
}
443
#ifdef _MSC_VER
444
#pragma warning(pop)
445
#endif
446
#ifdef __GNUC__
447
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
448
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
449
#endif
450
#endif
451
#undef EXPORTLIBRARY