NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
HumanData.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// HumanData.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/TransientObject.hxx>
22
#include <NXOpen/ugmath.hxx>
23
#include <NXOpen/libnxopencpp_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
class
HumanData
;
34
class
NXObject
;
35
class
HumanDataImpl;
39
class
NXOPENCPPEXPORT
HumanData
:
public
NXOpen::TransientObject
40
{
42
public
:
enum
DatabaseType
43
{
44
DatabaseTypeNone
,
45
DatabaseTypeANSUR
,
46
DatabaseTypeNHANES
47
};
48
49
public
:
enum
GenderType
50
{
51
GenderTypeMale
,
52
GenderTypeFemale
53
};
54
55
public
:
enum
AppearanceType
56
{
57
AppearanceTypeSegmented
,
58
AppearanceTypeBase
,
59
AppearanceTypeClothed
60
};
61
62
public
:
enum
StatureType
63
{
64
StatureTypePercentile99
,
65
StatureTypePercentile95
,
66
StatureTypePercentile50
,
67
StatureTypePercentile5
,
68
StatureTypePercentile1
,
69
StatureTypeCustom
,
70
StatureTypeRegress
71
};
72
73
public
:
enum
WeightType
74
{
75
WeightTypePercentile99
,
76
WeightTypePercentile95
,
77
WeightTypePercentile50
,
78
WeightTypePercentile5
,
79
WeightTypePercentile1
,
80
WeightTypeCustom
,
81
WeightTypeRegress
82
};
83
84
public
:
enum
ReferencePointType
85
{
86
ReferencePointTypeNo
,
87
ReferencePointTypeLeftEye
,
88
ReferencePointTypeRightEye
,
89
ReferencePointTypeHPoint
,
90
ReferencePointTypeLeftToe
,
91
ReferencePointTypeRightToe
,
92
ReferencePointTypeNumberReferences
93
};
94
95
public
:
enum
StatureUnitType
96
{
97
StatureUnitTypeInch
,
98
StatureUnitTypeMm
,
99
StatureUnitTypeCm
,
100
StatureUnitTypeM
101
};
102
103
public
:
enum
WeightUnitType
104
{
105
WeightUnitTypeLb
,
106
WeightUnitTypeKg
107
};
108
109
public
:
enum
AdvancedScalingType
110
{
111
AdvancedScalingTypeAbdominalDepth
,
112
AdvancedScalingTypeAcromionHeight
,
113
AdvancedScalingTypeAnkleHeight
,
114
AdvancedScalingTypeArmLength
,
115
AdvancedScalingTypeBiacromialBreadth
,
116
AdvancedScalingTypeBideltoidBreadth
,
117
AdvancedScalingTypeButtockKneeLength
,
118
AdvancedScalingTypeElbowFingertipLength
,
119
AdvancedScalingTypeElbowRestHeight
,
120
AdvancedScalingTypeFootBreadth
,
121
AdvancedScalingTypeFootLength
,
122
AdvancedScalingTypeHandBreadth
,
123
AdvancedScalingTypeHandLength
,
124
AdvancedScalingTypeHeadBreadth
,
125
AdvancedScalingTypeHeadHeight
,
126
AdvancedScalingTypeHeadLength
,
127
AdvancedScalingTypeHipBreadth
,
128
AdvancedScalingTypeInterpupilDistance
,
129
AdvancedScalingTypeShoulderElbowLength
,
130
AdvancedScalingTypeSittingAcromialHeight
,
131
AdvancedScalingTypeSittingEyeHeight
,
132
AdvancedScalingTypeSittingHeight
,
133
AdvancedScalingTypeSittingKneeHeight
,
134
AdvancedScalingTypeThighClearance
,
135
AdvancedScalingTypeThumbtipReach
136
};
137
138
public
:
enum
SegmentScalingType
139
{
140
SegmentScalingTypeHead
,
141
SegmentScalingTypeNeck
,
142
SegmentScalingTypeTorso
,
143
SegmentScalingTypeUpperArm
,
144
SegmentScalingTypeLowerArm
,
145
SegmentScalingTypeHand
,
146
SegmentScalingTypeLowerTorso
,
147
SegmentScalingTypeUpperLeg
,
148
SegmentScalingTypeLowerLeg
,
149
SegmentScalingTypeFoot
150
};
151
152
public
:
enum
JointType
153
{
154
JointTypeBaseOfNeck
,
155
JointTypeLeftShoulder
,
156
JointTypeRightShoulder
,
157
JointTypeTorso
,
158
JointTypeLeftElbow
,
159
JointTypeRightElbow
,
160
JointTypeLeftWrist
,
161
JointTypeRightWrist
,
162
JointTypeLthumbAxis
,
163
JointTypeLthumb0
,
164
JointTypeLthumb1
,
165
JointTypeLthumb2
,
166
JointTypeLeftFinger00
,
167
JointTypeLinfinger01
,
168
JointTypeLinfinger02
,
169
JointTypeLeftFinger10
,
170
JointTypeLmidfinger11
,
171
JointTypeLmidfinger12
,
172
JointTypeLeftFinger20
,
173
JointTypeLringfinger21
,
174
JointTypeLringfinger22
,
175
JointTypeLeftFinger30
,
176
JointTypeLpinfinger31
,
177
JointTypeLpinfinger32
,
178
JointTypeRthumb0
,
179
JointTypeRthumbAxis
,
180
JointTypeRthumb1
,
181
JointTypeRthumb2
,
182
JointTypeRightFinger00
,
183
JointTypeRinfinger01
,
184
JointTypeRinfinger02
,
185
JointTypeRightFinger10
,
186
JointTypeRmidfinger11
,
187
JointTypeRmidfinger12
,
188
JointTypeRightFinger20
,
189
JointTypeRringfinger21
,
190
JointTypeRringfinger22
,
191
JointTypeRightFinger30
,
192
JointTypeRpinfinger31
,
193
JointTypeRpinfinger32
,
194
JointTypeWaist
,
195
JointTypeLeftHip
,
196
JointTypeRightHip
,
197
JointTypeLeftKnee
,
198
JointTypeRightKnee
,
199
JointTypeLeftAnkle
,
200
JointTypeRightAnkle
,
201
JointTypeLeftToes
,
202
JointTypeRightToes
203
};
204
205
public
:
enum
InverseKinematicsType
206
{
207
InverseKinematicsTypeDynamicDrag
,
208
InverseKinematicsTypeActiveReach
209
};
210
211
public
:
enum
InverseKinematicsBodyParts
212
{
213
InverseKinematicsBodyPartsHead
,
214
InverseKinematicsBodyPartsEyes
,
215
InverseKinematicsBodyPartsLeftHand
,
216
InverseKinematicsBodyPartsRightHand
,
217
InverseKinematicsBodyPartsLeftElbow
,
218
InverseKinematicsBodyPartsRightElbow
,
219
InverseKinematicsBodyPartsLeftKnee
,
220
InverseKinematicsBodyPartsRightKnee
,
221
InverseKinematicsBodyPartsLeftFoot
,
222
InverseKinematicsBodyPartsRightFoot
,
223
InverseKinematicsBodyPartsCenterOfMass
224
};
225
226
public
:
enum
InverseKinematicsInitJoint
227
{
228
InverseKinematicsInitJointShoulder
,
229
InverseKinematicsInitJointWaist
230
};
231
232
public
:
enum
InverseKinematicsBalanceType
233
{
234
InverseKinematicsBalanceTypeAllowStep
,
235
InverseKinematicsBalanceTypeNoStep
,
236
InverseKinematicsBalanceTypeKeepSeated
237
};
238
239
public
:
enum
InverseKinematicsHeadEyeType
240
{
241
InverseKinematicsHeadEyeTypeFollowLastDefined
,
242
InverseKinematicsHeadEyeTypeFixate
243
};
244
245
public
:
enum
HandGoalType
246
{
247
HandGoalTypeGoalPoint
,
248
HandGoalTypeGoalCsys
,
249
HandGoalTypeHandFigure
250
};
251
252
public
:
enum
HandFootType
253
{
254
HandFootTypeHand
,
255
HandFootTypeFoot
256
};
257
258
public
:
enum
SideType
259
{
260
SideTypeLeft
,
261
SideTypeRight
,
262
SideTypeCenter
263
};
264
265
public
:
enum
EditDisplayBodyParts
266
{
267
EditDisplayBodyPartsLeftEyePoint
,
268
EditDisplayBodyPartsRightEyePoint
,
269
EditDisplayBodyPartsMidEyePoint
,
270
EditDisplayBodyPartsHipPoint
,
271
EditDisplayBodyPartsLeftToePoint
,
272
EditDisplayBodyPartsRightToePoint
,
273
EditDisplayBodyPartsLeftHeelPoint
,
274
EditDisplayBodyPartsRightHeelPoint
,
275
EditDisplayBodyPartsCenterOfMass
,
276
EditDisplayBodyPartsAll
277
};
278
279
public
:
enum
HcpBodyPart
280
{
281
HcpBodyPartHead
,
282
HcpBodyPartLeftHand
,
283
HcpBodyPartRightHand
,
284
HcpBodyPartLeftElbow
,
285
HcpBodyPartRightElbow
,
286
HcpBodyPartPelvis
,
287
HcpBodyPartLeftFoot
,
288
HcpBodyPartRightFoot
,
289
HcpBodyPartLeftKnee
,
290
HcpBodyPartRightKnee
,
291
HcpBodyPartTorso
292
};
293
294
public
:
enum
HcpPostureSolveType
295
{
296
HcpPostureSolveTypeStanding
,
297
HcpPostureSolveTypeSeated
298
};
299
300
public
:
enum
HcpMirrorOptionType
301
{
302
HcpMirrorOptionTypeNone
,
303
HcpMirrorOptionTypeLeftMirrorsRight
,
304
HcpMirrorOptionTypeRightMirrorsLeft
305
};
306
307
public
:
enum
HcpHandGoalOption
308
{
309
HcpHandGoalOptionPalmcenter
,
310
HcpHandGoalOptionThumbTip
,
311
HcpHandGoalOptionIndexFingerTip
,
312
HcpHandGoalOptionMiddleFingerTip
313
};
314
315
public
:
enum
HcpFootGoalOption
316
{
317
HcpFootGoalOptionAnkle
,
318
HcpFootGoalOptionHeel
319
};
320
321
public
:
enum
AdvancedAnthroMeasure
322
{
323
AdvancedAnthroMeasureStature
,
324
AdvancedAnthroMeasureWeight
,
325
AdvancedAnthroMeasureHeadCirc
,
326
AdvancedAnthroMeasureChestCirc
,
327
AdvancedAnthroMeasureWaistCirc
,
328
AdvancedAnthroMeasureHipCirc
,
329
AdvancedAnthroMeasureHipBdt
,
330
AdvancedAnthroMeasureSittingHgt
,
331
AdvancedAnthroMeasureElbowWristLen
,
332
AdvancedAnthroMeasureBiacromialBdt
,
333
AdvancedAnthroMeasureBideltoidBdt
,
334
AdvancedAnthroMeasureKneeHgt
,
335
AdvancedAnthroMeasureAgeYears
,
336
AdvancedAnthroMeasureHandLen
,
337
AdvancedAnthroMeasureHandBdt
,
338
AdvancedAnthroMeasureHandDpt
,
339
AdvancedAnthroMeasureFootLen
,
340
AdvancedAnthroMeasureFootBdt
,
341
AdvancedAnthroMeasureShoeSoleHgt
,
342
AdvancedAnthroMeasureHeadBdt
,
343
AdvancedAnthroMeasureHeadLen
,
344
AdvancedAnthroMeasureAcromialHgt
,
345
AdvancedAnthroMeasureSittingAcromialHgt
,
346
AdvancedAnthroMeasureSittingEyeHgt
,
347
AdvancedAnthroMeasureButtockKneeLen
,
348
AdvancedAnthroMeasureArmLen
,
349
AdvancedAnthroMeasureThumbTipReach
,
350
AdvancedAnthroMeasureShoulderElbowLen
,
351
AdvancedAnthroMeasureElbowFingerTipLen
,
352
AdvancedAnthroMeasureAbdominalDpt
,
353
AdvancedAnthroMeasureChestDpt
,
354
AdvancedAnthroMeasureThighClearance
,
355
AdvancedAnthroMeasureAnkleHgt
,
356
AdvancedAnthroMeasureHeadHgt
,
357
AdvancedAnthroMeasureFunctionalLegLen
,
358
AdvancedAnthroMeasureFingerTipReach
,
359
AdvancedAnthroMeasureGripReach
,
360
AdvancedAnthroMeasureCount
361
};
362
private
:
HumanDataImpl
* m_humandata_impl;
364
public
:
explicit
HumanData
(
void
*ptr);
366
369
public
:
virtual
~HumanData
();
373
public
:
NXString
Name
374
(
375
);
379
public
:
NXString
FigureFile
380
(
381
);
385
public
:
NXOpen::HumanData::GenderType
Gender
386
(
387
);
391
public
:
NXOpen::HumanData::StatureType
StatureOption
392
(
393
);
397
public
:
double
StatureValue
398
(
399
);
403
public
:
NXOpen::HumanData::WeightType
WeightOption
404
(
405
);
409
public
:
double
WeightValue
410
(
411
);
415
public
:
bool
AssocReferencePoint
416
(
417
);
421
public
:
NXOpen::HumanData::ReferencePointType
ReferencePointLocationType
422
(
423
);
427
public
:
NXOpen::NXObject
*
ReferencePoint
428
(
429
);
433
public
:
void
GetXform
434
(
435
NXOpen::Matrix3x3
* orientation ,
436
NXOpen::Point3d
* position
437
);
438
};
//lint !e1712 default constructor not defined for class
439
}
440
#ifdef _MSC_VER
441
#pragma warning(pop)
442
#endif
443
#ifdef __GNUC__
444
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
445
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
446
#endif
447
#endif
448
#undef EXPORTLIBRARY