NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Diagramming_SheetElementBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Diagramming_SheetElementBuilder.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/Diagramming_Annotation.hxx>
22
#include <NXOpen/Diagramming_DataType.hxx>
23
#include <NXOpen/Diagramming_LocationBuilder.hxx>
24
#include <NXOpen/Diagramming_RenderingPropertiesBuilder.hxx>
25
#include <NXOpen/Diagramming_Sheet.hxx>
26
#include <NXOpen/Diagramming_SheetElement.hxx>
27
#include <NXOpen/Diagramming_BaseObjectBuilder.hxx>
28
#include <NXOpen/libnxopencpp_diagramming_exports.hxx>
29
#ifdef _MSC_VER
30
#pragma warning(push)
31
#pragma warning(disable:4996)
32
#endif
33
#ifdef __GNUC__
34
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35
#endif
36
namespace
NXOpen
37
{
38
namespace
Diagramming
39
{
40
class
SheetElementBuilder
;
41
}
42
namespace
Diagramming
43
{
44
class
Annotation
;
45
}
46
namespace
Diagramming
47
{
48
class
BaseObjectBuilder
;
49
}
50
namespace
Diagramming
51
{
52
class
LocationBuilder
;
53
}
54
namespace
Diagramming
55
{
56
class
RenderingPropertiesBuilder
;
57
}
58
namespace
Diagramming
59
{
60
class
Sheet
;
61
}
62
namespace
Diagramming
63
{
64
class
SheetElement
;
65
}
66
namespace
Diagramming
67
{
68
class
_SheetElementBuilderBuilder;
69
class
SheetElementBuilderImpl;
75
class
NXOPENCPP_DIAGRAMMINGEXPORT SheetElementBuilder :
public
NXOpen::Diagramming::BaseObjectBuilder
76
{
80
public
:
enum
ResizeOptionType
81
{
82
ResizeOptionTypeAnyDirection
,
83
ResizeOptionTypeOnAnchor
,
84
ResizeOptionTypeSameRatio
,
85
ResizeOptionTypeSameRationOnCorner
,
86
ResizeOptionTypeSameRatioOnEdge
87
};
88
private
:
SheetElementBuilderImpl
* m_sheetelementbuilder_impl;
89
private
:
friend
class
_SheetElementBuilderBuilder;
90
protected
:
SheetElementBuilder
();
91
public
:
~SheetElementBuilder
();
95
public
:
NXOpen::Diagramming::SheetElementBuilder::ResizeOptionType
ResizeOption
96
(
97
);
101
public
:
void
SetResizeOption
102
(
103
NXOpen::Diagramming::SheetElementBuilder::ResizeOptionType
resizeOption
104
);
108
public
:
void
GetMinNodeSize
109
(
110
std::vector<double> & sizeValues
111
);
115
public
:
void
SetMinNodeSize
116
(
117
const
std::vector<double> & sizeValues
118
);
122
public
:
void
GetAllowedTransformations
123
(
124
bool
* isAllowedTranslation ,
125
bool
* isAllowedRotation ,
126
bool
* isAllowedScale ,
127
bool
* isAllowedShear
128
);
132
public
:
double
Height
133
(
134
);
138
public
:
void
SetHeight
139
(
140
double
height
141
);
145
public
:
bool
Internal
146
(
147
);
151
public
:
NXOpen::Diagramming::DiagrammingLocationstyle
LocationStyle
152
(
153
);
157
public
:
void
SetLocationStyle
158
(
159
NXOpen::Diagramming::DiagrammingLocationstyle
locationStyle
160
);
164
public
:
double
X
165
(
166
);
170
public
:
void
SetX
171
(
172
double
x
173
);
177
public
:
double
Y
178
(
179
);
183
public
:
void
SetY
184
(
185
double
y
186
);
190
public
:
NXOpen::Diagramming::LocationBuilder
*
Location
191
(
192
);
196
public
:
NXOpen::Diagramming::Annotation
*
Label
197
(
198
);
202
public
:
NXString
LabelName
203
(
204
);
208
public
:
void
SetLabelName
209
(
210
const
NXString
& labelname
211
);
215
void
SetLabelName
216
(
217
const
char
* labelname
218
);
222
public
:
NXOpen::Diagramming::SheetElement
*
SourceElement
223
(
224
);
228
public
:
bool
UpToDate
229
(
230
);
234
public
:
bool
Visible
235
(
236
);
240
public
:
double
Width
241
(
242
);
246
public
:
void
SetWidth
247
(
248
double
width
249
);
253
public
:
double
Rotation
254
(
255
);
259
public
:
void
SetRotation
260
(
261
double
angle
262
);
266
public
:
int
ZDepth
267
(
268
);
272
public
:
void
SetZDepth
273
(
274
int
zDepth
275
);
279
public
:
NXOpen::Diagramming::Sheet
*
OwningSheet
280
(
281
);
286
public
:
void
SetOwningSheet
287
(
288
NXOpen::Diagramming::Sheet
* owningSheet
289
);
293
public
:
NXOpen::Diagramming::SheetElement
*
Owner
294
(
295
);
299
public
:
void
SetOwner
300
(
301
NXOpen::Diagramming::SheetElement
* owner
302
);
306
public
:
NXOpen::Diagramming::DiagrammingSizingpolicy
HeightPolicy
307
(
308
);
312
public
:
void
SetHeightPolicy
313
(
314
NXOpen::Diagramming::DiagrammingSizingpolicy
heightPolicy
315
);
319
public
:
NXOpen::Diagramming::DiagrammingSizingpolicy
WidthPolicy
320
(
321
);
325
public
:
void
SetWidthPolicy
326
(
327
NXOpen::Diagramming::DiagrammingSizingpolicy
widthPolicy
328
);
332
public
:
bool
MirrorX
333
(
334
);
338
public
:
void
SetMirrorX
339
(
340
bool
mirrorX
341
);
345
public
:
bool
MirrorY
346
(
347
);
351
public
:
void
SetMirrorY
352
(
353
bool
mirrorY
354
);
358
public
:
NXOpen::Diagramming::RenderingPropertiesBuilder
*
RenderingProperties
359
(
360
);
361
};
362
}
363
}
364
#ifdef _MSC_VER
365
#pragma warning(pop)
366
#endif
367
#ifdef __GNUC__
368
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
369
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
370
#endif
371
#endif
372
#undef EXPORTLIBRARY