NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_ControlOutputBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_ControlOutputBuilder.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/Motion.hxx>
22
#include <NXOpen/Motion_LinkAttachmentData.hxx>
23
#include <NXOpen/Motion_MotionBuilder.hxx>
24
#include <NXOpen/SelectObject.hxx>
25
#include <NXOpen/libnxopencpp_motion_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
Motion
36
{
37
class
ControlOutputBuilder
;
38
}
39
namespace
Motion
40
{
41
class
LinkAttachmentData
;
42
}
43
namespace
Motion
44
{
45
class
MotionBuilder
;
46
}
47
namespace
Motion
48
{
49
class
SelectControlPort
;
50
}
51
namespace
Motion
52
{
53
class
SelectJoint
;
54
}
55
namespace
Motion
56
{
57
class
SelectLink
;
58
}
59
namespace
Motion
60
{
61
class
_ControlOutputBuilderBuilder;
62
class
ControlOutputBuilderImpl;
84
class
NXOPENCPP_MOTIONEXPORT ControlOutputBuilder :
public
NXOpen::Motion::MotionBuilder
85
{
87
public
:
enum
ControlOutputType
88
{
89
ControlOutputTypeLink
,
90
ControlOutputTypeJointOrConstraint
,
91
ControlOutputTypeMassProperty
,
92
ControlOutputTypeSolution
93
};
94
95
public
:
enum
VariableType
96
{
97
VariableTypeForce
,
98
VariableTypeTorque
,
99
VariableTypeActionTorque
,
100
VariableTypeBaseTorque
,
101
VariableTypeBaseForce
102
};
103
104
public
:
enum
DirectionType
105
{
106
DirectionTypeX
,
107
DirectionTypeY
,
108
DirectionTypeZ
109
};
110
111
public
:
enum
ApplicationType
112
{
113
ApplicationTypeActionReaction
,
114
ApplicationTypeActionOnly
115
};
116
117
public
:
enum
MassPropertyTypes
118
{
119
MassPropertyTypesMass
,
120
MassPropertyTypesIxx
,
121
MassPropertyTypesIyy
,
122
MassPropertyTypesIzz
,
123
MassPropertyTypesIxy
,
124
MassPropertyTypesIxz
,
125
MassPropertyTypesIyz
,
126
MassPropertyTypesCGOffsetX
,
127
MassPropertyTypesCGOffsetY
,
128
MassPropertyTypesCGOffsetZ
129
};
130
131
public
:
enum
SolutionVariableTypes
132
{
133
SolutionVariableTypesReset
,
134
SolutionVariableTypesGravityVector
,
135
SolutionVariableTypesEnableResultsReport
136
};
137
private
:
ControlOutputBuilderImpl
* m_controloutputbuilder_impl;
138
private
:
friend
class
_ControlOutputBuilderBuilder;
139
protected
:
ControlOutputBuilder
();
140
public
:
~ControlOutputBuilder
();
144
public
:
NXOpen::Motion::ControlOutputBuilder::ControlOutputType
OutputType
145
(
146
);
150
public
:
void
SetOutputType
151
(
152
NXOpen::Motion::ControlOutputBuilder::ControlOutputType
outputType
153
);
157
public
:
NXOpen::Motion::LinkAttachmentData
*
ActionLinkAttachment
158
(
159
);
163
public
:
NXOpen::Motion::LinkAttachmentData
*
BaseLinkAttachment
164
(
165
);
169
public
:
NXOpen::Motion::SelectJoint
*
JointSelection
170
(
171
);
175
public
:
NXOpen::Motion::SelectLink
*
MassPropertyMotionBody
176
(
177
);
181
public
:
NXOpen::Motion::ControlOutputBuilder::VariableType
Variable
182
(
183
);
187
public
:
void
SetVariable
188
(
189
NXOpen::Motion::ControlOutputBuilder::VariableType
variable
190
);
194
public
:
NXOpen::Motion::ControlOutputBuilder::DirectionType
Direction
195
(
196
);
200
public
:
void
SetDirection
201
(
202
NXOpen::Motion::ControlOutputBuilder::DirectionType
direction
203
);
207
public
:
NXOpen::Motion::ControlOutputBuilder::ApplicationType
Application
208
(
209
);
213
public
:
void
SetApplication
214
(
215
NXOpen::Motion::ControlOutputBuilder::ApplicationType
application
216
);
220
public
:
NXOpen::Motion::ControlOutputBuilder::MassPropertyTypes
MassPropertyType
221
(
222
);
226
public
:
void
SetMassPropertyType
227
(
228
NXOpen::Motion::ControlOutputBuilder::MassPropertyTypes
massPropertyType
229
);
233
public
:
NXOpen::Motion::ControlOutputBuilder::SolutionVariableTypes
SolutionVariableType
234
(
235
);
239
public
:
void
SetSolutionVariableType
240
(
241
NXOpen::Motion::ControlOutputBuilder::SolutionVariableTypes
variable
242
);
246
public
:
NXOpen::Motion::SelectControlPort
*
PortSelection
247
(
248
);
252
public
:
NXString
Name
253
(
254
);
258
public
:
void
SetName
259
(
260
const
NXString
& name
261
);
265
void
SetName
266
(
267
const
char
* name
268
);
272
public
:
NXOpen::Motion::ParamOverrideState
PortSelectionOvrCtrl
273
(
274
);
278
public
:
void
SetPortSelectionOvrCtrl
279
(
280
NXOpen::Motion::ParamOverrideState
overrideState
281
);
285
public
:
NXOpen::Motion::ParamOverrideState
MassPropertyMotionBodyOvrCtrl
286
(
287
);
291
public
:
void
SetMassPropertyMotionBodyOvrCtrl
292
(
293
NXOpen::Motion::ParamOverrideState
overrideState
294
);
298
public
:
NXOpen::Motion::SelectControlPort
*
XCoordinatePortSelection
299
(
300
);
304
public
:
NXOpen::Motion::SelectControlPort
*
YCoordinatePortSelection
305
(
306
);
310
public
:
NXOpen::Motion::SelectControlPort
*
ZCoordinatePortSelection
311
(
312
);
316
public
:
NXOpen::Motion::ParamOverrideState
XCoordinatePortSelectionOvrCtrl
317
(
318
);
322
public
:
void
SetXCoordinatePortSelectionOvrCtrl
323
(
324
NXOpen::Motion::ParamOverrideState
overrideState
325
);
329
public
:
NXOpen::Motion::ParamOverrideState
YCoordinatePortSelectionOvrCtrl
330
(
331
);
335
public
:
void
SetYCoordinatePortSelectionOvrCtrl
336
(
337
NXOpen::Motion::ParamOverrideState
overrideState
338
);
342
public
:
NXOpen::Motion::ParamOverrideState
ZCoordinatePortSelectionOvrCtrl
343
(
344
);
348
public
:
void
SetZCoordinatePortSelectionOvrCtrl
349
(
350
NXOpen::Motion::ParamOverrideState
overrideState
351
);
352
};
353
}
354
}
355
#ifdef _MSC_VER
356
#pragma warning(pop)
357
#endif
358
#ifdef __GNUC__
359
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
360
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
361
#endif
362
#endif
363
#undef EXPORTLIBRARY