NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drawings_GeneralViewStyle.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drawings_GeneralViewStyle.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/Preferences_IGeneralViewPreferences.hxx>
22#include <NXOpen/Preferences_ViewStylePreferencesData.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_drawings_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 Drawings
35 {
36 class GeneralViewStyle;
37 }
38 namespace Drawings
39 {
40 class ViewStyle;
41 }
42 class Expression;
43 namespace Preferences
44 {
46 }
47 class Scalar;
48 namespace Drawings
49 {
50 class GeneralViewStyleImpl;
54 class NXOPENCPP_DRAWINGSEXPORT GeneralViewStyle: public virtual NXOpen::Preferences::IGeneralViewPreferences
55 {
56 private: GeneralViewStyleImpl * m_generalviewstyle_impl;
57 private: NXOpen::Drawings::ViewStyle* m_owner;
59 public: explicit GeneralViewStyle(NXOpen::Drawings::ViewStyle *owner);
61 public:
63 tag_t Tag() const;
64 public: ~GeneralViewStyle();
68 public: bool Silhouettes
69 (
70 );
74 public: void SetSilhouettes
75 (
76 bool silhouettes
77 );
81 public: bool Reference
82 (
83 );
87 public: void SetReference
88 (
89 bool reference
90 );
94 public: bool UvGrid
95 (
96 );
100 public: void SetUvGrid
101 (
102 bool uvGrid
103 );
107 public: bool AutomaticUpdate
108 (
109 );
114 (
115 bool automaticUpdate
116 );
121 (
122 );
127 (
128 bool automaticAnchorPoint
129 );
133 public: void SetBoundaryStatus
134 (
135 bool boundaryStatus
136 );
140 public: bool BoundaryStatus
141 (
142 );
146 public: int RenderCount
147 (
148 );
152 public: void SetRenderCount
153 (
154 int renderCount
155 );
159 public: bool ViewLabel
160 (
161 );
165 public: void SetViewLabel
166 (
167 bool viewLabel
168 );
172 public: bool ScaleLabel
173 (
174 );
178 public: void SetScaleLabel
179 (
180 bool scaleLabel
181 );
185 public: void SetCenterlines
186 (
187 bool centerlines
188 );
192 public: double Tolerance
193 (
194 );
198 public: void SetTolerance
199 (
200 double tolerance
201 );
205 public: double Angle
206 (
207 );
211 public: void SetAngle
212 (
213 double angle
214 );
219 (
220 );
225 (
226 NXOpen::Scalar * angle
227 );
231 public: double Scale
232 (
233 );
237 public: void SetScale
238 (
239 double scale
240 );
245 (
246 );
251 (
252 NXOpen::Expression * expressionForScale
253 );
258 (
259 );
264 (
266 );
271 (
272 );
276 public: void SetViewQuality
277 (
279 );
283 public: bool LegacyView
284 (
285 );
289 public: void SetLegacyView
290 (
291 bool legacyView
292 );
296 public: bool LightweightView
297 (
298 );
303 (
304 bool lightweightView
305 );
310 public: NX_DEPRECATED("Deprecated in NX11.0.1. Use NXOpen::Drawings::GeneralViewStyle::LockmethodView instead.") bool SnapshotView
311 (
312 );
317 public: NX_DEPRECATED("Deprecated in NX11.0.1. Use NXOpen::Drawings::GeneralViewStyle::SetLockmethodView instead.") void SetSnapshotView
318 (
319 bool snapshotView
320 );
324 public: NXOpen::Preferences::GeneralViewLockmethodOption LockmethodView
325 (
326 );
330 public: void SetLockmethodView
331 (
332 NXOpen::Preferences::GeneralViewLockmethodOption lockmethodView
333 );
337 public: NXOpen::Preferences::GeneralExtractedEdgesOption ExtractedEdges
338 (
339 );
343 public: void SetExtractedEdges
344 (
345 NXOpen::Preferences::GeneralExtractedEdgesOption edgesOption
346 );
350 public: NXOpen::Preferences::GeneralWireframeColorSourceOption WireframeColorSource
351 (
352 );
357 (
358 NXOpen::Preferences::GeneralWireframeColorSourceOption colorOption
359 );
363 public: NXOpen::Preferences::GeneralDisplayIdOption DisplayId
364 (
365 );
369 public: void SetDisplayId
370 (
371 NXOpen::Preferences::GeneralDisplayIdOption option
372 );
377 (
378 bool framebarHorizontal
379 );
384 (
385 bool framebarVertical
386 );
390 public: int AnglePrecision
391 (
392 );
396 public: void SetAnglePrecision
397 (
398 int anglePrecision
399 );
404 (
405 );
409 public: void SetAngleFormat
410 (
411 NXOpen::Preferences::AngleFormat angleFormat
412 );
417 (
418 );
423 (
424 bool show
425 );
430 (
431 );
436 (
437 bool show
438 );
442 public: NXOpen::Preferences::DecimalPointCharacter AngleDecimalPointFormat
443 (
444 );
449 (
450 NXOpen::Preferences::DecimalPointCharacter format
451 );
452 }; //lint !e1712 默认构造函数未为该类定义
453 }
454}
455#ifdef _MSC_VER
456#pragma warning(pop)
457#endif
458#ifdef __GNUC__
459#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
460#pragma GCC diagnostic warning "-Wdeprecated-declarations"
461#endif
462#endif
463#undef EXPORTLIBRARY