NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Tooling_EdgePatchBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Tooling_EdgePatchBuilder.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/ScCollector.hxx>
23#include <NXOpen/SelectObject.hxx>
24#include <NXOpen/libnxopencpp_tooling_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
32namespace NXOpen
33{
34 namespace Tooling
35 {
36 class EdgePatchBuilder;
37 }
38 class Body;
39 class Builder;
40 class Face;
41 class NXColor;
42 class NXObject;
43 class ScCollector;
44 class SelectBody;
45 namespace Tooling
46 {
47 class _EdgePatchBuilderBuilder;
48 class EdgePatchBuilderImpl;
67 class NXOPENCPP_TOOLINGEXPORT EdgePatchBuilder : public NXOpen::Builder
68 {
76
88
94 private: EdgePatchBuilderImpl * m_edgepatchbuilder_impl;
95 private: friend class _EdgePatchBuilderBuilder;
96 protected: EdgePatchBuilder();
97public: ~EdgePatchBuilder();
102 (
103 );
107 public: void SetSelType
108 (
110 );
115 (
116 );
121 (
122 );
127 (
128 );
133 (
134 );
138 public: void DirectionReverse
139 (
140 );
144 public: bool PatchSurface
145 (
146 );
150 public: void SetPatchSurface
151 (
152 bool patchSurface
153 );
157 public: bool AllowPatch
158 (
159 );
163 public: void SetAllowPatch
164 (
165 bool patch
166 );
171 (
172 );
176 public: void SetBodyColor
177 (
178 NXOpen::NXColor * patchColor
179 );
184 public: NX_DEPRECATED("Deprecated in NX8.5.0. Use Tooling::EdgePatchBuilder::BodyColor instead.") void GetBodyColor
185 (
186 double* redValue ,
187 double* greenValue ,
188 double* blueValue
189 );
194 public: NX_DEPRECATED("Deprecated in NX8.5.0. Use Tooling::EdgePatchBuilder::SetBodyColor instead.") void SetBodyColor
195 (
196 double redValue ,
197 double greenValue ,
198 double blueValue
199 );
203 public: NXOpen::Tooling::EdgePatchBuilder::PatchStatus FindFaceHoles
204 (
205 NXOpen::Face * referFaces
206 );
210 public: void FindBodyHoles
211 (
212 NXOpen::Body * body
213 );
217 public: NXOpen::Tooling::EdgePatchBuilder::PatchStatus FindEdgesPatch
218 (
219 const std::vector<NXOpen::NXObject *> & edges
220 );
224 public: void EditReferenceFace
225 (
226 int index ,
227 const std::vector<NXOpen::Face *> & addFaces ,
228 const std::vector<NXOpen::Face *> & removeFaces
229 );
233 public: void DeleteOneLoopList
234 (
235 int index
236 );
240 public: void SetSelectedItems
241 (
242 const std::vector<int> & selectedItems
243 );
247 public: void SetTolerance
248 (
249 double tolerance
250 );
255 (
256 int giveMessage
257 );
261 public: void DestroyMemory
262 (
263 );
267 public: void ClearList
268 (
269 int type
270 );
274 public: void SetDeletedList
275 (
276 const std::vector<int> & items
277 );
282 (
283 double tolerance ,
284 const std::vector<NXOpen::NXObject *> & edges ,
285 const std::vector<NXOpen::Face *> & origFaces
286 );
290 public: NXOpen::Tooling::EdgePatchBuilder::ConvertTypeOption ConvertType
291 (
292 );
296 public: void SetConvertType
297 (
298 NXOpen::Tooling::EdgePatchBuilder::ConvertTypeOption convertType
299 );
303 public: bool FastPatch
304 (
305 );
309 public: void SetFastPatch
310 (
311 bool fastPatchOption
312 );
316 public: bool RemoveParameters
317 (
318 );
323 (
324 bool removeParametersOption
325 );
330 (
331 );
332 };
333 }
334}
335#ifdef _MSC_VER
336#pragma warning(pop)
337#endif
338#ifdef __GNUC__
339#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
340#pragma GCC diagnostic warning "-Wdeprecated-declarations"
341#endif
342#endif
343#undef EXPORTLIBRARY