NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_DisplayChangerBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_DisplayChangerBuilder.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/Builder.hxx>
22
#include <NXOpen/SelectObject.hxx>
23
#include <NXOpen/SelectObjectList.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
DisplayChangerBuilder
;
37
}
38
class
Builder
;
39
class
NXObject
;
40
class
SelectNXObject
;
41
class
SelectNXObjectList
;
42
namespace
Mechatronics
43
{
44
class
_DisplayChangerBuilderBuilder;
45
class
DisplayChangerBuilderImpl;
49
class
NXOPENCPP_MECHATRONICSEXPORT DisplayChangerBuilder :
public
NXOpen::Builder
50
{
52
public
:
enum
ExecuteModes
53
{
54
ExecuteModesNone
,
55
ExecuteModesAlways
,
56
ExecuteModesOnceOnly
57
};
58
private
:
DisplayChangerBuilderImpl
* m_displaychangerbuilder_impl;
59
private
:
friend
class
_DisplayChangerBuilderBuilder;
60
protected
:
DisplayChangerBuilder
();
61
public
:
~DisplayChangerBuilder
();
65
public
:
NXOpen::SelectNXObject
*
CollisionSensor
66
(
67
);
71
public
:
NXOpen::SelectNXObjectList
*
ObjectList
72
(
73
);
77
public
:
void
SetObjectList
78
(
79
const
std::vector<NXOpen::NXObject *> & objectTags
80
);
84
public
:
NXOpen::Mechatronics::DisplayChangerBuilder::ExecuteModes
ExecuteMode
85
(
86
);
90
public
:
void
SetExecuteMode
91
(
92
NXOpen::Mechatronics::DisplayChangerBuilder::ExecuteModes
mode
93
);
97
public
:
bool
ChangeColor
98
(
99
);
103
public
:
void
SetChangeColor
104
(
105
bool
changecolor
106
);
110
public
:
int
Color
111
(
112
);
116
public
:
void
SetColor
117
(
118
int
color
119
);
123
public
:
bool
ChangeTranslucency
124
(
125
);
129
public
:
void
SetChangeTranslucency
130
(
131
bool
changetranslucency
132
);
136
public
:
int
Translucency
137
(
138
);
142
public
:
void
SetTranslucency
143
(
144
int
translucency
145
);
149
public
:
bool
ChangeVisibility
150
(
151
);
155
public
:
void
SetChangeVisibility
156
(
157
bool
changevisibility
158
);
162
public
:
bool
InitVisibility
163
(
164
);
168
public
:
void
SetInitVisibility
169
(
170
bool
visibility
171
);
175
public
:
NXString
Name
176
(
177
);
181
public
:
void
SetName
182
(
183
const
NXString
& name
184
);
188
void
SetName
189
(
190
const
char
* name
191
);
192
};
193
}
194
}
195
#ifdef _MSC_VER
196
#pragma warning(pop)
197
#endif
198
#ifdef __GNUC__
199
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
200
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
201
#endif
202
#endif
203
#undef EXPORTLIBRARY