NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_TracerBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_TracerBuilder.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/DisplayableObject.hxx>
22
#include <NXOpen/Expression.hxx>
23
#include <NXOpen/Builder.hxx>
24
#include <NXOpen/SelectObject.hxx>
25
#include <NXOpen/SelectObjectList.hxx>
26
#include <NXOpen/libnxopencpp_mechatronics_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
Mechatronics
37
{
38
class
TracerBuilder
;
39
}
40
class
Builder
;
41
class
Expression
;
42
namespace
Mechatronics
43
{
44
class
SelectCollisionSensor
;
45
}
46
namespace
Mechatronics
47
{
48
class
SelectRigidBody
;
49
}
50
namespace
Mechatronics
51
{
52
class
SelectSignal
;
53
}
54
class
NXColor
;
55
class
NXObject
;
56
class
Point
;
57
class
SelectNXObject
;
58
class
SelectNXObjectList
;
59
namespace
Mechatronics
60
{
61
class
_TracerBuilderBuilder;
62
class
TracerBuilderImpl;
66
class
NXOPENCPP_MECHATRONICSEXPORT TracerBuilder :
public
NXOpen::Builder
67
{
69
public
:
enum
Types
70
{
71
TypesCurve
,
72
TypesMarker
73
};
74
76
public
:
enum
ActionModeTypes
77
{
78
ActionModeTypesSensor
,
79
ActionModeTypesSignal
,
80
ActionModeTypesUserDefined
81
};
82
private
:
TracerBuilderImpl
* m_tracerbuilder_impl;
83
private
:
friend
class
_TracerBuilderBuilder;
84
protected
:
TracerBuilder
();
85
public
:
~TracerBuilder
();
89
public
:
NXOpen::Mechatronics::TracerBuilder::Types
Type
90
(
91
);
95
public
:
void
SetType
96
(
97
NXOpen::Mechatronics::TracerBuilder::Types
type
98
);
102
public
:
NXOpen::Mechatronics::SelectRigidBody
*
Selection
103
(
104
);
108
public
:
NXOpen::Point
*
SelectPoint
109
(
110
);
114
public
:
void
SetSelectPoint
115
(
116
NXOpen::Point
* selectPoint
117
);
121
public
:
NXOpen::SelectNXObject
*
SelectRefBody
122
(
123
);
127
public
:
NXOpen::Expression
*
TraceRateSetting
128
(
129
);
133
public
:
bool
ShowInSimulation
134
(
135
);
139
public
:
void
SetShowInSimulation
140
(
141
bool
show
142
);
146
public
:
NXOpen::Mechatronics::SelectRigidBody
*
FromRigidBody
147
(
148
);
152
public
:
NXOpen::Mechatronics::SelectRigidBody
*
TargetRigidBody
153
(
154
);
158
public
:
NXOpen::SelectNXObjectList
*
MarkerPoints
159
(
160
);
164
public
:
void
SetMarkerPoints
165
(
166
const
std::vector<NXOpen::NXObject *> & points
167
);
171
public
:
NXOpen::Mechatronics::TracerBuilder::ActionModeTypes
ActionMode
172
(
173
);
177
public
:
void
SetActionMode
178
(
179
NXOpen::Mechatronics::TracerBuilder::ActionModeTypes
actionMode
180
);
184
public
:
NXOpen::Mechatronics::SelectCollisionSensor
*
SelectSensor
185
(
186
);
190
public
:
NXOpen::Mechatronics::SelectSignal
*
SelectSignal
191
(
192
);
196
public
:
bool
DefineTracerStyle
197
(
198
);
202
public
:
void
SetDefineTracerStyle
203
(
204
bool
defineTracerStyle
205
);
209
public
:
NXOpen::NXColor
*
TracerColor
210
(
211
);
215
public
:
void
SetTracerColor
216
(
217
NXOpen::NXColor
* color
218
);
222
public
:
NXOpen::DisplayableObject::ObjectFont
TracerFont
223
(
224
);
228
public
:
void
SetTracerFont
229
(
230
NXOpen::DisplayableObject::ObjectFont
font
231
);
235
public
:
int
TracerWidth
236
(
237
);
241
public
:
void
SetTracerWidth
242
(
243
int
width
244
);
248
public
:
NXString
Name
249
(
250
);
254
public
:
void
SetName
255
(
256
const
NXString
& name
257
);
261
void
SetName
262
(
263
const
char
* name
264
);
265
};
266
}
267
}
268
#ifdef _MSC_VER
269
#pragma warning(pop)
270
#endif
271
#ifdef __GNUC__
272
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
273
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
274
#endif
275
#endif
276
#undef EXPORTLIBRARY