NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Markup_Element.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于 JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Markup_Element.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/ugmath.hxx>
23#include <NXOpen/libnxopencpp_markup_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Markup
34 {
35 class Element;
36 }
38 namespace Markup
39 {
40 class Markup;
41 }
42 namespace Markup
43 {
44 class _ElementBuilder;
45 class ElementImpl;
51 class NXOPENCPP_MARKUPEXPORT Element : public NXOpen::DisplayableObject
52 {
53 private: ElementImpl * m_element_impl;
54 private: friend class _ElementBuilder;
55 protected: Element();
56 public: ~Element();
61 (
62 );
66 public: void SetLocation
67 (
68 const NXOpen::Point3d & location
69 );
71
74 public: void SetLocation
75 (
76 const NXOpen::Point2d & location
77 );
79
83 (
84 );
88 public: void SetAnchorPoint
89 (
90 const NXOpen::Point3d & anchorPoint
91 );
95 public: std::vector<NXOpen::DisplayableObject *> GetAnchorObjects
96 (
97 );
101 public: void SetAnchorObjects
102 (
103 const std::vector<NXOpen::DisplayableObject *> & anchorObjs
104 );
108 public: bool PinToScreen
109 (
110 );
114 public: void SetPinToScreen
115 (
116 bool pin
117 );
122 (
123 );
127 public: void SetComment
128 (
129 const NXString & comment
130 );
135 (
136 const char * comment
137 );
141 public: std::vector<NXOpen::DisplayableObject *> GetTerminatingObjects
142 (
143 );
148 (
149 const std::vector<NXOpen::DisplayableObject *> & terminatingObjs
150 );
155 (
156 );
157 };
158 }
159}
160#ifdef _MSC_VER
161#pragma warning(pop)
162#endif
163#ifdef __GNUC__
164#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
165#pragma GCC diagnostic warning "-Wdeprecated-declarations"
166#endif
167#endif
168#undef EXPORTLIBRARY