NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_MasterCutBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_MasterCutBuilder.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/SelectObjectList.hxx>
23#include <NXOpen/libnxopencpp_features_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Features
34 {
35 class MasterCutBuilder;
36 }
37 class Body;
38 class Direction;
40 namespace Features
41 {
42 class ExtrudeBuilder;
43 }
44 namespace Features
45 {
46 class FeatureBuilder;
47 }
48 class ModelingView;
49 class NXObject;
51 namespace Features
52 {
53 class _MasterCutBuilderBuilder;
54 class MasterCutBuilderImpl;
128 class NXOPENCPP_FEATURESEXPORT MasterCutBuilder : public NXOpen::Features::FeatureBuilder
129 {
130 private: MasterCutBuilderImpl * m_mastercutbuilder_impl;
131 private: friend class _MasterCutBuilderBuilder;
132 protected: MasterCutBuilder();
133public: ~MasterCutBuilder();
138 (
139 );
143 public: void RecalculateLimits
144 (
145 );
149 public: void SetCutView
150 (
151 NXOpen::ModelingView * cutView
152 );
157 (
158 );
162 public: void SetToolBody
163 (
164 NXOpen::Body * toolBody
165 );
170 (
171 );
176 (
177 );
182 (
183 const std::vector<NXOpen::NXObject *> & targetComponents
184 );
188 public: std::vector<NXOpen::DisplayableObject *> GetTargetComponents
189 (
190 );
195 (
196 bool materialOutsideLoop
197 );
202 (
203 );
207 public: void CalcThroughLimits
208 (
209 NXOpen::Direction * direction ,
210 double* limit1 ,
211 double* limit2
212 );
216 public: void SetUseCutHatch
217 (
218 bool useCutHatch
219 );
223 public: bool UseCutHatch
224 (
225 );
229 public: void SetHatchAngle
230 (
231 double hatchAngle
232 );
236 public: double HatchAngle
237 (
238 );
242 public: void SetHatchDistance
243 (
244 double hatchDistance
245 );
249 public: double HatchDistance
250 (
251 );
255 public: void SetUseCutColor
256 (
257 bool useCutColor
258 );
262 public: bool UseCutColor
263 (
264 );
268 public: void SetCutColor
269 (
270 int cutColor
271 );
275 public: int CutColor
276 (
277 );
281 public: void SetUseSaveAs
282 (
283 bool useSaveAs
284 );
288 public: bool UseSaveAs
289 (
290 );
294 public: void SetSaveAsName
295 (
296 const NXString & saveAsName
297 );
302 (
303 const char * saveAsName
304 );
309 (
310 );
311 };
312 }
313}
314#ifdef _MSC_VER
315#pragma warning(pop)
316#endif
317#ifdef __GNUC__
318#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
319#pragma GCC diagnostic warning "-Wdeprecated-declarations"
320#endif
321#endif
322#undef EXPORTLIBRARY