NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_SplineBeamBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_SplineBeamBuilder.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/Motion.hxx>
23
#include <NXOpen/Motion_MarkerToNodeData.hxx>
24
#include <NXOpen/Motion_MotionBuilder.hxx>
25
#include <NXOpen/ObjectList.hxx>
26
#include <NXOpen/SelectObject.hxx>
27
#include <NXOpen/SelectObjectList.hxx>
28
#include <NXOpen/libnxopencpp_motion_exports.hxx>
29
#ifdef _MSC_VER
30
#pragma warning(push)
31
#pragma warning(disable:4996)
32
#endif
33
#ifdef __GNUC__
34
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35
#endif
36
namespace
NXOpen
37
{
38
namespace
Motion
39
{
40
class
SplineBeamBuilder
;
41
}
42
class
Direction
;
43
class
Expression
;
44
namespace
Motion
45
{
46
class
MarkerToNodeData
;
47
}
48
namespace
Motion
49
{
50
class
MotionBuilder
;
51
}
52
namespace
Motion
53
{
54
class
SelectBaseSection
;
55
}
56
namespace
Motion
57
{
58
class
SelectLink
;
59
}
60
namespace
Motion
61
{
62
class
SelectSplineBeamProperty
;
63
}
64
class
NXObject
;
65
class
Point
;
66
class
PointList
;
67
class
SelectCurveList
;
68
namespace
Motion
69
{
70
class
_SplineBeamBuilderBuilder;
71
class
SplineBeamBuilderImpl;
90
class
NXOPENCPP_MOTIONEXPORT SplineBeamBuilder :
public
NXOpen::Motion::MotionBuilder
91
{
93
public
:
enum
BeamTypeValue
94
{
95
BeamTypeValueLumpedMass
,
96
BeamTypeValueNonlinearFlexible
97
};
98
99
public
:
enum
DefinitionMethodType
100
{
101
DefinitionMethodTypeManual
,
102
DefinitionMethodTypeCurve
103
};
104
105
public
:
enum
SectionAxisType
106
{
107
SectionAxisTypeY
,
108
SectionAxisTypeZ
109
};
110
private
:
SplineBeamBuilderImpl
* m_splinebeambuilder_impl;
111
private
:
friend
class
_SplineBeamBuilderBuilder;
112
protected
:
SplineBeamBuilder
();
113
public
:
~SplineBeamBuilder
();
117
public
:
NXString
Name
118
(
119
);
123
public
:
void
SetName
124
(
125
const
NXString
& name
126
);
130
void
SetName
131
(
132
const
char
* name
133
);
137
public
:
NXOpen::Motion::SelectLink
*
Link
138
(
139
);
143
public
:
NXOpen::Motion::SplineBeamBuilder::DefinitionMethodType
DefinitionMethod
144
(
145
);
149
public
:
void
SetDefinitionMethod
150
(
151
NXOpen::Motion::SplineBeamBuilder::DefinitionMethodType
type
152
);
156
public
:
NXOpen::PointList
*
PointList
157
(
158
);
162
public
:
void
InsertEmptyPoint
163
(
164
int
index
165
);
169
public
:
void
AssignPoint
170
(
171
int
index ,
172
NXOpen::Point
* point
173
);
177
public
:
void
RemovePoint
178
(
179
int
index
180
);
184
public
:
void
SwapPoints
185
(
186
int
index1 ,
187
int
index2
188
);
192
public
:
NXOpen::SelectCurveList
*
Curves
193
(
194
);
198
public
:
bool
UseMarkersAsPassingPoints
199
(
200
);
204
public
:
void
SetUseMarkersAsPassingPoints
205
(
206
bool
useMarkersAsPassingPoint
207
);
211
public
:
NXOpen::Expression
*
NumberOfSections
212
(
213
);
217
public
:
void
GeneratePoints
218
(
219
);
224
public
:
void
ImportPointsFromFile
225
(
226
const
NXString
& filePath
227
);
232
void
ImportPointsFromFile
233
(
234
const
char
* filePath
235
);
240
public
:
void
ExportPointsToFile
241
(
242
const
NXString
& filePath
243
);
248
void
ExportPointsToFile
249
(
250
const
char
* filePath
251
);
255
public
:
NXOpen::Motion::ParamOverrideState
ListMarkerOvrCtrl
256
(
257
);
261
public
:
void
SetListMarkerOvrCtrl
262
(
263
NXOpen::Motion::ParamOverrideState
overrideState
264
);
268
public
: std::vector<NXOpen::Motion::MarkerToNodeData *>
GetMarkerItems
269
(
270
);
274
public
:
NXOpen::Motion::MarkerToNodeData
*
FindMarkerItem
275
(
276
const
NXString
& markerName
277
);
281
NXOpen::Motion::MarkerToNodeData
*
FindMarkerItem
282
(
283
const
char
* markerName
284
);
288
public
:
void
RemoveAllMarkers
289
(
290
);
294
public
:
NXOpen::Motion::MarkerToNodeData
*
CreateMarkerToNode
295
(
296
NXOpen::NXObject
* marker ,
297
int
markerPosition ,
298
int
pointID ,
299
bool
useClosestNode
300
);
304
public
:
void
RecalculateMarkersPositions
305
(
306
);
310
public
:
NXOpen::Motion::ParamOverrideState
ToleranceOvrCtrl
311
(
312
);
316
public
:
void
SetToleranceOvrCtrl
317
(
318
NXOpen::Motion::ParamOverrideState
overrideState
319
);
323
public
:
NXOpen::Expression
*
Tolerance
324
(
325
);
329
public
:
NXOpen::Motion::SplineBeamBuilder::SectionAxisType
SectionAxis
330
(
331
);
335
public
:
void
SetSectionAxis
336
(
337
NXOpen::Motion::SplineBeamBuilder::SectionAxisType
type
338
);
342
public
:
NXOpen::Direction
*
SectionVector
343
(
344
);
348
public
:
void
SetSectionVector
349
(
350
NXOpen::Direction
* vector
351
);
355
public
:
NXOpen::Motion::SelectBaseSection
*
SectionShape
356
(
357
);
361
public
:
NXOpen::Motion::SelectSplineBeamProperty
*
StructuralProperty
362
(
363
);
367
public
:
NXOpen::Motion::SplineBeamBuilder::BeamTypeValue
BeamType
368
(
369
);
373
public
:
void
SetBeamType
374
(
375
NXOpen::Motion::SplineBeamBuilder::BeamTypeValue
type
376
);
377
};
378
}
379
}
380
#ifdef _MSC_VER
381
#pragma warning(pop)
382
#endif
383
#ifdef __GNUC__
384
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
385
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
386
#endif
387
#endif
388
#undef EXPORTLIBRARY