NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Die_PadChildBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Die_PadChildBuilder.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/Die.hxx>
22#include <NXOpen/Features_FeatureBuilder.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_die_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 Die
35 {
36 class PadChildBuilder;
37 }
38 namespace Features
39 {
40 class FeatureBuilder;
41 }
42 class ILocation;
43 class IOrientation;
44 class IProfile;
45 class IReferenceAxis;
46 class Point;
47 namespace Die
48 {
49 class _PadChildBuilderBuilder;
50 class PadChildBuilderImpl;
54 class NXOPENCPP_DIEEXPORT PadChildBuilder : public NXOpen::Features::FeatureBuilder
55 {
63 private: PadChildBuilderImpl * m_padchildbuilder_impl;
64 private: friend class _PadChildBuilderBuilder;
65 protected: PadChildBuilder();
66 public: ~PadChildBuilder();
70 public: void SetShape
71 (
73 const std::vector<NXOpen::IProfile *> & profileEntries
74 );
78 public: std::vector<NXOpen::IProfile *> GetShape
79 (
81 );
85 public: void SetLocation
86 (
87 NXOpen::ILocation * location
88 );
93 (
94 );
98 public: void TranslateLocation
99 (
100 const NXOpen::Vector3d & translateDist
101 );
106 (
107 NXOpen::IOrientation * orientationPlane
108 );
113 (
114 );
119 (
120 NXOpen::IReferenceAxis * locationOffsetDirection
121 );
126 (
127 );
132 (
133 NXOpen::IOrientation * limitingSurface
134 );
139 (
140 );
144 public: void SetHoleCenters
145 (
146 const std::vector<NXOpen::Point *> & holes
147 );
151 public: std::vector<NXOpen::Point *> GetHoleCenters
152 (
153 );
157 public: void SetSurfaceOffset
158 (
159 double surfaceOffset
160 );
164 public: double SurfaceOffset
165 (
166 );
170 public: void SetLocationOffset
171 (
172 double locationOffset
173 );
177 public: double LocationOffset
178 (
179 );
183 public: void SetDiameter
184 (
185 double diameter
186 );
190 public: double Diameter
191 (
192 );
196 public: void SetLength
197 (
198 double length
199 );
203 public: double Length
204 (
205 );
209 public: void SetWidth
210 (
211 double width
212 );
216 public: double Width
217 (
218 );
222 public: void SetHeight
223 (
224 double height
225 );
229 public: double Height
230 (
231 );
235 public: void SetReliefWidth
236 (
237 double reliefWidth
238 );
242 public: double ReliefWidth
243 (
244 );
248 public: void SetReliefDepth
249 (
250 double reliefDepth
251 );
255 public: double ReliefDepth
256 (
257 );
261 public: void SetHoleDiameter
262 (
263 double holeDiameter
264 );
268 public: double HoleDiameter
269 (
270 );
274 public: bool CenterHole
275 (
276 );
280 public: void SetCenterHole
281 (
282 bool centerHole
283 );
287 public: bool Relief
288 (
289 );
293 public: void SetRelief
294 (
295 bool relief
296 );
301 (
302 );
306 public: void SetShapeType
307 (
309 );
316 (
317 bool reverseOrientation
318 );
325 (
326 );
331 public: void GetHoleAttributes
332 (
333 NXString* title ,
334 NXString* value ,
335 int* color ,
336 NXString* diameterTitle
337 );
342 public: void SetHoleAttributes
343 (
344 const NXString & title ,
345 const NXString & value ,
346 int color ,
347 const NXString & diameterTitle
348 );
354 (
355 const char * title ,
356 const char * value ,
357 int color ,
358 const char * diameterTitle
359 );
364 public: void GetPadAttributes
365 (
366 NXString* title ,
367 NXString* value ,
368 int* color
369 );
374 public: void SetPadAttributes
375 (
376 const NXString & title ,
377 const NXString & value ,
378 int color
379 );
385 (
386 const char * title ,
387 const char * value ,
388 int color
389 );
395 (
396 NXString* title ,
397 NXString* value ,
398 int* color
399 );
405 (
406 const NXString & title ,
407 const NXString & value ,
408 int color
409 );
414 (
415 const char * title ,
416 const char * value ,
417 int color
418 );
422 public: void SetDesignStatus
423 (
424 bool designStatus
425 );
429 public: bool DesignStatus
430 (
431 );
436 (
437 );
442 public: void SetDisplayStatus
443 (
444 bool displayStatus
445 );
450 public: bool DisplayStatus
451 (
452 );
453 };
454 }
455}
456#ifdef _MSC_VER
457#pragma warning(pop)
458#endif
459#ifdef __GNUC__
460#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
461#pragma GCC diagnostic warning "-Wdeprecated-declarations"
462#endif
463#endif
464#undef EXPORTLIBRARY