NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_JointDefine.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_JointDefine.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/Motion.hxx>
23
#include <NXOpen/TaggedObject.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
JointDefine
;
38
}
39
namespace
CAE
40
{
41
class
Function
;
42
}
43
class
CoordinateSystem
;
44
class
Direction
;
45
class
Expression
;
46
namespace
Motion
47
{
48
class
SelectFieldData
;
49
}
50
namespace
Motion
51
{
52
class
SelectLink
;
53
}
54
class
Point
;
55
namespace
Motion
56
{
57
class
_JointDefineBuilder;
58
class
JointDefineImpl;
63
class
NXOPENCPP_MOTIONEXPORT JointDefine :
public
NXOpen::TaggedObject
64
{
66
public
:
enum
Type
67
{
68
TypeRevolute
,
72
TypeSlider
,
76
TypeCylindrical
,
79
TypeScrew
,
84
TypeUniversal
,
89
TypeSpherical
,
92
TypePlanar
,
96
TypeFixed
,
98
TypeConstantvelocity
,
104
TypeAtpoint
,
106
TypeInline
,
111
TypeInplane
,
117
TypeOrientation
,
123
TypeParallel
,
129
TypePerpendicular
134
};
135
136
public
:
enum
OrientationType
137
{
138
OrientationTypeVector
,
139
OrientationTypeCsys
140
};
141
142
public
:
enum
ScrewJointMethodType
143
{
144
ScrewJointMethodTypeRatio
,
145
ScrewJointMethodTypeDisplacementcurve
146
};
147
148
public
:
enum
ScrewJointRatioType
149
{
150
ScrewJointRatioTypeExpression
,
151
ScrewJointRatioTypeSpline
,
152
ScrewJointRatioTypeProfile
153
};
154
155
public
:
enum
ScrewJointDisplCurveType
156
{
157
ScrewJointDisplCurveTypeSpline
,
158
ScrewJointDisplCurveTypeProfile
159
};
160
private
:
JointDefineImpl
* m_jointdefine_impl;
161
private
:
friend
class
_JointDefineBuilder;
162
protected
:
JointDefine
();
163
public
:
~JointDefine
();
167
public
:
NXOpen::Motion::JointDefine::Type
JointType
168
(
169
);
173
public
:
void
SetJointType
174
(
175
NXOpen::Motion::JointDefine::Type
jointType
176
);
180
public
:
double
DisplayScale
181
(
182
);
186
public
:
void
SetDisplayScale
187
(
188
double
displayScale
189
);
193
public
:
NXString
Name
194
(
195
);
199
public
:
void
SetName
200
(
201
const
NXString
& jointName
202
);
206
void
SetName
207
(
208
const
char
* jointName
209
);
213
public
:
NXOpen::Motion::ParamOverrideState
SnapLinksOvrCtrl
214
(
215
);
219
public
:
void
SetSnapLinksOvrCtrl
220
(
221
NXOpen::Motion::ParamOverrideState
overrideState
222
);
226
public
:
bool
SnapLinks
227
(
228
);
232
public
:
void
SetSnapLinks
233
(
234
bool
snapLinks
235
);
239
public
:
NXOpen::Motion::ParamOverrideState
FirstLinkSelectionOvrCtrl
240
(
241
);
245
public
:
void
SetFirstLinkSelectionOvrCtrl
246
(
247
NXOpen::Motion::ParamOverrideState
overrideState
248
);
252
public
:
NXOpen::Motion::SelectLink
*
FirstLinkSelection
253
(
254
);
258
public
:
NXOpen::Motion::ParamOverrideState
FirstOriginOvrCtrl
259
(
260
);
264
public
:
void
SetFirstOriginOvrCtrl
265
(
266
NXOpen::Motion::ParamOverrideState
overrideState
267
);
271
public
:
NXOpen::Point
*
FirstOrigin
272
(
273
);
277
public
:
void
SetFirstOrigin
278
(
279
NXOpen::Point
* firstOrigin
280
);
284
public
:
NXOpen::Motion::ParamOverrideState
FirstOrientationTypeOvrCtrl
285
(
286
);
290
public
:
void
SetFirstOrientationTypeOvrCtrl
291
(
292
NXOpen::Motion::ParamOverrideState
overrideState
293
);
297
public
:
NXOpen::Motion::JointDefine::OrientationType
FirstOrientationType
298
(
299
);
303
public
:
void
SetFirstOrientationType
304
(
305
NXOpen::Motion::JointDefine::OrientationType
orientationType
306
);
310
public
:
NXOpen::Motion::ParamOverrideState
FirstVectorOvrCtrl
311
(
312
);
316
public
:
void
SetFirstVectorOvrCtrl
317
(
318
NXOpen::Motion::ParamOverrideState
overrideState
319
);
323
public
:
NXOpen::Direction
*
FirstVector
324
(
325
);
329
public
:
void
SetFirstVector
330
(
331
NXOpen::Direction
* firstVector
332
);
336
public
:
NXOpen::Motion::ParamOverrideState
FirstCsysOvrCtrl
337
(
338
);
342
public
:
void
SetFirstCsysOvrCtrl
343
(
344
NXOpen::Motion::ParamOverrideState
overrideState
345
);
349
public
:
NXOpen::CoordinateSystem
*
FirstCsys
350
(
351
);
355
public
:
void
SetFirstCsys
356
(
357
NXOpen::CoordinateSystem
* firstCsys
358
);
362
public
:
NXOpen::Motion::ParamOverrideState
SecondLinkSelectionOvrCtrl
363
(
364
);
368
public
:
void
SetSecondLinkSelectionOvrCtrl
369
(
370
NXOpen::Motion::ParamOverrideState
overrideState
371
);
375
public
:
NXOpen::Motion::SelectLink
*
SecondLinkSelection
376
(
377
);
381
public
:
NXOpen::Motion::ParamOverrideState
SecondOriginOvrCtrl
382
(
383
);
387
public
:
void
SetSecondOriginOvrCtrl
388
(
389
NXOpen::Motion::ParamOverrideState
overrideState
390
);
394
public
:
NXOpen::Point
*
SecondOrigin
395
(
396
);
400
public
:
void
SetSecondOrigin
401
(
402
NXOpen::Point
* secondOrigin
403
);
407
public
:
NXOpen::Motion::ParamOverrideState
SecondOrientationTypeOvrCtrl
408
(
409
);
413
public
:
void
SetSecondOrientationTypeOvrCtrl
414
(
415
NXOpen::Motion::ParamOverrideState
overrideState
416
);
420
public
:
NXOpen::Motion::JointDefine::OrientationType
SecondOrientationType
421
(
422
);
426
public
:
void
SetSecondOrientationType
427
(
428
NXOpen::Motion::JointDefine::OrientationType
orientationType
429
);
433
public
:
NXOpen::Motion::ParamOverrideState
SecondVectorOvrCtrl
434
(
435
);
439
public
:
void
SetSecondVectorOvrCtrl
440
(
441
NXOpen::Motion::ParamOverrideState
overrideState
442
);
446
public
:
NXOpen::Direction
*
SecondVector
447
(
448
);
452
public
:
void
SetSecondVector
453
(
454
NXOpen::Direction
* secondVector
455
);
459
public
:
NXOpen::Motion::ParamOverrideState
SecondCsysOvrCtrl
460
(
461
);
465
public
:
void
SetSecondCsysOvrCtrl
466
(
467
NXOpen::Motion::ParamOverrideState
overrideState
468
);
472
public
:
NXOpen::CoordinateSystem
*
SecondCsys
473
(
474
);
478
public
:
void
SetSecondCsys
479
(
480
NXOpen::CoordinateSystem
* secondCsys
481
);
485
public
:
NXOpen::Motion::ParamOverrideState
UpperLimitDefinedOvrCtrl
486
(
487
);
491
public
:
void
SetUpperLimitDefinedOvrCtrl
492
(
493
NXOpen::Motion::ParamOverrideState
overrideState
494
);
498
public
:
bool
UpperLimitDefined
499
(
500
);
504
public
:
void
SetUpperLimitDefined
505
(
506
bool
limitDefined
507
);
511
public
:
NXOpen::Motion::ParamOverrideState
LowerLimitDefinedOvrCtrl
512
(
513
);
517
public
:
void
SetLowerLimitDefinedOvrCtrl
518
(
519
NXOpen::Motion::ParamOverrideState
overrideState
520
);
524
public
:
bool
LowerLimitDefined
525
(
526
);
530
public
:
void
SetLowerLimitDefined
531
(
532
bool
limitDefined
533
);
537
public
:
NXOpen::Motion::ParamOverrideState
MethodTypeOvrCtrl
538
(
539
);
543
public
:
void
SetMethodTypeOvrCtrl
544
(
545
NXOpen::Motion::ParamOverrideState
overrideState
546
);
550
public
:
NXOpen::Motion::JointDefine::ScrewJointMethodType
MethodType
551
(
552
);
556
public
:
void
SetMethodType
557
(
558
NXOpen::Motion::JointDefine::ScrewJointMethodType
methodType
559
);
563
public
:
NXOpen::Motion::ParamOverrideState
RatioTypeOvrCtrl
564
(
565
);
569
public
:
void
SetRatioTypeOvrCtrl
570
(
571
NXOpen::Motion::ParamOverrideState
overrideState
572
);
576
public
:
NXOpen::Motion::JointDefine::ScrewJointRatioType
RatioType
577
(
578
);
582
public
:
void
SetRatioType
583
(
584
NXOpen::Motion::JointDefine::ScrewJointRatioType
ratioType
585
);
589
public
:
NXOpen::Motion::ParamOverrideState
DisplCurveTypeOvrCtrl
590
(
591
);
595
public
:
void
SetDisplCurveTypeOvrCtrl
596
(
597
NXOpen::Motion::ParamOverrideState
overrideState
598
);
602
public
:
NXOpen::Motion::JointDefine::ScrewJointDisplCurveType
DisplCurveType
603
(
604
);
608
public
:
void
SetDisplCurveType
609
(
610
NXOpen::Motion::JointDefine::ScrewJointDisplCurveType
displCurveType
611
);
615
public
:
NXOpen::Motion::ParamOverrideState
ScrewRatioExpressionOvrCtrl
616
(
617
);
621
public
:
void
SetScrewRatioExpressionOvrCtrl
622
(
623
NXOpen::Motion::ParamOverrideState
overrideState
624
);
631
public
:
NXOpen::Expression
*
ScrewRatioExpression
632
(
633
);
637
public
:
NXOpen::Motion::ParamOverrideState
ScrewSplineFunctionOvrCtrl
638
(
639
);
643
public
:
void
SetScrewSplineFunctionOvrCtrl
644
(
645
NXOpen::Motion::ParamOverrideState
overrideState
646
);
651
public
:
NXOpen::CAE::Function
*
ScrewSplineFunction
652
(
653
);
658
public
:
void
SetScrewSplineFunction
659
(
660
NXOpen::CAE::Function
* splineFunction
661
);
665
public
:
NXOpen::Motion::ParamOverrideState
ScrewDisplCurveFunctionOvrCtrl
666
(
667
);
671
public
:
void
SetScrewDisplCurveFunctionOvrCtrl
672
(
673
NXOpen::Motion::ParamOverrideState
overrideState
674
);
679
public
:
NXOpen::CAE::Function
*
ScrewDisplCurveFunction
680
(
681
);
686
public
:
void
SetScrewDisplCurveFunction
687
(
688
NXOpen::CAE::Function
* displCurveFunction
689
);
693
public
:
NXOpen::Motion::ParamOverrideState
UpperLimitExpressionOvrCtrl
694
(
695
);
699
public
:
void
SetUpperLimitExpressionOvrCtrl
700
(
701
NXOpen::Motion::ParamOverrideState
overrideState
702
);
706
public
:
NXOpen::Expression
*
UpperLimitExpression
707
(
708
);
712
public
:
NXOpen::Motion::ParamOverrideState
LowerLimitExpressionOvrCtrl
713
(
714
);
718
public
:
void
SetLowerLimitExpressionOvrCtrl
719
(
720
NXOpen::Motion::ParamOverrideState
overrideState
721
);
725
public
:
NXOpen::Expression
*
LowerLimitExpression
726
(
727
);
731
public
:
NXOpen::Motion::ParamOverrideState
UpperLimitAngleExpressionOvrCtrl
732
(
733
);
737
public
:
void
SetUpperLimitAngleExpressionOvrCtrl
738
(
739
NXOpen::Motion::ParamOverrideState
overrideState
740
);
744
public
:
NXOpen::Expression
*
UpperLimitAngleExpression
745
(
746
);
750
public
:
NXOpen::Motion::ParamOverrideState
LowerLimitAngleExpressionOvrCtrl
751
(
752
);
756
public
:
void
SetLowerLimitAngleExpressionOvrCtrl
757
(
758
NXOpen::Motion::ParamOverrideState
overrideState
759
);
763
public
:
NXOpen::Expression
*
LowerLimitAngleExpression
764
(
765
);
769
public
:
NXOpen::Motion::ParamOverrideState
ExcludeXConstraintOvrCtrl
770
(
771
);
775
public
:
void
SetExcludeXConstraintOvrCtrl
776
(
777
NXOpen::Motion::ParamOverrideState
overrideState
778
);
783
public
:
bool
ExcludeXConstraint
784
(
785
);
790
public
:
void
SetExcludeXConstraint
791
(
792
bool
excludeXConstraint
793
);
797
public
:
NXOpen::Motion::ParamOverrideState
ExcludeYConstraintOvrCtrl
798
(
799
);
803
public
:
void
SetExcludeYConstraintOvrCtrl
804
(
805
NXOpen::Motion::ParamOverrideState
overrideState
806
);
811
public
:
bool
ExcludeYConstraint
812
(
813
);
818
public
:
void
SetExcludeYConstraint
819
(
820
bool
excludeYConstraint
821
);
825
public
:
NXOpen::Motion::ParamOverrideState
ExcludeZConstraintOvrCtrl
826
(
827
);
831
public
:
void
SetExcludeZConstraintOvrCtrl
832
(
833
NXOpen::Motion::ParamOverrideState
overrideState
834
);
839
public
:
bool
ExcludeZConstraint
840
(
841
);
846
public
:
void
SetExcludeZConstraint
847
(
848
bool
excludeZConstraint
849
);
853
public
:
NXOpen::Motion::ParamOverrideState
ExcludeRxConstraintOvrCtrl
854
(
855
);
859
public
:
void
SetExcludeRxConstraintOvrCtrl
860
(
861
NXOpen::Motion::ParamOverrideState
overrideState
862
);
867
public
:
bool
ExcludeRxConstraint
868
(
869
);
874
public
:
void
SetExcludeRxConstraint
875
(
876
bool
excludeRxConstraint
877
);
881
public
:
NXOpen::Motion::ParamOverrideState
ExcludeRyConstraintOvrCtrl
882
(
883
);
887
public
:
void
SetExcludeRyConstraintOvrCtrl
888
(
889
NXOpen::Motion::ParamOverrideState
overrideState
890
);
895
public
:
bool
ExcludeRyConstraint
896
(
897
);
902
public
:
void
SetExcludeRyConstraint
903
(
904
bool
excludeRyConstraint
905
);
909
public
:
NXOpen::Motion::ParamOverrideState
ExcludeRzConstraintOvrCtrl
910
(
911
);
915
public
:
void
SetExcludeRzConstraintOvrCtrl
916
(
917
NXOpen::Motion::ParamOverrideState
overrideState
918
);
923
public
:
bool
ExcludeRzConstraint
924
(
925
);
930
public
:
void
SetExcludeRzConstraint
931
(
932
bool
excludeRzConstraint
933
);
937
public
:
NXOpen::Motion::ParamOverrideState
RotationAllowedOvrCtrl
938
(
939
);
943
public
:
void
SetRotationAllowedOvrCtrl
944
(
945
NXOpen::Motion::ParamOverrideState
overrideState
946
);
951
public
:
bool
RotationAllowed
952
(
953
);
958
public
:
void
SetRotationAllowed
959
(
960
bool
rotationAllowed
961
);
965
public
:
NXOpen::Motion::ParamOverrideState
TranslationAllowedOvrCtrl
966
(
967
);
971
public
:
void
SetTranslationAllowedOvrCtrl
972
(
973
NXOpen::Motion::ParamOverrideState
overrideState
974
);
979
public
:
bool
TranslationAllowed
980
(
981
);
986
public
:
void
SetTranslationAllowed
987
(
988
bool
translationAllowed
989
);
993
public
:
NXOpen::Motion::ParamOverrideState
ScrewRatioProfileOvrCtrl
994
(
995
);
999
public
:
void
SetScrewRatioProfileOvrCtrl
1000
(
1001
NXOpen::Motion::ParamOverrideState
overrideState
1002
);
1006
public
:
NXOpen::Motion::SelectFieldData
*
ScrewRatioProfile
1007
(
1008
);
1012
public
:
NXOpen::Motion::ParamOverrideState
ScrewDisplCurveProfileOvrCtrl
1013
(
1014
);
1018
public
:
void
SetScrewDisplCurveProfileOvrCtrl
1019
(
1020
NXOpen::Motion::ParamOverrideState
overrideState
1021
);
1025
public
:
NXOpen::Motion::SelectFieldData
*
ScrewDisplCurveProfile
1026
(
1027
);
1031
public
:
NXOpen::Motion::ParamOverrideState
ActionSpinVectorOvrCtrl
1032
(
1033
);
1037
public
:
void
SetActionSpinVectorOvrCtrl
1038
(
1039
NXOpen::Motion::ParamOverrideState
overrideState
1040
);
1045
public
:
NXOpen::Direction
*
ActionSpinVector
1046
(
1047
);
1052
public
:
void
SetActionSpinVector
1053
(
1054
NXOpen::Direction
* actionSpinVector
1055
);
1059
public
:
NXOpen::Motion::ParamOverrideState
ActionCrossPinVectorOvrCtrl
1060
(
1061
);
1065
public
:
void
SetActionCrossPinVectorOvrCtrl
1066
(
1067
NXOpen::Motion::ParamOverrideState
overrideState
1068
);
1073
public
:
NXOpen::Direction
*
ActionCrossPinVector
1074
(
1075
);
1080
public
:
void
SetActionCrossPinVector
1081
(
1082
NXOpen::Direction
* actionCrossPinVector
1083
);
1087
public
:
NXOpen::Motion::ParamOverrideState
BaseSpinVectorOvrCtrl
1088
(
1089
);
1093
public
:
void
SetBaseSpinVectorOvrCtrl
1094
(
1095
NXOpen::Motion::ParamOverrideState
overrideState
1096
);
1101
public
:
NXOpen::Direction
*
BaseSpinVector
1102
(
1103
);
1108
public
:
void
SetBaseSpinVector
1109
(
1110
NXOpen::Direction
* baseSpinVector
1111
);
1115
public
:
NXOpen::Motion::ParamOverrideState
BaseCrossPinVectorOvrCtrl
1116
(
1117
);
1121
public
:
void
SetBaseCrossPinVectorOvrCtrl
1122
(
1123
NXOpen::Motion::ParamOverrideState
overrideState
1124
);
1129
public
:
NXOpen::Direction
*
BaseCrossPinVector
1130
(
1131
);
1136
public
:
void
SetBaseCrossPinVector
1137
(
1138
NXOpen::Direction
* baseCrossPinVector
1139
);
1140
};
1141
}
1142
}
1143
#ifdef _MSC_VER
1144
#pragma warning(pop)
1145
#endif
1146
#ifdef __GNUC__
1147
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1148
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1149
#endif
1150
#endif
1151
#undef EXPORTLIBRARY