NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_OverstockBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_OverstockBuilder.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.h>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/Expression.hxx>
22
#include <NXOpen/GeometricUtilities_OnPathDimensionBuilder.hxx>
23
#include <NXOpen/Builder.hxx>
24
#include <NXOpen/Routing_PathStockBuilder.hxx>
25
#include <NXOpen/Routing_RouteObjectCollector.hxx>
26
#include <NXOpen/libnxopencpp_routing_exports.hxx>
27
#ifdef _MSC_VER
28
#pragma warning(push)
29
#pragma warning(disable:4996)
30
#endif
31
#ifdef __GNUC__
32
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33
#endif
34
namespace
NXOpen
35
{
36
namespace
Routing
37
{
38
class
OverstockBuilder
;
39
}
40
class
Builder
;
41
class
Curve
;
42
class
Expression
;
43
namespace
GeometricUtilities
44
{
45
class
OnPathDimensionBuilder
;
46
}
47
namespace
Routing
48
{
49
class
PathStockBuilder
;
50
}
51
namespace
Routing
52
{
53
class
RouteObjectCollector
;
54
}
55
namespace
Routing
56
{
57
class
Stock
;
58
}
59
namespace
Routing
60
{
61
class
_OverstockBuilderBuilder;
62
class
OverstockBuilderImpl;
137
class
NXOPENCPP_ROUTINGEXPORT OverstockBuilder :
public
NXOpen::Builder
138
{
140
public
:
enum
ApplicationType
141
{
142
ApplicationTypeEntireSegments
,
143
ApplicationTypeInterval
,
144
ApplicationTypePointToPoint
,
145
ApplicationTypePointAndLength
146
};
147
148
public
:
enum
PointType
149
{
150
PointTypeStart
,
151
PointTypeMiddle
,
152
PointTypeEnd
153
};
154
155
public
:
enum
WrapType
156
{
157
WrapTypeOverlapSpiral
,
158
WrapTypeSpot
,
159
WrapTypeStripedSpiral
,
160
WrapTypeUnknown
161
};
162
private
:
OverstockBuilderImpl
* m_overstockbuilder_impl;
163
private
:
friend
class
_OverstockBuilderBuilder;
164
protected
:
OverstockBuilder
();
165
public
:
~OverstockBuilder
();
169
public
:
NXOpen::Routing::RouteObjectCollector
*
SegmentCollector
170
(
171
);
175
public
:
NXOpen::Routing::PathStockBuilder
*
StockSettings
176
(
177
);
181
public
:
void
SetStockSettings
182
(
183
NXOpen::Routing::PathStockBuilder
* stockBuilder
184
);
188
public
:
NXOpen::Routing::OverstockBuilder::ApplicationType
ApplicationMethod
189
(
190
);
194
public
:
void
SetApplicationMethod
195
(
196
NXOpen::Routing::OverstockBuilder::ApplicationType
applicationMethod
197
);
202
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
StartOffset
203
(
204
);
208
public
:
bool
StartOffsetLock
209
(
210
);
214
public
:
void
SetStartOffsetLock
215
(
216
bool
startOffsetLock
217
);
222
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
EndOffset
223
(
224
);
228
public
:
bool
EndOffsetLock
229
(
230
);
234
public
:
void
SetEndOffsetLock
235
(
236
bool
endOffsetLock
237
);
242
public
:
NXOpen::Expression
*
Distance
243
(
244
);
248
public
:
bool
DistanceLock
249
(
250
);
254
public
:
void
SetDistanceLock
255
(
256
bool
distanceLock
257
);
262
public
:
NXOpen::Expression
*
Gap
263
(
264
);
268
public
:
bool
GapLock
269
(
270
);
274
public
:
void
SetGapLock
275
(
276
bool
gapLock
277
);
282
public
:
NXOpen::Expression
*
IntervalPieceLength
283
(
284
);
288
public
:
bool
PieceLengthLock
289
(
290
);
294
public
:
void
SetPieceLengthLock
295
(
296
bool
pieceLengthLock
297
);
302
public
:
NXOpen::Expression
*
NumberOfPieces
303
(
304
);
308
public
:
bool
NumberOfPiecesLock
309
(
310
);
314
public
:
void
SetNumberOfPiecesLock
315
(
316
bool
numberOfPiecesLock
317
);
323
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
StartPoint
324
(
325
);
331
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
EndPoint
332
(
333
);
338
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
DefiningPoint
339
(
340
);
345
public
:
NXOpen::Routing::OverstockBuilder::PointType
PointDefines
346
(
347
);
352
public
:
void
SetPointDefines
353
(
354
NXOpen::Routing::OverstockBuilder::PointType
pointDefines
355
);
360
public
:
NXOpen::Expression
*
PieceLength
361
(
362
);
366
public
:
bool
SwitchStartEnd
367
(
368
);
372
public
:
void
SetSwitchStartEnd
373
(
374
bool
switchStartEnd
375
);
379
public
:
NXOpen::Routing::OverstockBuilder::WrapType
WrapMethod
380
(
381
);
385
public
:
void
SetWrapMethod
386
(
387
NXOpen::Routing::OverstockBuilder::WrapType
wrapMethod
388
);
393
public
:
NXOpen::Expression
*
OverlapPercentage
394
(
395
);
400
public
:
NXOpen::Expression
*
NumberOfWraps
401
(
402
);
407
public
:
NXOpen::Expression
*
GapDistance
408
(
409
);
413
public
:
bool
FlipStock
414
(
415
);
419
public
:
void
SetFlipStock
420
(
421
bool
flipStock
422
);
426
public
:
bool
SwapProfile
427
(
428
);
432
public
:
void
SetSwapProfile
433
(
434
bool
swapProfile
435
);
439
public
:
NXOpen::Expression
*
RotationValue
440
(
441
);
445
public
:
NXString
StockAnchor
446
(
447
);
451
public
:
void
SetStockAnchor
452
(
453
const
NXString
& anchorName
454
);
458
void
SetStockAnchor
459
(
460
const
char
* anchorName
461
);
465
public
:
NXOpen::Curve
*
PathCurve
466
(
467
);
471
public
:
void
UpdatePathCurve
472
(
473
);
477
public
: std::vector<NXOpen::Routing::Stock *>
GetCoveredStocks
478
(
479
);
483
public
:
void
SetCoveredStocks
484
(
485
const
std::vector<NXOpen::Routing::Stock *> & stocks
486
);
490
public
:
NXOpen::Expression
*
GetNumberOfLayers
491
(
492
);
496
public
:
void
SetNumberOfLayers
497
(
498
NXOpen::Expression
* numberOfLayers
499
);
503
public
:
bool
IsOverlapDefinedByNumberOfLayers
504
(
505
);
509
public
:
void
SetOverlapDefinedByNumberOfLayers
510
(
511
bool
isOverlapDefinedByNumberOfLayers
512
);
513
};
514
}
515
}
516
#ifdef _MSC_VER
517
#pragma warning(pop)
518
#endif
519
#ifdef __GNUC__
520
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
521
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
522
#endif
523
#endif
524
#undef EXPORTLIBRARY