NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Markup_ElementBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件,用于JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Markup_ElementBuilder.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/DisplayableObject.hxx>
22#include <NXOpen/Features_TextBuilder.hxx>
23#include <NXOpen/Markup_Text.hxx>
24#include <NXOpen/Builder.hxx>
25#include <NXOpen/SelectObjectList.hxx>
26#include <NXOpen/ugmath.hxx>
27#include <NXOpen/libnxopencpp_markup_exports.hxx>
28#ifdef _MSC_VER
29#pragma warning(push)
30#pragma warning(disable:4996)
31#endif
32#ifdef __GNUC__
33#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34#endif
35namespace NXOpen
36{
37 namespace Markup
38 {
39 class ElementBuilder;
40 }
41 class Builder;
42 class NXColor;
44 namespace Markup
45 {
46 class _ElementBuilderBuilder;
47 class ElementBuilderImpl;
51 class NXOPENCPP_MARKUPEXPORT ElementBuilder : public NXOpen::Builder
52 {
67 private: ElementBuilderImpl * m_elementbuilder_impl;
68 private: friend class _ElementBuilderBuilder;
69 protected: ElementBuilder();
70 public: ~ElementBuilder();
75 (
76 );
80 public: void SetStyle
81 (
83 );
88 (
89 );
95 (
96 );
100 public: std::vector<NXString> GetComment
101 (
102 );
106 public: void SetComment
107 (
108 std::vector<NXString> & comment
109 );
126 (
127 );
143 public: void SetLocation
144 (
145 const NXOpen::Point3d & point
146 );
151 public: bool PinToScreen
152 (
153 );
158 public: void SetPinToScreen
159 (
160 bool pinToScreen
161 );
165 public: double CircleSize
166 (
167 );
171 public: void SetCircleSize
172 (
173 double radius
174 );
178 public: void GetEllipseSize
179 (
180 double* majorRadius ,
181 double* minorRadius
182 );
186 public: void SetEllipseSize
187 (
188 double majorRadius ,
189 double minorRadius
190 );
194 public: void SetFreehandShape
195 (
196 const std::vector<NXOpen::Point3d> & controlPoints
197 );
202 (
203 );
207 public: void SetIconName
208 (
209 const NXString & iconBitmap
210 );
215 (
216 const char * iconBitmap
217 );
221 public: void GetRectangleSize
222 (
223 double* length ,
224 double* width
225 );
229 public: void SetRectangleSize
230 (
231 double length ,
232 double width
233 );
238 (
239 );
243 public: void SetLineColor
244 (
245 NXOpen::NXColor * colorIndex
246 );
251 (
252 );
256 public: void SetLineFont
257 (
259 );
264 (
265 );
269 public: void SetLineWidth
270 (
272 );
276 public: bool EnableBackground
277 (
278 );
283 (
284 bool enableBackground
285 );
290 (
291 );
296 (
297 NXOpen::NXColor * colorIndex
298 );
303 (
304 );
308 public: void SetLeaderLineFont
309 (
311 );
316 (
317 );
322 (
324 );
329 (
330 );
334 public: void SetTextFont
335 (
336 const NXString & textFont
337 );
342 (
343 const char * textFont
344 );
349 (
350 );
354 public: void SetTextFontStyle
355 (
357 );
362 (
363 );
367 public: void SetTextScale
368 (
370 );
374 public: std::vector<NXString> GetTextContent
375 (
376 );
380 public: void SetTextContent
381 (
382 std::vector<NXString> & comment
383 );
387 public: bool Underline
388 (
389 );
393 public: void SetUnderline
394 (
395 bool underline
396 );
400 public: bool Strikethrough
401 (
402 );
406 public: void SetStrikethrough
407 (
408 bool strikethrough
409 );
414 (
415 );
419 public: void SetTextColor
420 (
421 NXOpen::NXColor * colorIndex
422 );
426 public: bool IncludeLabels
427 (
428 );
432 public: void SetIncludeLabels
433 (
434 bool includeLabels
435 );
436 };
437 }
438}
439#ifdef _MSC_VER
440#pragma warning(pop)
441#endif
442#ifdef __GNUC__
443#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
444#pragma GCC diagnostic warning "-Wdeprecated-declarations"
445#endif
446#endif
447#undef EXPORTLIBRARY