NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_LeaderData.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口访问JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_LeaderData.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.hxx>
22
#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
23
#include <NXOpen/TaggedObject.hxx>
24
#include <NXOpen/SelectObject.hxx>
25
#include <NXOpen/SelectObjectList.hxx>
26
#include <NXOpen/ugmath.hxx>
27
#include <NXOpen/libnxopencpp_annotations_exports.hxx>
28
#ifdef _MSC_VER
29
#pragma warning(push)
30
#pragma warning(disable:4996)
31
#endif
32
#ifdef __GNUC__
33
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34
#endif
35
namespace
NXOpen
36
{
37
namespace
Annotations
38
{
39
class
LeaderData
;
40
}
41
namespace
GeometricUtilities
42
{
43
class
IComponentBuilder
;
44
}
45
class
SelectDisplayableObject
;
46
class
SelectDisplayableObjectList
;
47
namespace
Annotations
48
{
49
class
_LeaderDataBuilder;
50
class
LeaderDataImpl;
57
class
NXOPENCPP_ANNOTATIONSEXPORT LeaderData :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
58
{
60
public
:
enum
LeaderType
61
{
62
LeaderTypePlain
,
63
LeaderTypeAllAround
,
64
LeaderTypePlainWithoutStub
,
65
LeaderTypeFlag
,
66
LeaderTypeDatum
,
67
LeaderTypeDotTerminated
,
68
LeaderTypeExtension
,
69
LeaderTypeAllOver
70
};
71
72
public
:
enum
ArrowheadType
73
{
74
ArrowheadTypeClosedArrow
,
75
ArrowheadTypeClosedSolidArrow
,
76
ArrowheadTypeOpenArrow
,
77
ArrowheadTypeFilledArrow
,
78
ArrowheadTypeClosedDoubleArrow
,
79
ArrowheadTypeClosedDoubleSolidArrow
,
80
ArrowheadTypeOpenDoubleArrow
,
81
ArrowheadTypeFilledDoubleArrow
,
82
ArrowheadTypeNone
,
83
ArrowheadTypeOrigin
,
84
ArrowheadTypeCross
,
85
ArrowheadTypeIntegral
,
86
ArrowheadTypeDot
,
87
ArrowheadTypeFilledDot
,
88
ArrowheadTypeSquare
,
89
ArrowheadTypeFilledSquare
,
90
ArrowheadTypeDatum
,
91
ArrowheadTypeFilledDatum
,
92
ArrowheadTypeTopOpenArrow
,
93
ArrowheadTypeBottomOpenArrow
,
94
ArrowheadTypeTopFilledArrow
,
95
ArrowheadTypeBottomFilledArrow
96
};
97
private
:
LeaderDataImpl
* m_leaderdata_impl;
98
private
:
friend
class
_LeaderDataBuilder;
99
protected
:
LeaderData
();
100
public
:
~LeaderData
();
104
public
:
NXOpen::Annotations::LeaderData::LeaderType
TerminatorType
105
(
106
);
110
public
:
void
SetTerminatorType
111
(
112
NXOpen::Annotations::LeaderData::LeaderType
terminatorType
113
);
117
public
:
NXOpen::SelectDisplayableObject
*
Leader
118
(
119
);
123
public
:
NXOpen::SelectDisplayableObjectList
*
Jogs
124
(
125
);
129
public
:
NXOpen::Annotations::LeaderData::ArrowheadType
Arrowhead
130
(
131
);
135
public
:
void
SetArrowhead
136
(
137
NXOpen::Annotations::LeaderData::ArrowheadType
arrowhead
138
);
142
public
:
NXOpen::Annotations::LeaderSide
StubSide
143
(
144
);
148
public
:
void
SetStubSide
149
(
150
NXOpen::Annotations::LeaderSide
stubSide
151
);
155
public
:
double
StubSize
156
(
157
);
161
public
:
void
SetStubSize
162
(
163
double
stubSize
164
);
168
public
:
bool
Perpendicular
169
(
170
);
174
public
:
void
SetPerpendicular
175
(
176
bool
isPerpendicular
177
);
181
public
:
NXOpen::Annotations::LeaderData::ArrowheadType
DatumOnDotTerminatedArrowhead
182
(
183
);
187
public
:
void
SetDatumOnDotTerminatedArrowhead
188
(
189
NXOpen::Annotations::LeaderData::ArrowheadType
arrowhead
190
);
194
public
:
NXOpen::Point3d
DatumOnDotTerminatedStartPoint
195
(
196
);
200
public
:
void
SetDatumOnDotTerminatedStartPoint
201
(
202
const
NXOpen::Point3d
& startpoint
203
);
207
public
:
NXOpen::Point3d
DatumOnDotTerminatedEndPoint
208
(
209
);
213
public
:
void
SetDatumOnDotTerminatedEndPoint
214
(
215
const
NXOpen::Point3d
& endpoint
216
);
220
public
:
NXOpen::Annotations::LeaderVerticalAttachment
VerticalAttachment
221
(
222
);
226
public
:
void
SetVerticalAttachment
227
(
228
NXOpen::Annotations::LeaderVerticalAttachment
verticalAttachment
229
);
233
public
:
bool
LeaderPerpendicular
234
(
235
);
239
public
:
void
SetLeaderPerpendicular
240
(
241
bool
isLeaderPerpendicular
242
);
246
public
:
bool
HasStub
247
(
248
);
252
public
:
NXOpen::Point3d
GetStubStartPoint
253
(
254
);
258
public
:
NXOpen::Point3d
GetStubEndPoint
259
(
260
);
265
public
:
virtual
bool
Validate
266
(
267
);
268
};
269
}
270
}
271
#ifdef _MSC_VER
272
#pragma warning(pop)
273
#endif
274
#ifdef __GNUC__
275
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
276
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
277
#endif
278
#endif
279
#undef EXPORTLIBRARY