NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_GeneralViewPreferences.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 工程图常规视图首选项C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_GeneralViewPreferences.ja
9//
10// 生成工具:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成,请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.h>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/Preferences_IGeneralViewPreferences.hxx>
22#include <NXOpen/Preferences_ViewStylePreferencesData.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_preferences_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 Preferences
35 {
37 }
38 namespace Preferences
39 {
40 class ViewPreferences;
41 }
42 namespace Preferences
43 {
45 }
46 namespace Preferences
47 {
49 }
50 namespace Preferences
51 {
52 class GeneralViewPreferencesImpl;
58 class NXOPENCPP_PREFERENCESEXPORT GeneralViewPreferences: public virtual NXOpen::Preferences::IGeneralViewPreferences
59 {
60 private: GeneralViewPreferencesImpl * m_generalviewpreferences_impl;
65 public:
67 tag_t Tag() const;
72 public: bool Silhouettes
73 (
74 );
78 public: void SetSilhouettes
79 (
80 bool silhouettes
81 );
86 public: bool Reference
87 (
88 );
93 public: void SetReference
94 (
95 bool reference
96 );
101 public: bool UvGrid
102 (
103 );
108 public: void SetUvGrid
109 (
110 bool uvGrid
111 );
117 public: bool AutomaticUpdate
118 (
119 );
126 (
127 bool automaticUpdate
128 );
133 (
134 );
139 (
140 bool automaticAnchorPoint
141 );
147 public: void SetBoundaryStatus
148 (
149 bool boundaryStatus
150 );
156 public: bool BoundaryStatus
157 (
158 );
163 public: void SetCenterlines
164 (
165 bool centerlines
166 );
171 public: bool Centerlines
172 (
173 );
178 (
179 );
184 (
186 );
191 (
192 );
196 public: void SetViewQuality
197 (
199 );
203 public: bool LegacyView
204 (
205 );
209 public: void SetLegacyView
210 (
211 bool legacyView
212 );
216 public: bool LightweightView
217 (
218 );
223 (
224 bool lightweightView
225 );
230 public: NX_DEPRECATED("Deprecated in NX11.0.1. Use NXOpen::Preferences::GeneralViewPreferences::LockmethodView instead(the value is NXOpen.Preferences.GeneralViewPreferences.GeneralViewLockmethodOptionSnapshot).") bool SnapshotView
231 (
232 );
237 public: NX_DEPRECATED("Deprecated in NX11.0.1. Use NXOpen::Preferences::GeneralViewPreferences::SetLockmethodView instead(the value is NXOpen.Preferences.GeneralViewPreferences.GeneralViewLockmethodOptionSnapshot).") void SetSnapshotView
238 (
239 bool snapshotView
240 );
245 (
246 );
250 public: void SetLockmethodView
251 (
253 );
257 public: double Tolerance
258 (
259 );
263 public: void SetTolerance
264 (
265 double tolerance
266 );
271 (
272 );
276 public: void SetExtractedEdges
277 (
279 );
284 (
285 );
290 (
292 );
297 (
298 );
302 public: void SetDisplayId
303 (
305 );
310 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use Preferences::FrameBarPreferences::Horizontal instead.") bool FramebarHorizontal
311 (
312 );
317 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use Preferences::FrameBarPreferences::SetHorizontal instead.") void SetFramebarHorizontal
318 (
319 bool horizontal
320 );
325 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use Preferences::FrameBarPreferences::Vertical instead.") bool FramebarVertical
326 (
327 );
332 public: NX_DEPRECATED("Deprecated in NX1980.0.0. Use Preferences::FrameBarPreferences::SetVertical instead.") void SetFramebarVertical
333 (
334 bool vertical
335 );
339 public: int AnglePrecision
340 (
341 );
345 public: void SetAnglePrecision
346 (
347 int precision
348 );
353 (
354 );
358 public: void SetAngleFormat
359 (
361 );
366 (
367 );
372 (
373 bool show
374 );
379 (
380 );
385 (
386 bool show
387 );
392 (
393 );
398 (
400 );
405 }; //lint !e1712 default constructor not defined for class
406 }
407}
408#ifdef _MSC_VER
409#pragma warning(pop)
410#endif
411#ifdef __GNUC__
412#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
413#pragma GCC diagnostic warning "-Wdeprecated-declarations"
414#endif
415#endif
416#undef EXPORTLIBRARY