NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Tooling_CreateBoxBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Tooling_CreateBoxBuilder.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/ScCollector.hxx>
24
#include <NXOpen/ugmath.hxx>
25
#include <NXOpen/libnxopencpp_tooling_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Tooling
36
{
37
class
CreateBoxBuilder
;
38
}
39
class
Builder
;
40
class
Expression
;
41
class
NXObject
;
42
class
ScCollector
;
43
namespace
Tooling
44
{
45
class
_CreateBoxBuilderBuilder;
46
class
CreateBoxBuilderImpl;
86
class
NXOPENCPP_TOOLINGEXPORT CreateBoxBuilder :
public
NXOpen::Builder
87
{
89
public
:
enum
BoxType
90
{
91
BoxTypeGeneral
,
92
BoxTypeBounding
93
};
94
private
:
CreateBoxBuilderImpl
* m_createboxbuilder_impl;
95
private
:
friend
class
_CreateBoxBuilderBuilder;
96
protected
:
CreateBoxBuilder
();
97
public
:
~CreateBoxBuilder
();
101
public
:
NXOpen::ScCollector
*
Objects
102
(
103
);
107
public
:
NXOpen::Expression
*
XValue
108
(
109
);
113
public
:
NXOpen::Expression
*
YValue
114
(
115
);
119
public
:
NXOpen::Expression
*
ZValue
120
(
121
);
125
public
:
NXOpen::Expression
*
Clearance
126
(
127
);
131
public
:
NXOpen::Expression
*
OffsetPositiveX
132
(
133
);
137
public
:
NXOpen::Expression
*
OffsetNegativeX
138
(
139
);
143
public
:
NXOpen::Expression
*
OffsetPositiveY
144
(
145
);
149
public
:
NXOpen::Expression
*
OffsetNegativeY
150
(
151
);
155
public
:
NXOpen::Expression
*
OffsetPositiveZ
156
(
157
);
161
public
:
NXOpen::Expression
*
OffsetNegativeZ
162
(
163
);
167
public
:
NXOpen::Tooling::CreateBoxBuilder::BoxType
Type
168
(
169
);
173
public
:
void
SetType
174
(
175
NXOpen::Tooling::CreateBoxBuilder::BoxType
type
176
);
180
public
:
void
SetBoxMatrixAndPosition
181
(
182
const
NXOpen::Matrix3x3
& matrix ,
183
const
NXOpen::Point3d
& position
184
);
188
public
:
void
ConvertFrecToBuilderData
189
(
190
NXOpen::NXObject
* featTag
191
);
195
public
:
int
BoxColor
196
(
197
);
201
public
:
void
SetBoxColor
202
(
203
int
colorValue
204
);
208
public
:
void
SetBoxColorValue
209
(
210
const
NXOpen::Point3d
& value
211
);
215
public
:
void
SetBoxCsysPosition
216
(
217
const
NXOpen::Point3d
& value
218
);
222
public
:
NXOpen::Point3d
GetBoxCsysPosition
223
(
224
);
228
public
:
void
SetSelectedOccs
229
(
230
const
std::vector<NXOpen::NXObject *> & selections ,
231
const
std::vector<NXOpen::NXObject *> & deselections
232
);
236
public
:
NXOpen::NXObject
*
GetBoxFeatTag
237
(
238
);
239
};
240
}
241
}
242
#ifdef _MSC_VER
243
#pragma warning(pop)
244
#endif
245
#ifdef __GNUC__
246
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
247
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
248
#endif
249
#endif
250
#undef EXPORTLIBRARY