NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_PartModeling.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件 - JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_PartModeling.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/TaggedObject.hxx>
22#include <NXOpen/libnxopencpp_preferences_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
30namespace NXOpen
31{
32 namespace Preferences
33 {
34 class PartModeling;
35 }
36 namespace Preferences
37 {
38 class PartPreferences;
39 }
40 namespace Preferences
41 {
42 class PartModelingImpl;
46 class NXOPENCPP_PREFERENCESEXPORT PartModeling
47 {
56
62
72
87 private: PartModelingImpl * m_partmodeling_impl;
92 public:
94 tag_t Tag() const;
95 public: ~PartModeling();
99 public: int GridLinesUCount
100 (
101 );
106 (
107 int gridLineUCount
108 );
112 public: int GridLinesVCount
113 (
114 );
119 (
120 int gridLineVCount
121 );
128 (
129 );
136 (
137 double distTolData
138 );
143 public: double AngleToleranceData
144 (
145 );
151 (
152 double angleTolData
153 );
158 public: double Density
159 (
160 );
165 public: void SetDensity
166 (
167 double density
168 );
173 (
174 );
178 public: void SetDensityUnit
179 (
181 );
186 (
187 );
192 (
194 );
199 (
200 );
204 public: void SetGridResolution
205 (
207 );
212 (
213 );
218 (
219 bool isDelayed
220 );
224 public: int GridLineColor
225 (
226 );
230 public: void SetGridLineColor
231 (
232 int gridLineColor
233 );
238 (
239 );
243 public: void SetGridLineFont
244 (
246 );
250 public: int C0KnotLineColor
251 (
252 );
257 (
258 int knotLineColor
259 );
264 (
265 );
269 public: void SetC0KnotLineFont
270 (
272 );
276 public: int C1KnotLineColor
277 (
278 );
283 (
284 int knotLineColor
285 );
290 (
291 );
295 public: void SetC1KnotLineFont
296 (
298 );
302 public: int C2KnotLineColor
303 (
304 );
309 (
310 int knotLineColor
311 );
316 (
317 );
321 public: void SetC2KnotLineFont
322 (
324 );
329 (
330 );
335 (
336 int newStyle
337 );
342 (
343 );
348 (
349 bool newShowCap
350 );
354 public: bool GridUseBodyColor
355 (
356 );
361 (
362 bool useBodyColor
363 );
367 public: bool GridUseBodyFont
368 (
369 );
374 (
375 bool useBodyFont
376 );
381 (
382 );
387 (
388 bool useBodyColor
389 );
393 public: bool C0KnotUseBodyFont
394 (
395 );
400 (
401 bool useBodyFont
402 );
407 (
408 );
413 (
414 bool useBodyColor
415 );
419 public: bool C1KnotUseBodyFont
420 (
421 );
426 (
427 bool useBodyFont
428 );
433 (
434 );
439 (
440 bool useBodyColor
441 );
445 public: bool C2KnotUseBodyFont
446 (
447 );
452 (
453 bool useBodyFont
454 );
459 (
460 );
465 (
466 bool displayOutside
467 );
472 public: bool GetHistoryMode
473 (
474 );
478 public: void SetHistoryMode
479 (
480 );
485 (
486 );
490 public: bool OptimizeCurve
491 (
492 );
496 public: void SetOptimizeCurve
497 (
498 bool optimizeCurve
499 );
504 public: NX_DEPRECATED("Deprecated in NX11.0.0. It was split into two factors. Please use PartModeling::OptimizeCurveDistanceToleranceFactor and PartModeling::OptimizeCurveAngleToleranceFactor instead.") double OptimizeCurveToleranceFactor
505 (
506 );
511 public: NX_DEPRECATED("Deprecated in NX11.0.0. It was split into two factors. Please use PartModeling::SetOptimizeCurveDistanceToleranceFactor and PartModeling::SetOptimizeCurveAngleToleranceFactor instead.") void SetOptimizeCurveToleranceFactor
512 (
513 double optimieCurveFactor
514 );
519 (
520 );
525 (
526 double optimieCurveDistanceFactor
527 );
532 (
533 );
538 (
539 double optimieCurveAngleFactor
540 );
545 (
546 );
551 (
552 double dAnalyticToConvergentDistTol
553 );
558 (
559 );
564 (
565 double dAnalyticToConvergentAngTol
566 );
571 (
572 );
577 (
578 bool maxFacetWidth
579 );
584 (
585 );
590 (
591 bool maxChordLength
592 );
597 (
598 );
603 (
604 double dAnalyticToConvergentMaxFacetWidth
605 );
610 (
611 );
616 (
617 double dAnalyticToConvergentMaxChordLength
618 );
623 (
624 );
629 (
630 bool treatOneDegreeBsplineAsPolyline
631 );
636 (
637 );
642 (
643 bool keepLocalFeatures
644 );
649 (
650 );
655 (
656 bool isSavedByWebApp
657 );
658 }; //lint !e1712 default constructor not defined for class
659 }
660}
661#ifdef _MSC_VER
662#pragma warning(pop)
663#endif
664#ifdef __GNUC__
665#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
666#pragma GCC diagnostic warning "-Wdeprecated-declarations"
667#endif
668#endif
669#undef EXPORTLIBRARY