NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_ToolingBoxBuilder.hxx
1
//--------------------------------------------------------------------------
2
// 版权所有 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API C++接口的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_ToolingBoxBuilder.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/SelectObject.hxx>
25
#include <NXOpen/SelectObjectList.hxx>
26
#include <NXOpen/ugmath.hxx>
27
#include <NXOpen/libnxopencpp_features_exports.hxx>
28
#ifdef _MSC_VER
29
#pragma warning(push)
30
#pragma warning(disable:4996)
31
#endif
32
#ifdef __GNUC__
33
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34
#endif
35
namespace
NXOpen
36
{
37
namespace
Features
38
{
39
class
ToolingBoxBuilder
;
40
}
41
class
Direction
;
42
class
Expression
;
43
namespace
Features
44
{
45
class
FeatureBuilder
;
46
}
47
class
NXColor
;
48
class
NXObject
;
49
class
Point
;
50
class
ScCollector
;
51
class
SelectCoordinateSystem
;
52
class
SelectNXObjectList
;
53
namespace
Features
54
{
55
class
_ToolingBoxBuilderBuilder;
56
class
ToolingBoxBuilderImpl;
107
class
NXOPENCPP_FEATURESEXPORT ToolingBoxBuilder :
public
NXOpen::Features::FeatureBuilder
108
{
110
public
:
enum
Types
111
{
112
TypesCenterAndLengths
,
113
TypesBoundedBlock
,
114
TypesBoundedCylinder
115
};
116
117
public
:
enum
RefCsysType
118
{
119
RefCsysTypeWcs
,
120
RefCsysTypeAbsoluteinDisplayedPart
,
121
RefCsysTypeSelectedCsys
122
};
123
124
public
:
enum
AlignedBlockType
125
{
126
AlignedBlockTypeCsys
,
127
AlignedBlockTypeVector
,
128
AlignedBlockTypeNonAligned
129
};
130
private
:
ToolingBoxBuilderImpl
* m_toolingboxbuilder_impl;
131
private
:
friend
class
_ToolingBoxBuilderBuilder;
132
protected
:
ToolingBoxBuilder
();
133
public
:
~ToolingBoxBuilder
();
137
public
:
NXOpen::ScCollector
*
BoundedObject
138
(
139
);
143
public
:
NXOpen::Features::ToolingBoxBuilder::RefCsysType
ReferenceCsysType
144
(
145
);
149
public
:
void
SetReferenceCsysType
150
(
151
NXOpen::Features::ToolingBoxBuilder::RefCsysType
referenceType
152
);
156
public
:
NXOpen::SelectCoordinateSystem
*
CsysSelection
157
(
158
);
162
public
:
NXOpen::Direction
*
AxisVector
163
(
164
);
168
public
:
void
SetAxisVector
169
(
170
NXOpen::Direction
* cylinderVector
171
);
175
public
:
NXOpen::Expression
*
XValue
176
(
177
);
181
public
:
NXOpen::Expression
*
YValue
182
(
183
);
187
public
:
NXOpen::Expression
*
ZValue
188
(
189
);
193
public
:
NXOpen::Expression
*
Clearance
194
(
195
);
199
public
:
NXOpen::Expression
*
OffsetPositiveX
200
(
201
);
205
public
:
NXOpen::Expression
*
OffsetNegativeX
206
(
207
);
211
public
:
NXOpen::Expression
*
OffsetPositiveY
212
(
213
);
217
public
:
NXOpen::Expression
*
OffsetNegativeY
218
(
219
);
223
public
:
NXOpen::Expression
*
OffsetPositiveZ
224
(
225
);
229
public
:
NXOpen::Expression
*
OffsetNegativeZ
230
(
231
);
235
public
:
NXOpen::Expression
*
RadialOffset
236
(
237
);
241
public
:
NXOpen::Features::ToolingBoxBuilder::Types
Type
242
(
243
);
247
public
:
void
SetType
248
(
249
NXOpen::Features::ToolingBoxBuilder::Types
type
250
);
254
public
:
bool
CsysAssociative
255
(
256
);
260
public
:
void
SetCsysAssociative
261
(
262
bool
csysAssociative
263
);
267
public
:
double
PrecisionValue
268
(
269
);
273
public
:
void
SetPrecisionValue
274
(
275
double
precisionValue
276
);
280
public
:
double
PositionPrecisionValue
281
(
282
);
286
public
:
void
SetPositionPrecisionValue
287
(
288
double
precisionValue
289
);
293
public
:
void
SetBoxMatrixAndPosition
294
(
295
const
NXOpen::Matrix3x3
& matrix ,
296
const
NXOpen::Point3d
& position
297
);
301
public
:
NXOpen::NXColor
*
BoxColor
302
(
303
);
307
public
:
void
SetBoxColor
308
(
309
NXOpen::NXColor
* colorValue
310
);
314
public
:
NXOpen::Point3d
BoxPosition
315
(
316
);
320
public
:
void
SetBoxPosition
321
(
322
const
NXOpen::Point3d
& csysOrigin
323
);
327
public
:
void
GetSelectedOccurrences
328
(
329
std::vector<NXOpen::NXObject *> & selectedObjects
330
);
334
public
:
void
SetSelectedOccurrences
335
(
336
const
std::vector<NXOpen::NXObject *> & selections ,
337
const
std::vector<NXOpen::NXObject *> & deselections
338
);
342
public
:
NXOpen::SelectNXObjectList
*
FacetBodies
343
(
344
);
348
public
:
void
CalculateBoxSize
349
(
350
);
354
public
:
bool
ShowDimension
355
(
356
);
360
public
:
void
SetShowDimension
361
(
362
bool
csysAssociative
363
);
367
public
:
bool
SingleOffset
368
(
369
);
373
public
:
void
SetSingleOffset
374
(
375
bool
csysAssociative
376
);
380
public
:
bool
NonAlignedMinimumBox
381
(
382
);
386
public
:
void
SetNonAlignedMinimumBox
387
(
388
bool
isNonAlignedBox
389
);
393
public
:
NXOpen::Point
*
AxisPoint
394
(
395
);
399
public
:
void
SetAxisPoint
400
(
401
NXOpen::Point
* axisPoint
402
);
406
public
:
bool
NeedReferenceExpression
407
(
408
);
412
public
:
void
SetNeedReferenceExpression
413
(
414
bool
bNeedReferenceExp
415
);
419
public
:
void
AskBlockBoundingBoxSize
420
(
421
double
* xLength ,
422
double
* yLength ,
423
double
* zLength ,
424
NXOpen::Point3d
* leftLowerPoint
425
);
429
public
:
void
AskCylinderBoundingBoxSize
430
(
431
double
* diameter ,
432
double
* height ,
433
NXOpen::Point3d
* lowerCenterPoint
434
);
438
public
:
void
AskNonAlignedMinimumBoxSize
439
(
440
double
* xLength ,
441
double
* yLength ,
442
double
* zLength ,
443
NXOpen::Point3d
* leftLowerPoint ,
444
NXOpen::Matrix3x3
* matrix
445
);
449
public
:
NXOpen::Features::ToolingBoxBuilder::AlignedBlockType
AlignedType
450
(
451
);
455
public
:
void
SetAlignedType
456
(
457
NXOpen::Features::ToolingBoxBuilder::AlignedBlockType
alignedType
458
);
459
};
460
}
461
}
462
#ifdef _MSC_VER
463
#pragma warning(pop)
464
#endif
465
#ifdef __GNUC__
466
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
467
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
468
#endif
469
#endif
470
#undef EXPORTLIBRARY