NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Display_TrueShadingBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Display_TrueShadingBuilder.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/Builder.hxx>
22
#include <NXOpen/SelectObjectList.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
TrueShadingBuilder
;
36
}
37
class
Builder
;
38
class
Plane
;
39
class
SelectNXObjectList
;
40
namespace
Display
41
{
42
class
_TrueShadingBuilderBuilder;
43
class
TrueShadingBuilderImpl;
47
class
NXOPENCPP_DISPLAYEXPORT TrueShadingBuilder :
public
NXOpen::Builder
48
{
50
public
:
enum
MaterialType
51
{
52
MaterialTypeGlobalWashShinyMetal
,
53
MaterialTypeGlobalWashBrushedMetal
,
54
MaterialTypeGlobalWashShinyPlastic
,
55
MaterialTypeGlobalWashAnalysis
,
56
MaterialTypeGlobalWashFlat
,
57
MaterialTypeGlobalRedGlossyPlastic
,
58
MaterialTypeGlobalBlueGlossyPlastic
,
59
MaterialTypeGlobalGreenGlossyPlastic
,
60
MaterialTypeGlobalGrayGlossyPlastic
,
61
MaterialTypeGlobalBlackGlossyPlastic
,
62
MaterialTypeGlobalBrownGlossyPlastic
,
63
MaterialTypeGlobalYellowGlossyPlastic
,
64
MaterialTypeGlobalTealGlossyPlastic
,
65
MaterialTypeGlobalWhiteGlossyPlastic
,
66
MaterialTypeGlobalClearPlastic
,
67
MaterialTypeGlobalChrome
,
68
MaterialTypeGlobalCopper
,
69
MaterialTypeGlobalGold
,
70
MaterialTypeGlobalBrass
,
71
MaterialTypeGlobalSteel
,
72
MaterialTypeGlobalBrushedChrome
,
73
MaterialTypeGlobalBrushedAluminum
,
74
MaterialTypeGlobalBrushedTitanium
,
75
MaterialTypeGlobalGlassClear
,
76
MaterialTypeGlobalGlassSmokey
,
77
MaterialTypeGlobalMetallicPaintRed
,
78
MaterialTypeGlobalMetallicPaintGray
,
79
MaterialTypeGlobalMetallicPaintBlack
,
80
MaterialTypeGlobalMetallicPaintBlue
,
81
MaterialTypeGlobalRubber
,
82
MaterialTypeOverrideRedGlossyPlastic
,
83
MaterialTypeOverrideBlueGlossyPlastic
,
84
MaterialTypeOverrideGreenGlossyPlastic
,
85
MaterialTypeOverrideGrayGlossyPlastic
,
86
MaterialTypeOverrideBlackGlossyPlastic
,
87
MaterialTypeOverrideBrownGlossyPlastic
,
88
MaterialTypeOverrideYellowGlossyPlastic
,
89
MaterialTypeOverrideTealGlossyPlastic
,
90
MaterialTypeOverrideWhiteGlossyPlastic
,
91
MaterialTypeOverrideClearPlastic
,
92
MaterialTypeOverrideChrome
,
93
MaterialTypeOverrideCopper
,
94
MaterialTypeOverrideGold
,
95
MaterialTypeOverrideBrass
,
96
MaterialTypeOverrideSteel
,
97
MaterialTypeOverrideBrushedChrome
,
98
MaterialTypeOverrideBrushedAluminum
,
99
MaterialTypeOverrideBrushedTitanium
,
100
MaterialTypeOverrideGlassClear
,
101
MaterialTypeOverrideGlassSmokey
,
102
MaterialTypeOverrideMetallicPaintRed
,
103
MaterialTypeOverrideMetallicPaintGray
,
104
MaterialTypeOverrideMetallicPaintBlack
,
105
MaterialTypeOverrideMetallicPaintBlue
,
106
MaterialTypeOverrideRubber
,
107
MaterialTypeOverrideRoughMetalMedGray
,
108
MaterialTypeOverrideRoughMetalDkGray
,
109
MaterialTypeOverrideRoughPlasticBlueGray
,
110
MaterialTypeOverrideRoughPlasticTan
111
};
112
113
public
:
enum
EnvironmentMapType
114
{
115
EnvironmentMapTypeDefault
,
116
EnvironmentMapTypeMetalShiny1
,
117
EnvironmentMapTypeMetalShiny2
,
118
EnvironmentMapTypeMetalBrushed1
,
119
EnvironmentMapTypeMetalBrushed2
,
120
EnvironmentMapTypeGlossy1
,
121
EnvironmentMapTypeGlossy2
,
122
EnvironmentMapTypeSurfaceAnalysisLines
,
123
EnvironmentMapTypeSurfaceAnalysisHorizon
,
124
EnvironmentMapTypeAutoPhotoStudio
,
125
EnvironmentMapTypeCustomImage
126
};
127
128
public
:
enum
BgdType
129
{
130
BgdTypeDarkGraduated
,
131
BgdTypeLightGraduated
,
132
BgdTypeBlack
,
133
BgdTypeWhite
,
134
BgdTypeCustomPlain
,
135
BgdTypeCustomGraduated
,
136
BgdTypeInheritShadedBackground
,
137
BgdTypeImageBackground
,
138
BgdTypePureWhite
139
};
140
141
public
:
enum
BgdImageType
142
{
143
BgdImageTypeImage1
,
144
BgdImageTypeImage2
,
145
BgdImageTypeImage3
,
146
BgdImageTypeImage4
,
147
BgdImageTypeImage5
,
148
BgdImageTypeImage6
,
149
BgdImageTypeCustomImage
150
};
151
152
public
:
enum
SurfaceOrientType
153
{
154
SurfaceOrientTypeNone
,
155
SurfaceOrientTypeBottom
,
156
SurfaceOrientTypeBack
,
157
SurfaceOrientTypeBottomFixed
158
};
159
160
public
:
enum
SHEDLightCollectionType
161
{
162
SHEDLightCollectionTypeDefaultLights
,
163
SHEDLightCollectionTypeLighting1
,
164
SHEDLightCollectionTypeLighting2
,
165
SHEDLightCollectionTypeLighting3
,
166
SHEDLightCollectionTypeLighting4
,
167
SHEDLightCollectionTypeCustom
168
};
169
private
:
TrueShadingBuilderImpl
* m_trueshadingbuilder_impl;
170
private
:
friend
class
_TrueShadingBuilderBuilder;
171
protected
:
TrueShadingBuilder
();
172
public
:
~TrueShadingBuilder
();
176
public
:
bool
ShedModeToggle
177
(
178
);
182
public
:
void
SetShedModeToggle
183
(
184
bool
shedModeToggle
185
);
189
public
:
NXOpen::Display::TrueShadingBuilder::MaterialType
GlobalMaterialType
190
(
191
);
195
public
:
void
SetGlobalMaterialType
196
(
197
NXOpen::Display::TrueShadingBuilder::MaterialType
globalMaterialType
198
);
202
public
:
void
AssignOverrideMaterial
203
(
204
NXOpen::Display::TrueShadingBuilder::MaterialType
overrideMaterialType
205
);
209
public
:
void
GButton0
210
(
211
);
215
public
:
void
GButton1
216
(
217
);
221
public
:
void
GButton2
222
(
223
);
227
public
:
void
GButton3
228
(
229
);
233
public
:
void
GButton4
234
(
235
);
239
public
:
void
GButton5
240
(
241
);
245
public
:
void
GButton6
246
(
247
);
251
public
:
void
GButton7
252
(
253
);
257
public
:
void
GButton8
258
(
259
);
263
public
:
void
GButton9
264
(
265
);
269
public
:
void
GButton10
270
(
271
);
275
public
:
void
GButton11
276
(
277
);
281
public
:
void
GButton12
282
(
283
);
287
public
:
void
GButton13
288
(
289
);
293
public
:
void
GButton14
294
(
295
);
299
public
:
void
GButton15
300
(
301
);
305
public
:
void
GButton16
306
(
307
);
311
public
:
void
GButton17
312
(
313
);
317
public
:
void
GButton18
318
(
319
);
323
public
:
void
GButton19
324
(
325
);
329
public
:
void
GButton20
330
(
331
);
335
public
:
void
GButton21
336
(
337
);
341
public
:
void
GButton22
342
(
343
);
347
public
:
void
GButton23
348
(
349
);
353
public
:
void
GButton24
354
(
355
);
359
public
:
void
GButton25
360
(
361
);
365
public
:
void
GButton26
366
(
367
);
371
public
:
void
GButton27
372
(
373
);
377
public
:
void
GButton28
378
(
379
);
383
public
:
void
GButton29
384
(
385
);
389
public
:
void
OButton0
390
(
391
);
395
public
:
void
OButton1
396
(
397
);
401
public
:
void
OButton2
402
(
403
);
407
public
:
void
OButton3
408
(
409
);
413
public
:
void
OButton4
414
(
415
);
419
public
:
void
OButton5
420
(
421
);
425
public
:
void
OButton6
426
(
427
);
431
public
:
void
OButton7
432
(
433
);
437
public
:
void
OButton8
438
(
439
);
443
public
:
void
OButton9
444
(
445
);
449
public
:
void
OButton10
450
(
451
);
455
public
:
void
OButton11
456
(
457
);
461
public
:
void
OButton12
462
(
463
);
467
public
:
void
OButton13
468
(
469
);
473
public
:
void
OButton14
474
(
475
);
479
public
:
void
OButton15
480
(
481
);
485
public
:
void
OButton16
486
(
487
);
491
public
:
void
OButton17
492
(
493
);
497
public
:
void
OButton18
498
(
499
);
503
public
:
void
OButton19
504
(
505
);
509
public
:
void
OButton20
510
(
511
);
515
public
:
void
OButton21
516
(
517
);
521
public
:
void
OButton22
522
(
523
);
527
public
:
void
OButton23
528
(
529
);
533
public
:
void
OButton24
534
(
535
);
539
public
:
void
OButton25
540
(
541
);
545
public
:
void
OButton26
546
(
547
);
551
public
:
void
OButton27
552
(
553
);
557
public
:
void
OButton28
558
(
559
);
563
public
:
void
ORemoveButton
564
(
565
);
569
public
:
NXOpen::SelectNXObjectList
*
ObjSpecificSelection
570
(
571
);
575
public
:
NXOpen::Display::TrueShadingBuilder::EnvironmentMapType
EnvironmentMapEnum
576
(
577
);
581
public
:
void
SetEnvironmentMapEnum
582
(
583
NXOpen::Display::TrueShadingBuilder::EnvironmentMapType
environmentMapEnum
584
);
588
public
:
NXString
EnvironmentMapFileBrowser
589
(
590
);
594
public
:
void
SetEnvironmentMapFileBrowser
595
(
596
const
NXString
& filename
597
);
601
void
SetEnvironmentMapFileBrowser
602
(
603
const
char
* filename
604
);
608
public
:
NXOpen::Display::TrueShadingBuilder::BgdType
BgdTypeEnum
609
(
610
);
614
public
:
void
SetBgdTypeEnum
615
(
616
NXOpen::Display::TrueShadingBuilder::BgdType
bgdTypeEnum
617
);
621
public
: std::vector<double>
GetBgdTopRgbcolorPicker
622
(
623
);
627
public
:
void
SetBgdTopRgbcolorPicker
628
(
629
const
std::vector<double> & bgdTopRGBColorPicker
630
);
634
public
: std::vector<double>
GetBgdBottomRgbcolorPicker
635
(
636
);
640
public
:
void
SetBgdBottomRgbcolorPicker
641
(
642
const
std::vector<double> & bgdBottomRGBColorPicker
643
);
647
public
:
NXOpen::Display::TrueShadingBuilder::BgdImageType
BgdImageEnum
648
(
649
);
653
public
:
void
SetBgdImageEnum
654
(
655
NXOpen::Display::TrueShadingBuilder::BgdImageType
bgdImageEnum
656
);
660
public
:
NXString
BgdImageFileBrowser
661
(
662
);
666
public
:
void
SetBgdImageFileBrowser
667
(
668
const
NXString
& filename
669
);
673
void
SetBgdImageFileBrowser
674
(
675
const
char
* filename
676
);
680
public
:
NXOpen::Display::TrueShadingBuilder::SurfaceOrientType
SurfaceOrientEnum
681
(
682
);
686
public
:
void
SetSurfaceOrientEnum
687
(
688
NXOpen::Display::TrueShadingBuilder::SurfaceOrientType
surfaceOrientEnum
689
);
693
public
:
NXOpen::Plane
*
SpecifyPlane
694
(
695
);
699
public
:
void
SetSpecifyPlane
700
(
701
NXOpen::Plane
* specifyPlane
702
);
706
public
:
double
PlaneOffsetValue
707
(
708
);
712
public
:
void
SetPlaneOffsetValue
713
(
714
double
planeOffsetValue
715
);
719
public
:
bool
PlaneOffsetFixedToggle
720
(
721
);
725
public
:
void
SetPlaneOffsetFixedToggle
726
(
727
bool
planeOffsetFixedToggle
728
);
732
public
:
bool
PlaneGridToggle
733
(
734
);
738
public
:
void
SetPlaneGridToggle
739
(
740
bool
planeGridToggle
741
);
745
public
:
bool
InheritModelTogggle
746
(
747
);
751
public
:
void
SetInheritModelTogggle
752
(
753
bool
inheritModelTogggle
754
);
758
public
: std::vector<double>
GetGridRgbcolorPicker
759
(
760
);
764
public
:
void
SetGridRgbcolorPicker
765
(
766
const
std::vector<double> & gridRGBColorPicker
767
);
771
public
:
bool
SnapFloorToggle
772
(
773
);
777
public
:
void
SetSnapFloorToggle
778
(
779
bool
snapFloorToggle
780
);
784
public
:
bool
PlanarShadowToggle
785
(
786
);
790
public
:
void
SetPlanarShadowToggle
791
(
792
bool
planarShadowToggle
793
);
797
public
:
bool
SoftShadowsToggle
798
(
799
);
803
public
:
void
SetSoftShadowsToggle
804
(
805
bool
softShadowsToggle
806
);
810
public
:
bool
PlanarReflectionToggle
811
(
812
);
816
public
:
void
SetPlanarReflectionToggle
817
(
818
bool
planarReflectionToggle
819
);
823
public
:
double
ReflectivityValue
824
(
825
);
829
public
:
void
SetReflectivityValue
830
(
831
double
reflectivityValue
832
);
836
public
:
NXOpen::Display::TrueShadingBuilder::SHEDLightCollectionType
LightCollectionEnum
837
(
838
);
842
public
:
void
SetLightCollectionEnum
843
(
844
NXOpen::Display::TrueShadingBuilder::SHEDLightCollectionType
lightCollectionEnum
845
);
849
public
:
double
LightDimmerValue
850
(
851
);
855
public
:
void
SetLightDimmerValue
856
(
857
double
lightDimmerValue
858
);
862
public
:
void
ProtectUpdate
863
(
864
);
865
};
866
}
867
}
868
#ifdef _MSC_VER
869
#pragma warning(pop)
870
#endif
871
#ifdef __GNUC__
872
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
873
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
874
#endif
875
#endif
876
#undef EXPORTLIBRARY