NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_PartVisualizationLine.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件 - JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_PartVisualizationLine.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 {
35 }
36 namespace Preferences
37 {
38 class PartPreferences;
39 }
40 namespace Preferences
41 {
42 class PartVisualizationLineImpl;
46 class NXOPENCPP_PREFERENCESEXPORT PartVisualizationLine
47 {
54 private: PartVisualizationLineImpl * m_partvisualizationline_impl;
59 public:
61 tag_t Tag() const;
62 public: ~PartVisualizationLine();
68 (
69 );
74 public: void SetLineFontDisplay
75 (
77 );
81 public: double DashSize
82 (
83 );
87 public: void SetDashSize
88 (
89 double lineDashSize
90 );
94 public: double SpaceSize
95 (
96 );
100 public: void SetSpaceSize
101 (
102 double lineSpaceSize
103 );
107 public: double SymbolSize
108 (
109 );
113 public: void SetSymbolSize
114 (
115 double lineSymbolSize
116 );
120 public: double CurveTolerance
121 (
122 );
126 public: void SetCurveTolerance
127 (
128 double lineCurveTolerance
129 );
133 public: bool ShowWidths
134 (
135 );
139 public: void SetShowWidths
140 (
141 bool isShowWidthOn
142 );
146 public: double WidthScale
147 (
148 );
152 public: void SetWidthScale
153 (
154 double widthScale
155 );
159 public: void GetWidthOptions
160 (
161 bool* showWidths ,
163 double* widthScale
165 );
169 public: void SetWidthOptions
170 (
171 bool showWidths ,
173 double widthScale
175 );
179 public: void GetPixelWidths
180 (
181 std::vector<int> & pixelWidths
183 );
187 public: void SetPixelWidths
188 (
189 const std::vector<int> & pixelWidths
191 );
196 (
197 bool* useWidthScale ,
199 double* widthScale ,
201 std::vector<int> & pixelWidths
203 );
208 (
209 bool useWidthScale ,
211 double widthScale ,
213 const std::vector<int> & pixelWidths
215 );
220 (
221 );
226 (
227 bool updateModeChanged ,
228 bool studio
229 );
234 (
235 bool softwareUpdate
236 );
237 }; //lint !e1712 default constructor not defined for class
238 }
239}
240#ifdef _MSC_VER
241#pragma warning(pop)
242#endif
243#ifdef __GNUC__
244#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
245#pragma GCC diagnostic warning "-Wdeprecated-declarations"
246#endif
247#endif
248#undef EXPORTLIBRARY