NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_RoadBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_RoadBuilder.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/ExternalFileReferenceAdapter.hxx>
23
#include <NXOpen/Motion.hxx>
24
#include <NXOpen/Motion_Road.hxx>
25
#include <NXOpen/Motion_SegmentBuilder.hxx>
26
#include <NXOpen/IExternalFileReferencer.hxx>
27
#include <NXOpen/Motion_MotionBuilder.hxx>
28
#include <NXOpen/ObjectList.hxx>
29
#include <NXOpen/SelectObject.hxx>
30
#include <NXOpen/libnxopencpp_motion_exports.hxx>
31
#ifdef _MSC_VER
32
#pragma warning(push)
33
#pragma warning(disable:4996)
34
#endif
35
#ifdef __GNUC__
36
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
37
#endif
38
namespace
NXOpen
39
{
40
namespace
Motion
41
{
42
class
RoadBuilder
;
43
}
44
class
CoordinateSystem
;
45
class
Expression
;
46
class
ExternalFileReferenceAdapter
;
47
class
IExternalFileReferencer
;
48
namespace
Motion
49
{
50
class
MotionBuilder
;
51
}
52
namespace
Motion
53
{
54
class
MotionFunction
;
55
}
56
namespace
Motion
57
{
58
class
Road
;
59
}
60
namespace
Motion
61
{
62
class
SegmentBuilder
;
63
}
64
namespace
Motion
65
{
66
class
SegmentBuilderList
;
67
}
68
namespace
Motion
69
{
70
class
SelectFieldData
;
71
}
72
namespace
Motion
73
{
74
class
SelectLink
;
75
}
76
class
NXColor
;
77
class
Point
;
78
namespace
Motion
79
{
80
class
_RoadBuilderBuilder;
81
class
RoadBuilderImpl;
87
class
NXOPENCPP_MOTIONEXPORT RoadBuilder :
public
NXOpen::Motion::MotionBuilder
,
public
virtual
NXOpen::IExternalFileReferencer
88
{
90
public
:
enum
TypeChoices
91
{
92
TypeChoicesSurface
,
93
TypeChoicesPath
94
};
95
96
public
:
enum
SurfaceDatatypeChoices
97
{
98
SurfaceDatatypeChoicesSplineCurve
,
99
SurfaceDatatypeChoicesSplineSurface
,
100
SurfaceDatatypeChoicesRsm1000
,
101
SurfaceDatatypeChoicesRsm1002
,
102
SurfaceDatatypeChoicesRsm2000
,
103
SurfaceDatatypeChoicesRsm3000
,
104
SurfaceDatatypeChoicesOpenCRG
,
105
SurfaceDatatypeChoicesRoadDataFile
,
106
SurfaceDatatypeChoicesProfile2D
107
};
108
109
public
:
enum
PathDatatypeChoices
110
{
111
PathDatatypeChoicesSplineCurves
,
112
PathDatatypeChoicesSegments
,
113
PathDatatypeChoicesFileImport
114
};
115
116
public
:
enum
SplineDatatypeChoices
117
{
118
SplineDatatypeChoicesFunction
,
119
SplineDatatypeChoicesProfile2D
120
};
121
122
public
:
enum
ReferenceObjectId
123
{
124
ReferenceObjectIdSurfaceFile
,
125
ReferenceObjectIdPathFile
126
};
127
private
:
RoadBuilderImpl
* m_roadbuilder_impl;
128
private
:
friend
class
_RoadBuilderBuilder;
129
protected
:
RoadBuilder
();
130
public
:
~RoadBuilder
();
134
public
:
NXString
Name
135
(
136
);
140
public
:
void
SetName
141
(
142
const
NXString
& name
143
);
147
void
SetName
148
(
149
const
char
* name
150
);
154
public
:
NXOpen::Motion::Road
*
RoadObject
155
(
156
);
160
public
:
void
SetRoadObject
161
(
162
NXOpen::Motion::Road
* roadobject
163
);
167
public
:
NXOpen::Motion::RoadBuilder::TypeChoices
RoadType
168
(
169
);
173
public
:
void
SetRoadType
174
(
175
NXOpen::Motion::RoadBuilder::TypeChoices
roadtype
176
);
180
public
:
NXOpen::Motion::SelectLink
*
Link
181
(
182
);
187
public
:
NXOpen::Motion::ParamOverrideState
LinkOvrCtrl
188
(
189
);
194
public
:
void
SetLinkOvrCtrl
195
(
196
NXOpen::Motion::ParamOverrideState
overrideState
197
);
201
public
:
NXOpen::Point
*
ReferencePoint
202
(
203
);
207
public
:
void
SetReferencePoint
208
(
209
NXOpen::Point
* referencePoint
210
);
215
public
:
NXOpen::Motion::ParamOverrideState
ReferencePointOvrCtrl
216
(
217
);
222
public
:
void
SetReferencePointOvrCtrl
223
(
224
NXOpen::Motion::ParamOverrideState
overrideState
225
);
229
public
:
NXOpen::CoordinateSystem
*
Csys
230
(
231
);
235
public
:
void
SetCsys
236
(
237
NXOpen::CoordinateSystem
* csys
238
);
243
public
:
NXOpen::Motion::ParamOverrideState
CsysOvrCtrl
244
(
245
);
250
public
:
void
SetCsysOvrCtrl
251
(
252
NXOpen::Motion::ParamOverrideState
overrideState
253
);
257
public
:
NXOpen::Motion::RoadBuilder::SurfaceDatatypeChoices
SurfaceDatatype
258
(
259
);
263
public
:
void
SetSurfaceDatatype
264
(
265
NXOpen::Motion::RoadBuilder::SurfaceDatatypeChoices
surfacedatatype
266
);
270
public
:
NXOpen::Motion::RoadBuilder::PathDatatypeChoices
PathDatatype
271
(
272
);
276
public
:
void
SetPathDatatype
277
(
278
NXOpen::Motion::RoadBuilder::PathDatatypeChoices
pathdatatype
279
);
283
public
:
NXOpen::Motion::MotionFunction
*
SplineCurve
284
(
285
);
289
public
:
void
SetSplineCurve
290
(
291
NXOpen::Motion::MotionFunction
* spline
292
);
296
public
:
NXOpen::Motion::MotionFunction
*
XCurve
297
(
298
);
302
public
:
void
SetXCurve
303
(
304
NXOpen::Motion::MotionFunction
* spline
305
);
309
public
:
NXOpen::Motion::MotionFunction
*
YCurve
310
(
311
);
315
public
:
void
SetYCurve
316
(
317
NXOpen::Motion::MotionFunction
* spline
318
);
322
public
:
NXOpen::Motion::MotionFunction
*
ZCurve
323
(
324
);
328
public
:
void
SetZCurve
329
(
330
NXOpen::Motion::MotionFunction
* spline
331
);
335
public
:
NXOpen::Motion::MotionFunction
*
BankAngleCurve
336
(
337
);
341
public
:
void
SetBankAngleCurve
342
(
343
NXOpen::Motion::MotionFunction
* spline
344
);
348
public
:
NXOpen::Expression
*
XSegmentOriginCoord
349
(
350
);
354
public
:
NXOpen::Expression
*
YSegmentOriginCoord
355
(
356
);
360
public
:
NXOpen::Expression
*
ZSegmentOriginCoord
361
(
362
);
366
public
:
NXOpen::Motion::SegmentBuilder
*
CreateSegmentBuilder
367
(
368
);
372
public
:
NXOpen::Motion::SegmentBuilderList
*
SegmentBuilderList
373
(
374
);
378
public
:
NXOpen::Motion::SegmentBuilder
*
GetSegmentBuilder
379
(
380
int
segmentBuilderIndex
381
);
385
public
:
void
RemoveSegmentBuilder
386
(
387
NXOpen::Motion::SegmentBuilder
* segment
388
);
392
public
:
void
RemoveAllSegmentBuilders
393
(
394
);
398
public
:
void
SwapSegment
399
(
400
NXOpen::Motion::SegmentBuilder
* firstSegment ,
401
NXOpen::Motion::SegmentBuilder
* secondSegment
402
);
406
public
:
bool
ShowVisualization
407
(
408
);
412
public
:
void
SetShowVisualization
413
(
414
bool
showVisualization
415
);
419
public
:
NXOpen::Expression
*
Width
420
(
421
);
425
public
:
NXOpen::Expression
*
Length
426
(
427
);
431
public
:
NXOpen::Expression
*
GridDensity
432
(
433
);
437
public
:
NXOpen::NXColor
*
Color
438
(
439
);
443
public
:
void
SetColor
444
(
445
NXOpen::NXColor
* color
446
);
450
public
:
NXOpen::Motion::RoadBuilder::SplineDatatypeChoices
SplineType
451
(
452
);
456
public
:
void
SetSplineType
457
(
458
NXOpen::Motion::RoadBuilder::SplineDatatypeChoices
splineType
459
);
463
public
:
NXOpen::Motion::SelectFieldData
*
SplineCurveProfile
464
(
465
);
469
public
:
NXOpen::Motion::SelectFieldData
*
SurfaceProfile
470
(
471
);
475
public
:
NXOpen::Motion::SelectFieldData
*
XCurveProfile
476
(
477
);
481
public
:
NXOpen::Motion::SelectFieldData
*
YCurveProfile
482
(
483
);
487
public
:
NXOpen::Motion::SelectFieldData
*
ZCurveProfile
488
(
489
);
493
public
:
NXOpen::Motion::SelectFieldData
*
BankAngleCurveProfile
494
(
495
);
500
public
:
virtual
NXOpen::ExternalFileReferenceAdapter
*
GetExternalFileReferenceAdapter
501
(
502
int
referenceObjectId
503
);
508
public
:
virtual
void
SetExternalFileReferenceAdapter
509
(
510
int
referenceObjectId ,
511
NXOpen::ExternalFileReferenceAdapter
* adapter
512
);
516
public
:
virtual
NXString
GetExternalFileDefinitionKey
517
(
518
NXOpen::ExternalFileReferenceAdapter
* adapter
519
);
523
public
:
virtual
NXOpen::ExternalFileReferenceAdapter
*
EstablishReference
524
(
525
int
referenceObjectId ,
526
NXOpen::ExternalFileReferenceAdapter::Type
referenceType ,
527
const
NXString
& externalFileSpec
528
);
532
virtual
NXOpen::ExternalFileReferenceAdapter
*
EstablishReference
533
(
534
int
referenceObjectId ,
535
NXOpen::ExternalFileReferenceAdapter::Type
referenceType ,
536
const
char
* externalFileSpec
537
);
538
};
539
}
540
}
541
#ifdef _MSC_VER
542
#pragma warning(pop)
543
#endif
544
#ifdef __GNUC__
545
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
546
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
547
#endif
548
#endif
549
#undef EXPORTLIBRARY