NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_DimensionData.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口访问 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_DimensionData.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/Annotations_AngularTolerance.hxx>
23
#include <NXOpen/Annotations_AppendedText.hxx>
24
#include <NXOpen/Annotations_Associativity.hxx>
25
#include <NXOpen/Annotations_DimensionPreferences.hxx>
26
#include <NXOpen/Annotations_LetteringPreferences.hxx>
27
#include <NXOpen/Annotations_LineAndArrowPreferences.hxx>
28
#include <NXOpen/Annotations_LinearTolerance.hxx>
29
#include <NXOpen/Annotations_UserSymbolPreferences.hxx>
30
#include <NXOpen/Dimensions.hxx>
31
#include <NXOpen/TransientObject.hxx>
32
#include <NXOpen/libnxopencpp_annotations_exports.hxx>
33
#ifdef _MSC_VER
34
#pragma warning(push)
35
#pragma warning(disable:4996)
36
#endif
37
#ifdef __GNUC__
38
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
39
#endif
40
namespace
NXOpen
41
{
42
namespace
Annotations
43
{
44
class
DimensionData
;
45
}
46
namespace
Annotations
47
{
48
class
AngularTolerance
;
49
}
50
namespace
Annotations
51
{
52
class
AppendedText
;
53
}
54
namespace
Annotations
55
{
56
class
Associativity
;
57
}
58
namespace
Annotations
59
{
60
class
DimensionPreferences
;
61
}
62
namespace
Annotations
63
{
64
class
LetteringPreferences
;
65
}
66
namespace
Annotations
67
{
68
class
LineAndArrowPreferences
;
69
}
70
namespace
Annotations
71
{
72
class
LinearTolerance
;
73
}
74
namespace
Annotations
75
{
76
class
UserSymbolPreferences
;
77
}
78
class
Direction
;
79
class
View
;
80
class
Xform
;
81
namespace
Annotations
82
{
83
}
84
namespace
Annotations
85
{
86
class
DimensionDataImpl;
90
class
NXOPENCPP_ANNOTATIONSEXPORT
DimensionData
:
public
NXOpen::TransientObject
91
{
92
private
:
DimensionDataImpl
* m_dimensiondata_impl;
94
public
:
explicit
DimensionData
(
void
*ptr);
96
101
public
:
virtual
~DimensionData
();
111
public
: std::vector<NXOpen::Annotations::Associativity *>
GetAssociativity
112
(
113
int
associativityIndex
114
);
122
public
:
void
SetAssociativity
123
(
124
int
associativityIndex ,
125
const
std::vector<NXOpen::Annotations::Associativity *> & associativity
126
);
130
public
:
NXOpen::Annotations::DimensionPreferences
*
GetDimensionPreferences
131
(
132
);
136
public
:
void
SetDimensionPreferences
137
(
138
NXOpen::Annotations::DimensionPreferences
* preferences
139
);
143
public
:
NXOpen::Annotations::LineAndArrowPreferences
*
GetLineAndArrowPreferences
144
(
145
);
149
public
:
void
SetLineAndArrowPreferences
150
(
151
NXOpen::Annotations::LineAndArrowPreferences
* prefs
152
);
156
public
:
NXOpen::Annotations::LetteringPreferences
*
GetLetteringPreferences
157
(
158
);
162
public
:
void
SetLetteringPreferences
163
(
164
NXOpen::Annotations::LetteringPreferences
* letteringPrefs
165
);
169
public
:
NXOpen::Annotations::UserSymbolPreferences
*
GetUserSymbolPreferences
170
(
171
);
175
public
:
void
SetUserSymbolPreferences
176
(
177
NXOpen::Annotations::UserSymbolPreferences
* userSymbolPrefs
178
);
182
public
:
NXOpen::Annotations::LeaderOrientation
LeaderOrientation
183
(
184
);
188
public
:
void
SetLeaderOrientation
189
(
190
NXOpen::Annotations::LeaderOrientation
leaderOrientation
191
);
195
public
:
NXOpen::Annotations::AppendedText
*
GetAppendedText
196
(
197
);
201
public
:
void
SetAppendedText
202
(
203
NXOpen::Annotations::AppendedText
* appendedText
204
);
214
public
:
NXOpen::Xform
*
GetInferredPlane
215
(
216
NXOpen::Annotations::PmiDefaultPlane
jaDefaultPlane ,
217
NXOpen::Annotations::DimensionType
dimType
218
);
222
public
:
NXOpen::Annotations::LinearTolerance
*
GetLinearTolerance
223
(
224
);
228
public
:
void
SetLinearTolerance
229
(
230
NXOpen::Annotations::LinearTolerance
* tolerance
231
);
235
public
:
NXOpen::Annotations::AngularTolerance
*
GetAngularTolerance
236
(
237
);
241
public
:
void
SetAngularTolerance
242
(
243
NXOpen::Annotations::AngularTolerance
* tolerance
244
);
248
public
:
NXOpen::Direction
*
MeasurementDirection
249
(
250
);
254
public
:
void
SetMeasurementDirection
255
(
256
NXOpen::Direction
* vector
257
);
261
public
:
NXOpen::View
*
MeasurementDirectionView
262
(
263
);
267
public
:
void
SetMeasurementDirectionView
268
(
269
NXOpen::View
* view
270
);
271
};
//lint !e1712 default constructor not defined for class
272
}
273
}
274
#ifdef _MSC_VER
275
#pragma warning(pop)
276
#endif
277
#ifdef __GNUC__
278
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
279
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
280
#endif
281
#endif
282
#undef EXPORTLIBRARY