NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_DatumTargetBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口访问 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_DatumTargetBuilder.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/Annotations_LeaderBuilder.hxx>
22
#include <NXOpen/Annotations_OriginBuilder.hxx>
23
#include <NXOpen/Annotations_StyleBuilder.hxx>
24
#include <NXOpen/Expression.hxx>
25
#include <NXOpen/Builder.hxx>
26
#include <NXOpen/libnxopencpp_annotations_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
Annotations
37
{
38
class
DatumTargetBuilder
;
39
}
40
namespace
Annotations
41
{
42
class
BaseDatumTarget
;
43
}
44
namespace
Annotations
45
{
46
class
LeaderBuilder
;
47
}
48
namespace
Annotations
49
{
50
class
OriginBuilder
;
51
}
52
namespace
Annotations
53
{
54
class
StyleBuilder
;
55
}
56
class
Builder
;
57
class
Expression
;
58
namespace
Annotations
59
{
60
class
_DatumTargetBuilderBuilder;
61
class
DatumTargetBuilderImpl;
65
class
NXOPENCPP_ANNOTATIONSEXPORT DatumTargetBuilder :
public
NXOpen::Builder
66
{
68
public
:
enum
Types
69
{
70
TypesPoint
,
71
TypesLine
,
72
TypesRectangular
,
73
TypesCircular
,
74
TypesAnnular
,
75
TypesSpherical
,
76
TypesCylindrical
,
77
TypesArbitrary
78
};
79
80
public
:
enum
TerminatorTypes
81
{
82
TerminatorTypesArrow
,
83
TerminatorTypesX
,
84
TerminatorTypesPlus
85
};
86
87
public
:
enum
StandardTypes
88
{
89
StandardTypesNoStandard
,
90
StandardTypesAsmeY145m1982
,
91
StandardTypesAsmeY145m1994
,
92
StandardTypesAsmeIso11011983
,
93
StandardTypesGmAddendum94
,
94
StandardTypesAsig2000
,
95
StandardTypesAsmeY1452009
96
};
97
private
:
DatumTargetBuilderImpl
* m_datumtargetbuilder_impl;
98
private
:
friend
class
_DatumTargetBuilderBuilder;
99
protected
:
DatumTargetBuilder
();
100
public
:
~DatumTargetBuilder
();
104
public
:
NXOpen::Annotations::OriginBuilder
*
Origin
105
(
106
);
110
public
:
NXOpen::Annotations::LeaderBuilder
*
Leader
111
(
112
);
116
public
:
NXString
Label
117
(
118
);
122
public
:
void
SetLabel
123
(
124
const
NXString
& label
125
);
129
void
SetLabel
130
(
131
const
char
* label
132
);
136
public
:
int
Index
137
(
138
);
142
public
:
void
SetIndex
143
(
144
int
index
145
);
149
public
:
NXOpen::Expression
*
Width
150
(
151
);
155
public
:
NXOpen::Expression
*
Height
156
(
157
);
161
public
:
NXOpen::Expression
*
OuterDiameter
162
(
163
);
167
public
:
NXOpen::Expression
*
InnerDiameter
168
(
169
);
173
public
:
NXString
AreaSize
174
(
175
);
179
public
:
void
SetAreaSize
180
(
181
const
NXString
& areaSize
182
);
186
void
SetAreaSize
187
(
188
const
char
* areaSize
189
);
193
public
:
NXOpen::Annotations::StyleBuilder
*
Style
194
(
195
);
199
public
:
NXOpen::Annotations::DatumTargetBuilder::Types
Type
200
(
201
);
205
public
:
void
SetType
206
(
207
NXOpen::Annotations::DatumTargetBuilder::Types
type
208
);
213
public
:
NX_DEPRECATED
(
"Deprecated in NX10.0.0. Use NXOpen::Annotations::DatumTargetBuilder::TerminatorType instead."
) bool DrawX
214
(
215
);
220
public:
NX_DEPRECATED
(
"Deprecated in NX10.0.0. Use NXOpen::Annotations::DatumTargetBuilder::SetTerminatorType instead."
)
void
SetDrawX
221
(
222
bool
flag
223
);
227
public:
void
InheritFrom
228
(
229
NXOpen
::
Annotations
::
BaseDatumTarget
* inheritTag
230
);
234
public:
NXOpen
::
Annotations
::DatumTargetBuilder::
TerminatorTypes
TerminatorType
235
(
236
);
240
public:
void
SetTerminatorType
241
(
242
NXOpen
::
Annotations
::DatumTargetBuilder::
TerminatorTypes
type
243
);
247
public:
bool
Movable
248
(
249
);
253
public:
void
SetMovable
254
(
255
bool
flag
256
);
260
public:
NXOpen
::
Expression
*
MovableModifierAngle
261
(
262
);
266
public:
void
ReverseMovableModifier
267
(
268
);
272
public:
NXOpen
::
Annotations
::DatumTargetBuilder::
StandardTypes
DatumTargetStandard
273
(
274
);
278
public:
void
SetDatumTargetStandard
279
(
280
NXOpen
::
Annotations
::DatumTargetBuilder::
StandardTypes
standard
281
);
282
};
283
}
284
}
285
#ifdef _MSC_VER
286
#pragma warning(pop)
287
#endif
288
#ifdef __GNUC__
289
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
290
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
291
#endif
292
#endif
293
#undef EXPORTLIBRARY