NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_TrimBodyBuilder.hxx
1
//--------------------------------------------------------------------------
2
// 版权所有 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_TrimBodyBuilder.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/Features_FeatureBuilder.hxx>
22
#include <NXOpen/libnxopencpp_features_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
Features
33
{
34
class
TrimBodyBuilder
;
35
}
36
class
Body
;
37
namespace
Features
38
{
39
class
FeatureBuilder
;
40
}
41
class
NXObject
;
42
namespace
Features
43
{
44
class
_TrimBodyBuilderBuilder;
45
class
TrimBodyBuilderImpl;
50
class
NXOPENCPP_FEATURESEXPORT TrimBodyBuilder :
public
NXOpen::Features::FeatureBuilder
51
{
53
public
:
enum
DirectionType
54
{
55
DirectionTypePositiveNormal
= 1,
56
DirectionTypeNegativeNormal
= -1,
57
DirectionTypeInvalid
58
};
59
private
:
TrimBodyBuilderImpl
* m_trimbodybuilder_impl;
60
private
:
friend
class
_TrimBodyBuilderBuilder;
61
protected
:
TrimBodyBuilder
();
62
public
:
~TrimBodyBuilder
();
66
public
: std::vector<NXOpen::Body *>
GetTargets
67
(
68
);
72
public
:
NXOpen::NXObject
*
Tool
73
(
74
);
78
public
:
NXOpen::Features::TrimBodyBuilder::DirectionType
TrimDirection
79
(
80
);
87
public
:
void
SetTargets
88
(
89
const
std::vector<NXOpen::Body *> & target
90
);
96
public
:
void
AddTarget
97
(
98
NXOpen::Body
* target
99
);
105
public
:
void
RemoveTarget
106
(
107
NXOpen::Body
* target
108
);
112
public
:
void
SetTool
113
(
114
NXOpen::NXObject
* tool
115
);
119
public
:
void
SetTrimDirection
120
(
121
NXOpen::Features::TrimBodyBuilder::DirectionType
direction
122
);
126
public
:
void
Reverse
127
(
128
);
129
};
130
}
131
}
132
#ifdef _MSC_VER
133
#pragma warning(pop)
134
#endif
135
#ifdef __GNUC__
136
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
137
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
138
#endif
139
#endif
140
#undef EXPORTLIBRARY