NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Diagramming_SheetElementBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Diagramming_SheetElementBuilder.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/Diagramming_Annotation.hxx>
22#include <NXOpen/Diagramming_DataType.hxx>
23#include <NXOpen/Diagramming_LocationBuilder.hxx>
24#include <NXOpen/Diagramming_RenderingPropertiesBuilder.hxx>
25#include <NXOpen/Diagramming_Sheet.hxx>
26#include <NXOpen/Diagramming_SheetElement.hxx>
27#include <NXOpen/Diagramming_BaseObjectBuilder.hxx>
28#include <NXOpen/libnxopencpp_diagramming_exports.hxx>
29#ifdef _MSC_VER
30#pragma warning(push)
31#pragma warning(disable:4996)
32#endif
33#ifdef __GNUC__
34#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35#endif
36namespace NXOpen
37{
38 namespace Diagramming
39 {
41 }
42 namespace Diagramming
43 {
44 class Annotation;
45 }
46 namespace Diagramming
47 {
49 }
50 namespace Diagramming
51 {
52 class LocationBuilder;
53 }
54 namespace Diagramming
55 {
57 }
58 namespace Diagramming
59 {
60 class Sheet;
61 }
62 namespace Diagramming
63 {
64 class SheetElement;
65 }
66 namespace Diagramming
67 {
68 class _SheetElementBuilderBuilder;
69 class SheetElementBuilderImpl;
75 class NXOPENCPP_DIAGRAMMINGEXPORT SheetElementBuilder : public NXOpen::Diagramming::BaseObjectBuilder
76 {
88 private: SheetElementBuilderImpl * m_sheetelementbuilder_impl;
89 private: friend class _SheetElementBuilderBuilder;
90 protected: SheetElementBuilder();
91 public: ~SheetElementBuilder();
96 (
97 );
101 public: void SetResizeOption
102 (
104 );
108 public: void GetMinNodeSize
109 (
110 std::vector<double> & sizeValues
111 );
115 public: void SetMinNodeSize
116 (
117 const std::vector<double> & sizeValues
118 );
123 (
124 bool* isAllowedTranslation ,
125 bool* isAllowedRotation ,
126 bool* isAllowedScale ,
127 bool* isAllowedShear
128 );
132 public: double Height
133 (
134 );
138 public: void SetHeight
139 (
140 double height
141 );
145 public: bool Internal
146 (
147 );
152 (
153 );
157 public: void SetLocationStyle
158 (
160 );
164 public: double X
165 (
166 );
170 public: void SetX
171 (
172 double x
173 );
177 public: double Y
178 (
179 );
183 public: void SetY
184 (
185 double y
186 );
191 (
192 );
197 (
198 );
203 (
204 );
208 public: void SetLabelName
209 (
210 const NXString & labelname
211 );
216 (
217 const char * labelname
218 );
223 (
224 );
228 public: bool UpToDate
229 (
230 );
234 public: bool Visible
235 (
236 );
240 public: double Width
241 (
242 );
246 public: void SetWidth
247 (
248 double width
249 );
253 public: double Rotation
254 (
255 );
259 public: void SetRotation
260 (
261 double angle
262 );
266 public: int ZDepth
267 (
268 );
272 public: void SetZDepth
273 (
274 int zDepth
275 );
280 (
281 );
286 public: void SetOwningSheet
287 (
288 NXOpen::Diagramming::Sheet * owningSheet
289 );
294 (
295 );
299 public: void SetOwner
300 (
302 );
307 (
308 );
312 public: void SetHeightPolicy
313 (
315 );
320 (
321 );
325 public: void SetWidthPolicy
326 (
328 );
332 public: bool MirrorX
333 (
334 );
338 public: void SetMirrorX
339 (
340 bool mirrorX
341 );
345 public: bool MirrorY
346 (
347 );
351 public: void SetMirrorY
352 (
353 bool mirrorY
354 );
359 (
360 );
361 };
362 }
363}
364#ifdef _MSC_VER
365#pragma warning(pop)
366#endif
367#ifdef __GNUC__
368#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
369#pragma GCC diagnostic warning "-Wdeprecated-declarations"
370#endif
371#endif
372#undef EXPORTLIBRARY