NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_CamBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_CamBuilder.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/Display_LayerSettingsBuilder.hxx>
22
#include <NXOpen/Expression.hxx>
23
#include <NXOpen/Mechatronics_CouplingBuilder.hxx>
24
#include <NXOpen/libnxopencpp_mechatronics_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
32
namespace
NXOpen
33
{
34
namespace
Mechatronics
35
{
36
class
CamBuilder
;
37
}
38
namespace
Display
39
{
40
class
LayerSettingsBuilder
;
41
}
42
class
Expression
;
43
namespace
Features
44
{
45
class
Feature
;
46
}
47
namespace
Mechatronics
48
{
49
class
CamProfile
;
50
}
51
namespace
Mechatronics
52
{
53
class
CouplingBuilder
;
54
}
55
namespace
Mechatronics
56
{
57
class
MotionProfile
;
58
}
59
class
Point
;
60
namespace
Mechatronics
61
{
62
class
_CamBuilderBuilder;
63
class
CamBuilderImpl;
76
class
NXOPENCPP_MECHATRONICSEXPORT CamBuilder :
public
NXOpen::Mechatronics::CouplingBuilder
77
{
79
public
:
enum
AxisJointType
80
{
81
AxisJointTypeLinear
,
82
AxisJointTypeAngular
83
};
84
85
public
:
enum
CreateCamDiskType
86
{
87
CreateCamDiskTypeCurve
,
88
CreateCamDiskTypeSolid
89
};
90
91
public
:
enum
AddCamDiskToMasterOption
92
{
93
AddCamDiskToMasterOptionNone
,
94
AddCamDiskToMasterOptionEdit
,
95
AddCamDiskToMasterOptionReplace
96
};
97
private
:
CamBuilderImpl
* m_cambuilder_impl;
98
private
:
friend
class
_CamBuilderBuilder;
99
protected
:
CamBuilder
();
100
public
:
~CamBuilder
();
104
public
:
NXOpen::Mechatronics::CamBuilder::AxisJointType
MasterAxisType
105
(
106
);
110
public
:
void
SetMasterAxisType
111
(
112
NXOpen::Mechatronics::CamBuilder::AxisJointType
masterAxisType
113
);
117
public
:
NXOpen::Mechatronics::CamBuilder::AxisJointType
SlaveAxisType
118
(
119
);
123
public
:
void
SetSlaveAxisType
124
(
125
NXOpen::Mechatronics::CamBuilder::AxisJointType
slaveAxisType
126
);
130
public
:
NXOpen::Mechatronics::MotionProfile
*
MotionProfile
131
(
132
);
136
public
:
void
SetMotionProfile
137
(
138
NXOpen::Mechatronics::MotionProfile
* profile
139
);
143
public
:
NXOpen::Expression
*
MasterOffset
144
(
145
);
149
public
:
NXOpen::Mechatronics::CamProfile
*
CamProfile
150
(
151
);
155
public
:
void
SetCamProfile
156
(
157
NXOpen::Mechatronics::CamProfile
* profile
158
);
162
public
:
NXOpen::Expression
*
SlaveOffset
163
(
164
);
168
public
:
NXOpen::Expression
*
MasterScaleFactor
169
(
170
);
174
public
:
NXOpen::Expression
*
SlaveScaleFactor
175
(
176
);
180
public
: std::vector<NXOpen::Features::Feature *>
GetCurveFeatures
181
(
182
);
186
public
:
void
SetCurveFeatures
187
(
188
const
std::vector<NXOpen::Features::Feature *> & curveFeatures
189
);
193
public
:
void
AddCurveFeature
194
(
195
NXOpen::Features::Feature
* curveFeature
196
);
200
public
:
NXOpen::Features::Feature
*
GetExtrudeFeature
201
(
202
);
206
public
:
void
SetExtrudeFeature
207
(
208
NXOpen::Features::Feature
* extrudeFeature
209
);
213
public
:
NXOpen::Point
*
CamDiskRefPoint
214
(
215
);
219
public
:
void
SetCamDiskRefPoint
220
(
221
NXOpen::Point
* refPoint
222
);
226
public
:
int
RefPointOption
227
(
228
);
232
public
:
void
SetRefPointOption
233
(
234
int
refPointOption
235
);
239
public
:
NXOpen::Expression
*
ExtrudeLength
240
(
241
);
245
public
:
NXOpen::Mechatronics::CamBuilder::CreateCamDiskType
CamDiskType
246
(
247
);
251
public
:
void
SetCamDiskType
252
(
253
NXOpen::Mechatronics::CamBuilder::CreateCamDiskType
camDiskType
254
);
258
public
:
NXOpen::Mechatronics::CamBuilder::AddCamDiskToMasterOption
AddCamDiskToMasterJointOption
259
(
260
);
264
public
:
void
SetAddCamDiskToMasterJointOption
265
(
266
NXOpen::Mechatronics::CamBuilder::AddCamDiskToMasterOption
addOption
267
);
271
public
:
bool
CreateCamDisk
272
(
273
);
277
public
:
void
SetCreateCamDisk
278
(
279
bool
createOption
280
);
284
public
:
NXOpen::Display::LayerSettingsBuilder
*
LayerSettings
285
(
286
);
290
public
:
void
ExecuteCamDisk
291
(
292
);
296
public
:
void
UpdateCamDisk
297
(
298
);
299
};
300
}
301
}
302
#ifdef _MSC_VER
303
#pragma warning(pop)
304
#endif
305
#ifdef __GNUC__
306
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
307
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
308
#endif
309
#endif
310
#undef EXPORTLIBRARY