NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drawings_ViewLabelBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drawings_ViewLabelBuilder.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/Drawings_ViewLabelPreferencesData.hxx>
22#include <NXOpen/GeometricUtilities_IComponentBuilder.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 ViewLabelBuilder;
37 }
38 namespace GeometricUtilities
39 {
41 }
42 namespace Drawings
43 {
44 class _ViewLabelBuilderBuilder;
45 class ViewLabelBuilderImpl;
50 class NXOPENCPP_DRAWINGSEXPORT ViewLabelBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
51 {
52 private: ViewLabelBuilderImpl * m_viewlabelbuilder_impl;
53 private: friend class _ViewLabelBuilderBuilder;
54 protected: ViewLabelBuilder();
55 public: ~ViewLabelBuilder();
59 public: bool ShowViewLabel
60 (
61 );
65 public: void SetShowViewLabel
66 (
67 bool showViewLabel
68 );
73 (
74 );
78 public: void SetViewLabelOption
79 (
81 );
86 (
87 );
91 public: void SetLabelPosition
92 (
94 );
99 (
100 );
104 public: void SetLabelPrefix
105 (
106 const NXString & labelPrefix
107 );
112 (
113 const char * labelPrefix
114 );
119 (
120 );
124 public: void SetLetterFormat
125 (
127 );
132 public: NX_DEPRECATED("Deprecated in NX11.0.1. Use NXOpen::Drawings::ViewLabelBuilder::RotationSymbolType instead.") bool IncludeRotationSymbol
133 (
134 );
139 public: NX_DEPRECATED("Deprecated in NX11.0.1. Use NXOpen::Drawings::ViewLabelBuilder::SetRotationSymbolType instead.") void SetIncludeRotationSymbol
140 (
141 bool includeRotationSymbol
142 );
147 (
148 );
153 (
154 NXOpen::Drawings::RotationSymbolTypes rotationSymbolType
155 );
160 (
161 );
166 (
167 bool includeRotationAngle
168 );
173 (
174 );
179 (
180 double labelCharacterHeightFactor
181 );
186 (
187 );
192 (
193 NXOpen::Drawings::ReferenceShowTypes referenceToShow
194 );
198 public: bool ShowViewScale
199 (
200 );
204 public: void SetShowViewScale
205 (
206 bool showViewScale
207 );
212 (
213 );
217 public: void SetScalePosition
218 (
219 NXOpen::Drawings::ScalePositionTypes scalePosition
220 );
225 (
226 );
230 public: void SetScalePrefix
231 (
232 const NXString & scalePrefix
233 );
238 (
239 const char * scalePrefix
240 );
245 (
246 );
251 (
252 double prefixCharacterHeightFactor
253 );
258 (
259 );
263 public: void SetValueFormat
264 (
266 );
271 (
272 );
277 (
278 double scaleCharacterHeightFactor
279 );
284 (
285 );
290 (
291 bool includeParentheses
292 );
297 (
298 );
303 (
304 bool customizedViewLabel
305 );
310 (
311 );
316 (
317 const std::vector<NXString> & customizedText
318 );
323 public: virtual bool Validate
324 (
325 );
326 };
327 }
328}
329#ifdef _MSC_VER
330#pragma warning(pop)
331#endif
332#ifdef __GNUC__
333#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
334#pragma GCC diagnostic warning "-Wdeprecated-declarations"
335#endif
336#endif
337#undef EXPORTLIBRARY