NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_PositionControlBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_PositionControlBuilder.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/Mechatronics_PhysicsConstraintBuilder.hxx>
23
#include <NXOpen/Mechatronics_PhysicsConstraintBuilder.hxx>
24
#include <NXOpen/SelectObject.hxx>
25
#include <NXOpen/libnxopencpp_mechatronics_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
Mechatronics
36
{
37
class
PositionControlBuilder
;
38
}
39
class
Expression
;
40
namespace
Mechatronics
41
{
42
class
PhysicsConstraintBuilder
;
43
}
44
namespace
Mechatronics
45
{
46
class
SelectPhysicsJoint
;
47
}
48
class
NXObject
;
49
class
SelectNXObject
;
50
namespace
Mechatronics
51
{
52
class
_PositionControlBuilderBuilder;
53
class
PositionControlBuilderImpl;
57
class
NXOPENCPP_MECHATRONICSEXPORT PositionControlBuilder :
public
NXOpen::Mechatronics::PhysicsConstraintBuilder
58
{
60
public
:
enum
Axis
61
{
62
AxisAngular
,
63
AxisLinear
,
64
AxisMixed
65
};
66
67
public
:
enum
AngularPathOptions
68
{
69
AngularPathOptionsFollowShortestPath
,
70
AngularPathOptionsRotateClockwise
,
71
AngularPathOptionsRotateCounterclockwise
,
72
AngularPathOptionsTrackMultipleTurns
73
};
74
75
public
:
enum
ClosedCurvePathOptions
76
{
77
ClosedCurvePathOptionsTrackMultipleTurns
,
78
ClosedCurvePathOptionsFollowShortestPath
79
};
80
private
:
PositionControlBuilderImpl
* m_positioncontrolbuilder_impl;
81
private
:
friend
class
_PositionControlBuilderBuilder;
82
protected
:
PositionControlBuilder
();
83
public
:
~PositionControlBuilder
();
88
public
:
NXOpen::Mechatronics::SelectPhysicsJoint
*
AxisJoint
89
(
90
);
94
public
:
void
SetAxisJoint
95
(
96
NXOpen::NXObject
* axisJoint
97
);
102
public
:
NXOpen::Mechatronics::PositionControlBuilder::Axis
AxisType
103
(
104
);
109
public
:
void
SetAxisType
110
(
111
NXOpen::Mechatronics::PositionControlBuilder::Axis
axisType
112
);
117
public
:
NXOpen::Mechatronics::PositionControlBuilder::AngularPathOptions
AngularPath
118
(
119
);
124
public
:
void
SetAngularPath
125
(
126
NXOpen::Mechatronics::PositionControlBuilder::AngularPathOptions
angularPath
127
);
132
public
:
NXOpen::Expression
*
Destination
133
(
134
);
139
public
:
NXOpen::Expression
*
Speed
140
(
141
);
146
public
:
bool
UseAcceleration
147
(
148
);
153
public
:
void
SetUseAcceleration
154
(
155
bool
useAcceleration
156
);
161
public
:
NXOpen::Expression
*
MaxAcceleration
162
(
163
);
168
public
:
NXOpen::Expression
*
MaxDeceleration
169
(
170
);
175
public
:
bool
LimitJerk
176
(
177
);
182
public
:
void
SetLimitJerk
183
(
184
bool
limitJerk
185
);
190
public
:
NXOpen::Expression
*
MaxJerk
191
(
192
);
197
public
:
bool
EnableLimitForce
198
(
199
);
204
public
:
void
SetEnableLimitForce
205
(
206
bool
enable
207
);
212
public
:
NXOpen::Expression
*
ForwardForce
213
(
214
);
218
public
:
NXOpen::Expression
*
ReverseForce
219
(
220
);
224
public
:
NXOpen::Mechatronics::SpeedPositionControlDirectiontype
DirectionType
225
(
226
);
230
public
:
void
SetDirectionType
231
(
232
NXOpen::Mechatronics::SpeedPositionControlDirectiontype
directionType
233
);
238
public
:
NXOpen::SelectNXObject
*
Signal
239
(
240
);
244
public
:
void
SetSignal
245
(
246
NXOpen::NXObject
* signal
247
);
251
public
:
bool
UseExternalData
252
(
253
);
257
public
:
void
SetUseExternalData
258
(
259
bool
useExternalData
260
);
264
public
:
NXOpen::Mechatronics::PositionControlBuilder::ClosedCurvePathOptions
ClosedCurvePath
265
(
266
);
270
public
:
void
SetClosedCurvePath
271
(
272
NXOpen::Mechatronics::PositionControlBuilder::ClosedCurvePathOptions
closedCurvePath
273
);
277
public
:
NXOpen::Mechatronics::SpeedPositionControlBuilderTargetparameter
ParameterType
278
(
279
);
283
public
:
void
SetParameterType
284
(
285
NXOpen::Mechatronics::SpeedPositionControlBuilderTargetparameter
parameterType
286
);
290
public
:
void
SetTarget
291
(
292
NXOpen::Expression
* targetExp
293
);
294
};
295
}
296
}
297
#ifdef _MSC_VER
298
#pragma warning(pop)
299
#endif
300
#ifdef __GNUC__
301
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
302
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
303
#endif
304
#endif
305
#undef EXPORTLIBRARY