NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_ConcaveFacesBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_ConcaveFacesBuilder.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/Features_FeatureBuilder.hxx>
23
#include <NXOpen/ScCollector.hxx>
24
#include <NXOpen/ugmath.hxx>
25
#include <NXOpen/libnxopencpp_features_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
Features
36
{
37
class
ConcaveFacesBuilder
;
38
}
39
class
Direction
;
40
class
Expression
;
41
class
Face
;
42
namespace
Features
43
{
44
class
FeatureBuilder
;
45
}
46
class
NXColor
;
47
class
Point
;
48
class
ScCollector
;
49
namespace
Features
50
{
51
class
_ConcaveFacesBuilderBuilder;
52
class
ConcaveFacesBuilderImpl;
73
class
NXOPENCPP_FEATURESEXPORT ConcaveFacesBuilder :
public
NXOpen::Features::FeatureBuilder
74
{
75
private
:
ConcaveFacesBuilderImpl
* m_concavefacesbuilder_impl;
76
private
:
friend
class
_ConcaveFacesBuilderBuilder;
77
protected
: ConcaveFacesBuilder();
78
public
: ~ConcaveFacesBuilder();
82
public
:
NXOpen::ScCollector
*
Faces
83
(
84
);
88
public
:
bool
UseSurfaceNormal
89
(
90
);
94
public
:
void
SetUseSurfaceNormal
95
(
96
bool
useSuraceNormal
97
);
101
public
:
bool
ReverseNormalDirection
102
(
103
);
107
public
:
void
SetReverseNormalDirection
108
(
109
bool
reverseNormalDirection
110
);
114
public
:
NXOpen::Direction
*
DrawDirection
115
(
116
);
120
public
:
void
SetDrawDirection
121
(
122
NXOpen::Direction
* drawDirection
123
);
127
public
:
NXOpen::Expression
*
Lower
128
(
129
);
133
public
:
NXOpen::Expression
*
Upper
134
(
135
);
139
public
:
int
SamplePoints
140
(
141
);
145
public
:
void
SetSamplePoints
146
(
147
int
samplePoints
148
);
152
public
:
NXString
AttributeTitle
153
(
154
);
158
public
:
void
SetAttributeTitle
159
(
160
const
NXString
& attributeTitle
161
);
165
void
SetAttributeTitle
166
(
167
const
char
* attributeTitle
168
);
172
public
:
NXString
AttributeValue
173
(
174
);
178
public
:
void
SetAttributeValue
179
(
180
const
NXString
& attributeValue
181
);
185
void
SetAttributeValue
186
(
187
const
char
* attributeValue
188
);
192
public
:
NXOpen::NXColor
*
AttributeColor
193
(
194
);
198
public
:
void
SetAttributeColor
199
(
200
NXOpen::NXColor
* attributeColor
201
);
205
public
:
double
DistanceTolerance
206
(
207
);
211
public
:
void
SetDistanceTolerance
212
(
213
double
distanceTolerance
214
);
218
public
:
double
AngleTolerance
219
(
220
);
224
public
:
void
SetAngleTolerance
225
(
226
double
angleTolerance
227
);
231
public
:
double
GroupInterval
232
(
233
);
237
public
:
void
SetGroupInterval
238
(
239
double
interval
240
);
244
public
:
void
CalculatePointCurvature
245
(
246
NXOpen::Face
* faceId ,
247
const
NXOpen::Point3d
& point ,
248
double
* radius ,
249
double
* minRadius ,
250
double
* maxRadius
251
);
255
public
:
void
UpdateRadiusFaces
256
(
257
);
261
public
:
void
UpdateLocationLabel
262
(
263
bool
edit ,
264
NXOpen::Point
* point
265
);
269
public
:
void
SetFaceAttributeColor
270
(
271
NXOpen::NXColor
* attributeColor
272
);
276
public
:
void
UpdateSelectedFacesColor
277
(
278
);
282
public
:
void
SetTreeSelectedIndex
283
(
284
const
std::vector<int> & indexArray
285
);
289
public
:
void
SetFaceGroupAttributeTitle
290
(
291
const
NXString
& grpAttributeTitle
292
);
296
void
SetFaceGroupAttributeTitle
297
(
298
const
char
* grpAttributeTitle
299
);
303
public
:
void
SetFaceGroupAttributeValue
304
(
305
const
NXString
& grpAttributeValue
306
);
310
void
SetFaceGroupAttributeValue
311
(
312
const
char
* grpAttributeValue
313
);
314
};
315
}
316
}
317
#ifdef _MSC_VER
318
#pragma warning(pop)
319
#endif
320
#ifdef __GNUC__
321
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
322
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
323
#endif
324
#endif
325
#undef EXPORTLIBRARY