NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_PmiManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_PmiManager.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/Annotations_ArbitraryAreaSeedBuilder.hxx>
22#include <NXOpen/Annotations_ConvertPmiBuilder.hxx>
23#include <NXOpen/Annotations_PMIExplicitOrderBuilder.hxx>
24#include <NXOpen/Annotations_SuppressPMIBuilder.hxx>
25#include <NXOpen/BasePart.hxx>
26#include <NXOpen/TaggedObject.hxx>
27#include <NXOpen/libnxopencpp_annotations_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 Annotations
38 {
39 class PmiManager;
40 }
41 class Part;
42 namespace Annotations
43 {
44 class Annotation;
45 }
46 namespace Annotations
47 {
49 }
50 namespace Annotations
51 {
53 }
54 namespace Annotations
55 {
57 }
58 namespace Annotations
59 {
60 class Pmi;
61 }
62 namespace Annotations
63 {
65 }
66 namespace Annotations
67 {
68 class PmiCollection;
69 }
70 namespace Annotations
71 {
73 }
74 namespace Annotations
75 {
77 }
78 namespace Annotations
79 {
81 }
82 namespace Annotations
83 {
85 }
86 namespace Annotations
87 {
89 }
90 namespace Assemblies
91 {
92 class Component;
93 }
94 class INXObject;
95 class TaggedObject;
96 class View;
97 namespace Annotations
98 {
99 class PmiManagerImpl;
103 class NXOPENCPP_ANNOTATIONSEXPORT PmiManager
104 {
112 private: PmiManagerImpl * m_pmimanager_impl;
113 private: NXOpen::Part* m_owner;
115 public: explicit PmiManager(NXOpen::Part *owner);
117 public:
119 tag_t Tag() const;
120 public: ~PmiManager();
127 public: std::vector<NXOpen::Annotations::Pmi *> CopyObjects
128 (
129 const std::vector<NXOpen::Annotations::Pmi *> & inputObjects
130 );
138 public: std::vector<NXOpen::Annotations::Annotation *> CopyDisplayInstanceObjects
139 (
140 const std::vector<NXOpen::Annotations::Annotation *> & inputObjects ,
141 NXOpen::View * view
142 );
150 (
151 const std::vector<NXOpen::Annotations::Annotation *> & inputObjects ,
152 const std::vector<NXOpen::View *> & cutViews ,
154 NXOpen::View * viewOfPaste
155 );
162 (
163 );
168 public: bool IsInheritedPmi
169 (
171 );
176 (
177 NXOpen::Annotations::Annotation * inheritedPmi
178 );
183 (
184 NXOpen::Annotations::Annotation * displayInstance
185 );
190 (
191 );
199 (
200 NXOpen::Annotations::Annotation * oldAnnotation ,
201 NXOpen::Annotations::Annotation * newAnnotation
202 );
206 public: void Resize
207 (
208 );
215 public: void ResetSize
216 (
217 );
222 (
223 );
228 (
229 const NXString & savedOrderName
230 );
235 (
236 const char * savedOrderName
237 );
242 (
243 std::vector<NXString> & orderList ,
244 const NXString & saveName
245 );
250 (
251 std::vector<NXString> & orderList ,
252 const char * saveName
253 );
258 (
260 );
265 (
266 );
270 public: void Position
271 (
272 NXOpen::View * view
273 );
275
278 public: void PositionSelected
279 (
280 NXOpen::View * view ,
281 const std::vector<NXOpen::TaggedObject *> & selectedPmisTag
282 );
285
288 public: void LoadComponentPmi
289 (
290 );
292
296 (
297 );
299
302 public: void SetComponentPmiDisplay
303 (
304 const std::vector<NXOpen::Assemblies::Component *> & selectedComponents ,
305 bool doDisplay
306 );
309
312 public: NXOpen::Annotations::PmiManager::ComponentPmiDisplayStatus GetComponentPmiDisplayStatus
313 (
315 );
318
321 public: void ResetComponentPmiDisplayStatus
322 (
323 const std::vector<NXOpen::Assemblies::Component *> & selectedComponents
324 );
327
330 public: void GetAllPmiOccurrences
331 (
332 std::vector<NXOpen::INXObject *> & pmiOccs
333 );
336
339 public: void Orient
340 (
341 NXOpen::Annotations::Annotation * displayInstance
342 );
344
347 public: bool IsDisplayInstance
348 (
350 );
355 public: bool HasPmiInView
356 (
357 );
382 }; //lint !e1712 default constructor not defined for class
383 }
384}
385#ifdef _MSC_VER
386#pragma warning(pop)
387#endif
388#ifdef __GNUC__
389#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
390#pragma GCC diagnostic warning "-Wdeprecated-declarations"
391#endif
392#endif
393#undef EXPORTLIBRARY