NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_Human.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_Human.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/HumanReachZone.hxx>
22#include <NXOpen/Features_Feature.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_features_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Features
35 {
36 class Human;
37 }
38 namespace Features
39 {
40 class Feature;
41 }
42 class HumanReachZone;
43 class NXObject;
44 namespace Features
45 {
46 class _HumanBuilder;
47 class HumanImpl;
51 class NXOPENCPP_FEATURESEXPORT Human : public NXOpen::Features::Feature
52 {
53 private: HumanImpl * m_human_impl;
54 private: friend class _HumanBuilder;
55 protected: Human();
56 public: ~Human();
60 public: void CreateReachZone
61 (
62 int* index ,
63 NXOpen::HumanReachZone ** reachZone
64 );
69 (
70 NXOpen::NXObject * reachZoneGeom
71 );
75 public: void DeleteNthReachZone
76 (
77 int index
78 );
83 (
84 int index
85 );
89 public: int GetNumReachZones
90 (
91 );
96 (
97 const NXString & reachZoneName
98 );
103 (
104 const char * reachZoneName
105 );
109 public: void CheckHuman
110 (
111 NXOpen::Features::Human * baseHuman ,
112 bool checkHumanData ,
113 bool checkSegment ,
114 bool checkExpression ,
115 bool checkReachZone
116 );
120 public: void CreateHumanHands
121 (
122 );
126 public: void SetHandsData
127 (
128 bool create ,
129 int database ,
130 int gender ,
131 bool glovesOn ,
132 int side ,
133 double length ,
134 double breadth ,
135 double gloveT ,
136 bool forearmOn ,
137 const NXString & posture ,
138 const NXOpen::Matrix4x4 & xformMatrix
139 );
144 (
145 bool create ,
146 int database ,
147 int gender ,
148 bool glovesOn ,
149 int side ,
150 double length ,
151 double breadth ,
152 double gloveT ,
153 bool forearmOn ,
154 const char * posture ,
155 const NXOpen::Matrix4x4 & xformMatrix
156 );
160 public: void PostureHands
161 (
162 double app ,
163 const NXString & shapeName ,
164 bool postureOnly
165 );
170 (
171 double app ,
172 const char * shapeName ,
173 bool postureOnly
174 );
179 public: NX_DEPRECATED("Deprecated in NX2306.7000.0. Use JA_HUMAN_set_v10_data_3 instead.") void SetV10Data2
180 (
181 int gender ,
182 int age ,
183 int dbIndx ,
192 double headLength ,
193 double headBreadth ,
196 double chestCircum ,
197 double waistCircum ,
205 double handLength ,
206 double handBreadth ,
207 double handDepth ,
208 double footLength ,
209 double footBreadth ,
211 );
215 public: void SetV10Data3
216 (
217 int gender ,
218 int age ,
219 int dbIndx ,
220 int statureOpt ,
221 double customStatureCM ,
222 int weightOpt ,
223 double customWeightKG ,
225 double torsoHeightInput ,
227 double legLengthInput ,
228 double headLength ,
229 double headBreadth ,
231 double shoulderBreadthInput ,
232 double chestCircum ,
233 double waistCircum ,
235 double hipBreadthInput ,
237 double armLengthInput ,
238 double shoulderElbowLength ,
239 double elbowWristLength ,
240 double elbowFingertipLength ,
241 double handLength ,
242 double handBreadth ,
243 double handDepth ,
244 double footLength ,
245 double footBreadth ,
246 double shoeSoleHeight ,
247 double ankleHeight ,
248 double headHeight ,
249 double functionalLegLength ,
250 double sittingHeight
251 );
255 public: void ForceUpdate
256 (
257 );
261 public: void BootJackToolkit
262 (
263 );
264 };
265 }
266}
267#ifdef _MSC_VER
268#pragma warning(pop)
269#endif
270#ifdef __GNUC__
271#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
272#pragma GCC diagnostic warning "-Wdeprecated-declarations"
273#endif
274#endif
275#undef EXPORTLIBRARY