NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_SegmentBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_SegmentBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
23
#include <NXOpen/TaggedObject.hxx>
24
#include <NXOpen/SelectObject.hxx>
25
#include <NXOpen/libnxopencpp_motion_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Motion
36
{
37
class
SegmentBuilder
;
38
}
39
class
Expression
;
40
namespace
GeometricUtilities
41
{
42
class
IComponentBuilder
;
43
}
44
namespace
Motion
45
{
46
class
MotionFunction
;
47
}
48
namespace
Motion
49
{
50
class
SelectFieldData
;
51
}
52
namespace
Motion
53
{
54
class
_SegmentBuilderBuilder;
55
class
SegmentBuilderImpl;
62
class
NXOPENCPP_MOTIONEXPORT SegmentBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
63
{
65
public
:
enum
TypeChoices
66
{
67
TypeChoicesStraight
,
68
TypeChoicesConstantRadius
,
69
TypeChoicesLaneChange
,
70
TypeChoicesSlalom
,
71
TypeChoicesUserDefined
72
};
73
74
public
:
enum
StraightTransitionTypeChoices
75
{
76
StraightTransitionTypeChoicesLinear
,
77
StraightTransitionTypeChoicesCubic
78
};
79
80
public
:
enum
SplineDatatypeChoices
81
{
82
SplineDatatypeChoicesFunction
,
83
SplineDatatypeChoicesProfile2D
84
};
85
private
:
SegmentBuilderImpl
* m_segmentbuilder_impl;
86
private
:
friend
class
_SegmentBuilderBuilder;
87
protected
:
SegmentBuilder
();
88
public
:
~SegmentBuilder
();
92
public
:
NXString
Name
93
(
94
);
98
public
:
void
SetName
99
(
100
const
NXString
& name
101
);
105
void
SetName
106
(
107
const
char
* name
108
);
112
public
:
NXOpen::Motion::SegmentBuilder::TypeChoices
SegmentType
113
(
114
);
118
public
:
void
SetSegmentType
119
(
120
NXOpen::Motion::SegmentBuilder::TypeChoices
segmentType
121
);
125
public
:
NXOpen::Expression
*
Length
126
(
127
);
131
public
:
NXOpen::Expression
*
StraightElevationChange
132
(
133
);
137
public
:
NXOpen::Motion::SegmentBuilder::StraightTransitionTypeChoices
TransitionType
138
(
139
);
143
public
:
void
SetTransitionType
144
(
145
NXOpen::Motion::SegmentBuilder::StraightTransitionTypeChoices
segmentType
146
);
150
public
:
NXOpen::Expression
*
Radius
151
(
152
);
156
public
:
NXOpen::Expression
*
ConstantRadiusElevationChange
157
(
158
);
162
public
:
NXOpen::Expression
*
Angle
163
(
164
);
168
public
:
NXOpen::Expression
*
ConstantRadiusBankAngle
169
(
170
);
174
public
:
NXOpen::Expression
*
LaneChangeForwardLength
175
(
176
);
180
public
:
NXOpen::Expression
*
LateralShiftLength
181
(
182
);
186
public
:
NXOpen::Expression
*
LaneChangeElevationChange
187
(
188
);
192
public
:
NXOpen::Expression
*
SlalomForwardLength
193
(
194
);
198
public
:
NXOpen::Expression
*
LateralAmplitude
199
(
200
);
204
public
:
NXOpen::Expression
*
SlalomElevationChange
205
(
206
);
210
public
:
NXOpen::Expression
*
NumberOfPylons
211
(
212
);
216
public
:
NXOpen::Motion::MotionFunction
*
YCurve
217
(
218
);
222
public
:
void
SetYCurve
223
(
224
NXOpen::Motion::MotionFunction
* spline
225
);
229
public
:
NXOpen::Motion::MotionFunction
*
ZCurve
230
(
231
);
235
public
:
void
SetZCurve
236
(
237
NXOpen::Motion::MotionFunction
* spline
238
);
242
public
:
NXOpen::Motion::MotionFunction
*
BankAngleCurve
243
(
244
);
248
public
:
void
SetBankAngleCurve
249
(
250
NXOpen::Motion::MotionFunction
* spline
251
);
255
public
:
NXOpen::Motion::SegmentBuilder::SplineDatatypeChoices
SplineType
256
(
257
);
261
public
:
void
SetSplineType
262
(
263
NXOpen::Motion::SegmentBuilder::SplineDatatypeChoices
splineType
264
);
268
public
:
NXOpen::Motion::SelectFieldData
*
YCurveProfile
269
(
270
);
274
public
:
NXOpen::Motion::SelectFieldData
*
ZCurveProfile
275
(
276
);
280
public
:
NXOpen::Motion::SelectFieldData
*
BankAngleCurveProfile
281
(
282
);
287
public
:
virtual
bool
Validate
288
(
289
);
290
};
291
}
292
}
293
#ifdef _MSC_VER
294
#pragma warning(pop)
295
#endif
296
#ifdef __GNUC__
297
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
298
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
299
#endif
300
#endif
301
#undef EXPORTLIBRARY