NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_FpcdPreferencesBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件:JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_FpcdPreferencesBuilder.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/DisplayableObject.hxx>
22#include <NXOpen/Expression.hxx>
23#include <NXOpen/NXColor.hxx>
24#include <NXOpen/Builder.hxx>
25#include <NXOpen/SheetmetalFeatureProperty.hxx>
26#include <NXOpen/libnxopencpp_preferences_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Preferences
37 {
39 }
40 class Builder;
41 class Expression;
42 class NXColor;
43 namespace Preferences
44 {
45 class _FpcdPreferencesBuilderBuilder;
46 class FpcdPreferencesBuilderImpl;
50 class NXOPENCPP_PREFERENCESEXPORT FpcdPreferencesBuilder : public NXOpen::Builder
51 {
64
70
91
92 public:
93 struct FlatPatternObjectTypeDisplay
94 {
96 public: bool IsEnabled;
97 public: NXColor* Color;
98 public: int Layer;
101 public: FlatPatternObjectTypeDisplay() :
102 Type((NXOpen::Preferences::FpcdPreferencesBuilder::FlatPatternObjectTypes)0),
103 IsEnabled(),
104 Color(),
105 Layer(),
106 Font((NXOpen::DisplayableObject::ObjectFont)0),
107 Width((NXOpen::DisplayableObject::ObjectWidth)0)
108{
109 }
112 bool isEnabledInitial ,
113 NXColor* colorInitial ,
114 int layerInitial ,
117 Type(typeInitial),
118 IsEnabled(isEnabledInitial),
119 Color(colorInitial),
120 Layer(layerInitial),
121 Font(fontInitial),
122 Width(widthInitial)
123 {
124 }
125 };
126
132
133 public:
134 struct FlatPatternCalloutTypeDisplay
135 {
136 public: NXString Type;
142 public: bool IsEnabled;
143 public: NXString Name;
144 public: FlatPatternCalloutTypeDisplay() :
145 Type(),
146 IsEnabled(),
147 Name()
148 {
149 }
151 public: FlatPatternCalloutTypeDisplay(const NXString &typeInitial ,
157 bool isEnabledInitial ,
158 const NXString &nameInitial ) :
159 Type(typeInitial),
160 IsEnabled(isEnabledInitial),
161 Name(nameInitial)
162 {
163 }
164 };
165
171
172 public:
173 struct PlanarSegmentCurvesDisplayData
174 {
176 public: int IsEnabled;
177 public: NXColor* Color;
180 public: PlanarSegmentCurvesDisplayData() :
181 Type((NXOpen::Preferences::FpcdPreferencesBuilder::PlanarSegmentCurveTypes)0),
182 IsEnabled(),
183 Color(),
184 Font((NXOpen::DisplayableObject::ObjectFont)0),
185 Width((NXOpen::DisplayableObject::ObjectWidth)0)
186 {
187 }
190 int isEnabledInitial ,
191 NXColor* colorInitial ,
194 Type(typeInitial),
195 IsEnabled(isEnabledInitial),
196 Color(colorInitial),
197 Font(fontInitial),
198 Width(widthInitial)
199{
200 }
201 };
202 private: FpcdPreferencesBuilderImpl * m_fpcdpreferencesbuilder_impl;
203 private: friend class _FpcdPreferencesBuilderBuilder;
204 protected: FpcdPreferencesBuilder();
205 public: ~FpcdPreferencesBuilder();
210 (
211 );
216 (
218 );
223 (
224 );
229 (
230 );
235 (
236 );
241 (
242 );
247 (
248 );
253 (
254 );
259 (
260 bool integratePhysicalMaterialLibrary
261 );
265 public: int FlatSolidColor
266 (
267 );
271 public: void SetFlatSolidColor
272 (
273 int flatSolidColor
274 );
278 public: int FlatSolidLayer
279 (
280 );
284 public: void SetFlatSolidLayer
285 (
286 int flatSolidLayer
287 );
292 (
293 );
297 public: void SetMaterial
298 (
299 const NXString & materialName
300 );
305 (
306 const char * materialName
307 );
311 public: std::vector<NXString> GetMaterialNames
312 (
313 );
317 public: std::vector<NXString> GetMaterialProperties
318 (
319 const NXString & materialName ,
320 std::vector<NXString> & propertyNames
321 );
325 std::vector<NXString> GetMaterialProperties
326 (
327 const char * materialName ,
328 std::vector<NXString> & propertyNames
329 );
334 (
335 );
339 public: void SetTopFaceColor
340 (
341 NXOpen::NXColor * topFaceColor
342 );
347 (
348 );
353 (
354 NXOpen::NXColor * bottomFaceColor
355 );
360 (
361 const NXString & multiHeightLayerScheme
362 );
367 (
368 const char * multiHeightLayerScheme
369 );
374 (
375 );
380 (
381 );
386 (
387 );
392 (
393 );
398 (
399 );
404 (
406 );
411 (
412 );
417 (
418 NXOpen::Features::SheetMetal::FeatureProperty outsideCornerTreatmentType
419 );
424 (
425 );
430 (
431 NXOpen::Features::SheetMetal::FeatureProperty insideCornerTreatmentType
432 );
437 (
438 );
443 (
445 );
450 (
451 );
456 (
457 );
462 (
463 );
467 public: double MinimumArcTolerance
468 (
469 );
474 (
475 double minimumArcTolerance
476 );
480 public: double DeviationalTolerance
481 (
482 );
487 (
488 double deviationalTolerance
489 );
493 public: bool SimplifyBSplines
494 (
495 );
500 (
501 bool simplifyBSplines
502 );
506 public: bool RemoveBendReliefs
507 (
508 );
513 (
514 bool removeBendReliefs
515 );
520 (
521 );
526 (
527 bool maintainCircularShapeForHoles
528 );
533 (
535 );
540 (
543 );
548 (
549 std::vector<NXOpen::Preferences::FpcdPreferencesBuilder::FlatPatternObjectTypeDisplay> & displayData
550 );
556 (
557 const NXString & calloutType
558 );
564 (
565 const char * calloutType
566 );
571 (
572 const NXString & calloutType ,
574 );
579 (
580 const char * calloutType ,
582 );
586 public: std::vector<NXString> GetFlatPatternCalloutTypeContents
587 (
588 const NXString & calloutType
589 );
594 (
595 const char * calloutType
596 );
601 (
602 const NXString & calloutType ,
603 std::vector<NXString> & contents
604 );
609 (
610 const char * calloutType ,
611 std::vector<NXString> & contents
612 );
617 (
618 );
623 (
625 );
630 (
631 std::vector<NXOpen::Preferences::FpcdPreferencesBuilder::FlatPatternCalloutTypeDisplay> & displayData
632 );
637 (
639 );
644 (
647 );
648 };
649 }
650}
651#ifdef _MSC_VER
652#pragma warning(pop)
653#endif
654#ifdef __GNUC__
655#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
656#pragma GCC diagnostic warning "-Wdeprecated-declarations"
657#endif
658#endif
659#undef EXPORTLIBRARY