NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
PlotBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// PlotBuilder.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/PlotColorsWidthsBuilder.hxx>
23
#include <NXOpen/PlotSourceBuilder.hxx>
24
#include <NXOpen/libnxopencpp_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
class
PlotBuilder
;
35
class
Builder
;
36
class
PlotColorsWidthsBuilder
;
37
class
PlotSourceBuilder
;
38
class
_PlotBuilderBuilder;
39
class
PlotBuilderImpl;
50
class
NXOPENCPPEXPORT PlotBuilder :
public
NXOpen::Builder
51
{
53
public
:
enum
PlotTypes
54
{
55
PlotTypesStandard
,
56
PlotTypesUsingLayout
57
};
58
59
public
:
enum
UnitsOption
60
{
61
UnitsOptionMetric
,
62
UnitsOptionEnglish
63
};
64
65
public
:
enum
XdisplayOption
66
{
67
XdisplayOptionLeft
,
68
XdisplayOptionCenter
,
69
XdisplayOptionRight
70
};
71
72
public
:
enum
YdisplayOption
73
{
74
YdisplayOptionBottom
,
75
YdisplayOptionCenter
,
76
YdisplayOptionTop
77
};
78
79
public
:
enum
RotationOption
80
{
81
RotationOptionDegree0
,
82
RotationOptionDegree90
,
83
RotationOptionDegree180
,
84
RotationOptionDegree270
85
};
86
87
public
:
enum
JustificationOption
88
{
89
JustificationOptionLeft
,
90
JustificationOptionCenter
,
91
JustificationOptionRight
92
};
93
94
public
:
enum
ImageResolutionOption
95
{
96
ImageResolutionOptionDraft
,
97
ImageResolutionOptionLow
,
98
ImageResolutionOptionMedium
,
99
ImageResolutionOptionHigh
100
};
101
private
:
PlotBuilderImpl
* m_plotbuilder_impl;
102
private
:
friend
class
_PlotBuilderBuilder;
103
protected
:
PlotBuilder
();
104
public
:
~PlotBuilder
();
108
public
:
NXOpen::PlotBuilder::PlotTypes
PlotType
109
(
110
);
114
public
:
void
SetPlotType
115
(
116
NXOpen::PlotBuilder::PlotTypes
plotType
117
);
121
public
:
void
AddToPlotLayout
122
(
123
);
127
public
:
void
ClearPlotLayout
128
(
129
);
133
public
:
bool
DisplayBanner
134
(
135
);
139
public
:
void
SetDisplayBanner
140
(
141
bool
displayBanner
142
);
146
public
:
NXString
BannerMessage
147
(
148
);
152
public
:
void
SetBannerMessage
153
(
154
const
NXString
& bannerMessage
155
);
159
void
SetBannerMessage
160
(
161
const
char
* bannerMessage
162
);
166
public
:
NXOpen::PlotBuilder::UnitsOption
Units
167
(
168
);
172
public
:
void
SetUnits
173
(
174
NXOpen::PlotBuilder::UnitsOption
units
175
);
179
public
:
NXOpen::PlotBuilder::XdisplayOption
XDisplay
180
(
181
);
185
public
:
void
SetXDisplay
186
(
187
NXOpen::PlotBuilder::XdisplayOption
xDisplay
188
);
192
public
:
double
XOffset
193
(
194
);
198
public
:
void
SetXOffset
199
(
200
double
xOffset
201
);
206
public
:
NXOpen::PlotBuilder::YdisplayOption
YDisplay
207
(
208
);
213
public
:
void
SetYDisplay
214
(
215
NXOpen::PlotBuilder::YdisplayOption
yDisplay
216
);
220
public
:
double
YOffset
221
(
222
);
226
public
:
void
SetYOffset
227
(
228
double
yOffset
229
);
233
public
:
double
CharacterSize
234
(
235
);
239
public
:
void
SetCharacterSize
240
(
241
double
characterSize
242
);
246
public
:
NXOpen::PlotBuilder::RotationOption
Rotation
247
(
248
);
252
public
:
void
SetRotation
253
(
254
NXOpen::PlotBuilder::RotationOption
rotation
255
);
260
public
:
NXOpen::PlotBuilder::JustificationOption
Justification
261
(
262
);
267
public
:
void
SetJustification
268
(
269
NXOpen::PlotBuilder::JustificationOption
justification
270
);
274
public
:
void
SaveCgm
275
(
276
);
280
public
:
void
AdvancedPlot
281
(
282
);
286
public
:
int
Copies
287
(
288
);
292
public
:
void
SetCopies
293
(
294
int
copies
295
);
299
public
:
NXString
JobName
300
(
301
);
305
public
:
void
SetJobName
306
(
307
const
NXString
& jobName
308
);
312
void
SetJobName
313
(
314
const
char
* jobName
315
);
319
public
:
double
Tolerance
320
(
321
);
325
public
:
void
SetTolerance
326
(
327
double
tolerance
328
);
332
public
:
bool
ClsfData
333
(
334
);
338
public
:
void
SetClsfData
339
(
340
bool
clsfData
341
);
345
public
:
bool
RasterImages
346
(
347
);
351
public
:
void
SetRasterImages
352
(
353
bool
rasterImages
354
);
358
public
:
bool
ShadedGeometry
359
(
360
);
364
public
:
void
SetShadedGeometry
365
(
366
bool
shadedGeometry
367
);
371
public
:
bool
CustomSymbolsInForeground
372
(
373
);
379
public
:
void
SetCustomSymbolsInForeground
380
(
381
bool
customSymbolsInForeground
382
);
386
public
:
NXOpen::PlotColorsWidthsBuilder
*
ColorsWidthsBuilder
387
(
388
);
392
public
:
NXOpen::PlotSourceBuilder
*
SourceBuilder
393
(
394
);
399
public
: std::vector<NXString>
GetFilenames
400
(
401
);
406
public
:
void
SetFilenames
407
(
408
std::vector<NXString> & filenames
409
);
414
public
: std::vector<NXString>
GetGraphicFilenames
415
(
416
);
421
public
:
void
SetGraphicFilenames
422
(
423
std::vector<NXString> & filenames
424
);
429
public
:
NXString
PlotterText
430
(
431
);
436
public
:
void
SetPlotterText
437
(
438
const
NXString
& plotter
439
);
444
void
SetPlotterText
445
(
446
const
char
* plotter
447
);
451
public
:
NXString
ProfileText
452
(
453
);
457
public
:
void
SetProfileText
458
(
459
const
NXString
& profile
460
);
464
void
SetProfileText
465
(
466
const
char
* profile
467
);
471
public
:
NXString
PrinterGroupText
472
(
473
);
477
public
:
void
SetPrinterGroupText
478
(
479
const
NXString
& printerGroup
480
);
484
void
SetPrinterGroupText
485
(
486
const
char
* printerGroup
487
);
491
public
:
NXOpen::PlotBuilder::ImageResolutionOption
ImageResolution
492
(
493
);
497
public
:
void
SetImageResolution
498
(
499
NXOpen::PlotBuilder::ImageResolutionOption
imageResolution
500
);
501
};
502
}
503
#ifdef _MSC_VER
504
#pragma warning(pop)
505
#endif
506
#ifdef __GNUC__
507
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
508
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
509
#endif
510
#endif
511
#undef EXPORTLIBRARY