NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_VisionCameraBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_VisionCameraBuilder.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/Builder.hxx>
23
#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
Mechatronics
34
{
35
class
VisionCameraBuilder
;
36
}
37
class
Builder
;
38
class
CoordinateSystem
;
39
class
Expression
;
40
class
Plane
;
41
namespace
Mechatronics
42
{
43
class
_VisionCameraBuilderBuilder;
44
class
VisionCameraBuilderImpl;
49
class
NXOPENCPP_MECHATRONICSEXPORT VisionCameraBuilder :
public
NXOpen::Builder
50
{
55
public
:
enum
DefinitionTypes
56
{
57
DefinitionTypesAnglesofView
,
58
DefinitionTypesSensorDimensions
59
};
60
64
public
:
enum
TriggerOptions
65
{
66
TriggerOptionsEventBased
,
67
TriggerOptionsTimeBased
68
};
69
73
public
:
enum
ImageTypes
74
{
75
ImageTypesPng
,
76
ImageTypesJpg
,
77
ImageTypesGif
,
78
ImageTypesTiff
,
79
ImageTypesBmp
80
};
81
private
:
VisionCameraBuilderImpl
* m_visioncamerabuilder_impl;
82
private
:
friend
class
_VisionCameraBuilderBuilder;
83
protected
:
VisionCameraBuilder
();
84
public
:
~VisionCameraBuilder
();
90
public
:
NXOpen::CoordinateSystem
*
Orientation
91
(
92
);
98
public
:
void
SetOrientation
99
(
100
NXOpen::CoordinateSystem
* orientation
101
);
107
public
:
NXOpen::Mechatronics::VisionCameraBuilder::DefinitionTypes
GetDefinitionType
108
(
109
);
115
public
:
void
SetDefinitionType
116
(
117
NXOpen::Mechatronics::VisionCameraBuilder::DefinitionTypes
definitionType
118
);
124
public
:
NXOpen::Expression
*
FocalLength
125
(
126
);
132
public
:
NXOpen::Expression
*
SensorWidth
133
(
134
);
140
public
:
NXOpen::Expression
*
SensorHeight
141
(
142
);
148
public
:
NXOpen::Expression
*
HorizontalAngle
149
(
150
);
156
public
:
NXOpen::Expression
*
VerticalAngle
157
(
158
);
164
public
:
bool
EnableDetection
165
(
166
);
172
public
:
void
SetEnableDetection
173
(
174
bool
enableDetection
175
);
181
public
:
int
MaximumDetectionQuantity
182
(
183
);
189
public
:
void
SetMaximumDetectionQuantity
190
(
191
int
maxQuantity
192
);
198
public
:
NXOpen::Plane
*
ReferencePlane
199
(
200
);
206
public
:
void
SetReferencePlane
207
(
208
NXOpen::Plane
* referencePlane
209
);
215
public
:
NXOpen::Expression
*
MinimumRange
216
(
217
);
223
public
:
NXOpen::Expression
*
MaximumRange
224
(
225
);
231
public
:
bool
SaveImage
232
(
233
);
239
public
:
void
SetSaveImage
240
(
241
bool
saveFlag
242
);
248
public
:
NXOpen::Mechatronics::VisionCameraBuilder::TriggerOptions
TriggerOption
249
(
250
);
256
public
:
void
SetTriggerOption
257
(
258
NXOpen::Mechatronics::VisionCameraBuilder::TriggerOptions
triggerOption
259
);
265
public
:
NXOpen::Expression
*
TimeInterval
266
(
267
);
273
public
:
NXOpen::Mechatronics::VisionCameraBuilder::ImageTypes
ImageType
274
(
275
);
281
public
:
void
SetImageType
282
(
283
NXOpen::Mechatronics::VisionCameraBuilder::ImageTypes
imageType
284
);
290
public
:
NXString
ImageLocation
291
(
292
);
298
public
:
void
SetImageLocation
299
(
300
const
NXString
& imageLocation
301
);
307
void
SetImageLocation
308
(
309
const
char
* imageLocation
310
);
316
public
:
NXString
Name
317
(
318
);
324
public
:
void
SetName
325
(
326
const
NXString
& name
327
);
333
void
SetName
334
(
335
const
char
* name
336
);
337
};
338
}
339
}
340
#ifdef _MSC_VER
341
#pragma warning(pop)
342
#endif
343
#ifdef __GNUC__
344
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
345
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
346
#endif
347
#endif
348
#undef EXPORTLIBRARY