NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Die_QuickBinderBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Die_QuickBinderBuilder.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/Expression.hxx>
22
#include <NXOpen/Features_FeatureBuilder.hxx>
23
#include <NXOpen/ScCollector.hxx>
24
#include <NXOpen/ugmath.hxx>
25
#include <NXOpen/libnxopencpp_die_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Die
36
{
37
class
QuickBinderBuilder
;
38
}
39
class
Expression
;
40
namespace
Features
41
{
42
class
FeatureBuilder
;
43
}
44
namespace
GeometricUtilities
45
{
46
class
Limits
;
47
}
48
class
ScCollector
;
49
namespace
Die
50
{
51
class
_QuickBinderBuilderBuilder;
52
class
QuickBinderBuilderImpl;
58
class
NXOPENCPP_DIEEXPORT QuickBinderBuilder :
public
NXOpen::Features::FeatureBuilder
59
{
61
public
:
enum
Types
62
{
63
TypesPlanar
,
64
TypesCylindrical
,
65
TypesConical
,
66
TypesMonoArc
67
};
68
69
public
:
enum
EditTypes
70
{
71
EditTypesEdgeExtend
,
72
EditTypesEdgeExtendStart
,
73
EditTypesEdgeExtendEnd
,
74
EditTypesEdgeAngleStart
,
75
EditTypesEdgeAngleEnd
,
76
EditTypesFaceRadius
,
77
EditTypesFaceCentralAngle
,
78
EditTypesFaceReverseConvexity
,
79
EditTypesTransform
,
80
EditTypesExtendUMinimum
,
81
EditTypesExtendUMaximum
,
82
EditTypesExtendVMinimum
,
83
EditTypesExtendVMaximum
84
};
85
private
:
QuickBinderBuilderImpl
* m_quickbinderbuilder_impl;
86
private
:
friend
class
_QuickBinderBuilderBuilder;
87
protected
:
QuickBinderBuilder
();
88
public
:
~QuickBinderBuilder
();
92
public
:
NXOpen::ScCollector
*
Faces
93
(
94
);
98
public
:
NXOpen::Expression
*
Start
99
(
100
);
104
public
:
NXOpen::Expression
*
End
105
(
106
);
110
public
:
NXOpen::Expression
*
Extend
111
(
112
);
116
public
:
NXOpen::Expression
*
Radius
117
(
118
);
122
public
:
NXOpen::Expression
*
BaseRadius
123
(
124
);
128
public
:
NXOpen::Expression
*
AnchorRadius
129
(
130
);
134
public
:
NXOpen::Expression
*
AnchorBaseRadius
135
(
136
);
140
public
:
NXOpen::Expression
*
StartAngle
141
(
142
);
146
public
:
NXOpen::Expression
*
EndAngle
147
(
148
);
152
public
:
NXOpen::Expression
*
CentralAngle
153
(
154
);
158
public
:
NXOpen::GeometricUtilities::Limits
*
Limits
159
(
160
);
164
public
:
NXOpen::Expression
*
TopRadius
165
(
166
);
170
public
:
NXOpen::Expression
*
AnchorTopRadius
171
(
172
);
176
public
:
NXOpen::Expression
*
UMinimum
177
(
178
);
182
public
:
NXOpen::Expression
*
UMaximum
183
(
184
);
188
public
:
NXOpen::Expression
*
VMinimum
189
(
190
);
194
public
:
NXOpen::Expression
*
VMaximum
195
(
196
);
200
public
:
int
CreateAnchorFace
201
(
202
);
206
public
:
void
EditFace
207
(
208
);
212
public
:
int
AddFace
213
(
214
NXOpen::Die::QuickBinderBuilder::Types
type
215
);
219
public
:
void
RemoveFace
220
(
221
);
225
public
:
NXOpen::Die::QuickBinderBuilder::Types
Type
226
(
227
);
231
public
:
void
SetType
232
(
233
NXOpen::Die::QuickBinderBuilder::Types
type
234
);
238
public
:
NXOpen::Die::QuickBinderBuilder::EditTypes
EditType
239
(
240
);
244
public
:
void
SetEditType
245
(
246
NXOpen::Die::QuickBinderBuilder::EditTypes
type
247
);
251
public
:
int
FaceIndexToEdit
252
(
253
);
257
public
:
void
SetFaceIndexToEdit
258
(
259
int
index
260
);
264
public
:
int
EdgeIndexToEdit
265
(
266
);
270
public
:
void
SetEdgeIndexToEdit
271
(
272
int
index
273
);
277
public
:
void
SetReferencePoint
278
(
279
const
NXOpen::Point3d
& location
280
);
284
public
:
NXOpen::Point3d
TransformOrigin
285
(
286
);
290
public
:
void
SetTransformOrigin
291
(
292
const
NXOpen::Point3d
& origin
293
);
297
public
:
void
GetEdgesOfFace
298
(
299
int
faceIndex ,
300
std::vector<int> & edgeIndex ,
301
std::vector<NXOpen::Point3d> & referencePoints
302
);
306
public
:
NXOpen::Matrix3x3
TransformMatrix
307
(
308
);
312
public
:
void
SetTransformMatrix
313
(
314
const
NXOpen::Matrix3x3
& matrix
315
);
319
public
:
NXOpen::Point3d
OriginAnchorOrigin
320
(
321
);
325
public
:
void
SetOriginAnchorOrigin
326
(
327
const
NXOpen::Point3d
& origin
328
);
329
};
330
}
331
}
332
#ifdef _MSC_VER
333
#pragma warning(pop)
334
#endif
335
#ifdef __GNUC__
336
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
337
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
338
#endif
339
#endif
340
#undef EXPORTLIBRARY