NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_AnnotationManager.hxx
1//--------------------------------------------------------------------------
2// 版权所有 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口到 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_AnnotationManager.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.hxx>
22#include <NXOpen/Annotations_AppendedText.hxx>
23#include <NXOpen/Annotations_AssociateDimensionBuilder.hxx>
24#include <NXOpen/Annotations_AssociativeText.hxx>
25#include <NXOpen/Annotations_Associativity.hxx>
26#include <NXOpen/Annotations_AssociativityBuilder.hxx>
27#include <NXOpen/Annotations_ComponentData.hxx>
28#include <NXOpen/Annotations_CompoundDatumReferenceBuilder.hxx>
29#include <NXOpen/Annotations_DatumReference.hxx>
30#include <NXOpen/Annotations_DatumReferenceBuilder.hxx>
31#include <NXOpen/Annotations_DimensionData.hxx>
32#include <NXOpen/Annotations_DraftingDatumTargetBuilder.hxx>
33#include <NXOpen/Annotations_DraftingFeatureControlFrameBuilder.hxx>
34#include <NXOpen/Annotations_DraftingNoteBuilder.hxx>
35#include <NXOpen/Annotations_EditLeaderBuilder.hxx>
36#include <NXOpen/Annotations_FcfFrame.hxx>
37#include <NXOpen/Annotations_FcfFrameData.hxx>
38#include <NXOpen/Annotations_FeatureControlFrameDataBuilder.hxx>
39#include <NXOpen/Annotations_FeatureControlFrameIndicatorBuilder.hxx>
40#include <NXOpen/Annotations_LeaderBundle.hxx>
41#include <NXOpen/Annotations_LeaderData.hxx>
42#include <NXOpen/Annotations_LetteringPreferences.hxx>
43#include <NXOpen/Annotations_LineAndArrowPreferences.hxx>
44#include <NXOpen/Annotations_MasterCustomSymbolData.hxx>
45#include <NXOpen/Annotations_PmiData.hxx>
46#include <NXOpen/Annotations_PmiDatumTargetBuilder.hxx>
47#include <NXOpen/Annotations_PmiFeatureControlFrameBuilder.hxx>
48#include <NXOpen/Annotations_PmiNoteBuilder.hxx>
49#include <NXOpen/Annotations_PmiTrackingPropertiesBuilder.hxx>
50#include <NXOpen/Annotations_QueryPmiBuilder.hxx>
51#include <NXOpen/Annotations_TextEditorBuilder.hxx>
52#include <NXOpen/Annotations_UserSymbolPreferences.hxx>
53#include <NXOpen/BasePart.hxx>
54#include <NXOpen/LineWelds.hxx>
55#include <NXOpen/TaggedObject.hxx>
56#include <NXOpen/type.hxx>
57#include <NXOpen/ugmath.hxx>
58#include <NXOpen/libnxopencpp_annotations_exports.hxx>
59#ifdef _MSC_VER
60#pragma warning(push)
61#pragma warning(disable:4996)
62#endif
63#ifdef __GNUC__
64#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
65#endif
66namespace NXOpen
67{
68 namespace Annotations
69 {
71 }
72 class BasePart;
73 namespace Annotations
74 {
75 class Annotation;
76 }
77 namespace Annotations
78 {
79 class AppendedText;
80 }
81 namespace Annotations
82 {
84 }
85 namespace Annotations
86 {
87 class AssociativeText;
88 }
89 namespace Annotations
90 {
91 class Associativity;
92 }
93 namespace Annotations
94 {
96 }
97 namespace Annotations
98 {
100 }
101namespace Annotations
102{
104}
105namespace Annotations
106{
108}
109namespace Annotations
110{
111 class ComponentData;
112}
113namespace Annotations
114{
116}
117namespace Annotations
118{
120}
121namespace Annotations
122{
123 class DatumReference;
124}
125namespace Annotations
126{
128}
129namespace Annotations
130{
131 class DatumTarget;
132}
133namespace Annotations
134{
136}
137namespace Annotations
138{
139 class Dimension;
140}
141namespace Annotations
142{
143 class DimensionData;
144}
145namespace Annotations
146{
148}
149namespace Annotations
150{
152}
153namespace Annotations
154{
156}
157namespace Annotations
158{
160}
161namespace Annotations
162{
164}
165namespace Annotations
166{
168}
169namespace Annotations
170{
172}
173namespace Annotations
174{
176}
177namespace Annotations
178{
180}
181namespace Annotations
182{
184}
185namespace Annotations
186{
187 class EditLeaderBuilder;
188}
189namespace Annotations
190{
191 class EditText;
192}
193namespace Annotations
194{
195 class Fcf;
196}
197namespace Annotations
198{
199 class FcfCollection;
200}
201namespace Annotations
202{
203 class FcfDatumReference;
204}
205namespace Annotations
206{
207 class FcfFrame;
208}
209namespace Annotations
210{
211 class FcfFrameData;
212}
213namespace Annotations
214{
216}
217namespace Annotations
218{
220}
221namespace Annotations
222{
224}
225namespace Annotations
226{
227 class FrameBarCollection;
228}
229namespace Annotations
230{
231 class Gdt;
232}
233namespace Annotations
234{
235 class GdtDatumCollection;
236}
237namespace Annotations
238{
239 class HatchCollection;
240}
241namespace Annotations
242{
244}
245namespace Annotations
246{
247 class IdSymbolCollection;
248}
249namespace Annotations
250{
252}
253namespace Annotations
254{
255 class Label;
256}
257namespace Annotations
258{
259 class LeaderBundle;
260}
261namespace Annotations
262{
263 class LeaderData;
264}
265namespace Annotations
266{
268}
269namespace Annotations
270{
272}
273namespace Annotations
274{
275 class LineWeld;
276}
277namespace Annotations
278{
279 class MasterCustomSymbolData;
280}
281namespace Annotations
282{
283 class Note;
284}
285namespace Annotations
286{
288}
289namespace Annotations
290{
292}
293namespace Annotations
294{
296}
297namespace Annotations
298{
300}
301namespace Annotations
302{
304}
305namespace Annotations
306{
307 class PmiData;
308}
309namespace Annotations
310{
312}
313namespace Annotations
314{
316}
317namespace Annotations
318{
320}
321namespace Annotations
322{
324}
325namespace Annotations
326{
327 class PmiNoteBuilder;
328}
329namespace Annotations
330{
332}
333namespace Annotations
334{
336}
337namespace Annotations
338{
340}
341namespace Annotations
342{
343 class ProductGridCollection;
344}
345namespace Annotations
346{
347 class QueryPmiBuilder;
348}
349namespace Annotations
350{
351 class SimpleDraftingAid;
352}
353namespace Annotations
354{
356}
357namespace Annotations
358{
359 class TableCollection;
360}
361namespace Annotations
362{
364}
365namespace Annotations
366{
368}
369namespace Annotations
370{
371 class TextEditorBuilder;
372}
373namespace Annotations
374{
376}
377namespace Annotations
378{
379 class WeldCollection;
380}
382class ModelingView;
383namespace Preferences
384{
386}
387class SymbolFont;
388class Xform;
389namespace Annotations
390{
396 class NXOPENCPP_ANNOTATIONSEXPORT AnnotationManager
397 {
398 private: AnnotationManagerImpl * m_annotationmanager_impl;
399 private: NXOpen::BasePart* m_owner;
401 public: explicit AnnotationManager(NXOpen::BasePart *owner);
403 public:
405 tag_t Tag() const;
406 public: ~AnnotationManager();
411 (
412 std::vector<NXString> & textLines ,
413 const NXOpen::Point3d & origin ,
414 NXOpen::AxisOrientation orientation ,
415 NXOpen::Annotations::LetteringPreferences * letteringPreferences ,
417 NXOpen::Annotations::UserSymbolPreferences * userSymbolPreferences
419 );
426 (
427 NXOpen::Annotations::LineWeld * draftingAid ,
428 bool keepDraftingAid ,
432 );
439 (
441 bool keepDraftingAid
442 );
449 (
451 bool keepDraftingAid ,
455 );
462 (
464 bool keepDraftingAid ,
466 );
473 (
475 bool keepDraftingAid ,
477 );
484 (
485 std::vector<NXString> & textLines ,
486 const NXOpen::Point3d & origin ,
487 NXOpen::Annotations::LetteringPreferences * letteringPreferences ,
489 NXOpen::Annotations::UserSymbolPreferences * userSymbolPreferences ,
491 NXOpen::Annotations::LineAndArrowPreferences * lineArrowPreferences ,
494 );
499 (
500 std::vector<NXString> & textLines ,
501 const NXOpen::Point3d & origin ,
502 NXOpen::Annotations::LetteringPreferences * letteringPreferences ,
504 NXOpen::Annotations::UserSymbolPreferences * userSymbolPreferences ,
506 NXOpen::Annotations::LineAndArrowPreferences * lineArrowPreferences ,
508 bool alwaysVertical ,
512 );
517 (
519 double lengthOrScale ,
520 double heightOrAspectRatio
521 );
526 (
527 );
532 public: void SetCurrentSbfFile
533 (
534 const NXString & fileName
535 );
541 (
542 const char * fileName
543 );
549 (
550 );
555 (
556 const NXString & symbolName ,
557 double* symbolWidth ,
558 double* symbolHeight
559 );
564 (
565 const char * symbolName ,
566 double* symbolWidth ,
567 double* symbolHeight
568 );
573 public: std::vector<NXString> ReadAllSymbolNamesFromSbfFile
574 (
575 );
582 public: NX_DEPRECATED("在NX7.5.2中已弃用。请使用 NXOpen::Annotations::MasterSymbolBuilder 代替。") void SaveUserSymbolPart
583 (
585 );
590 (
591 );
596 (
597 );
602 (
603 );
608 (
609 );
614 (
615 );
620 (
621 );
626 public: NX_DEPRECATED("Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolBuilder instead.") NXOpen::Annotations::MasterCustomSymbolData * NewMasterCustomSymbolData
627 (
628 );
633 (
634 NXOpen::Annotations::PmiDefaultPlane jaDefaultPlane
635 );
640 (
641 );
646 (
647 const std::vector<NXOpen::DisplayableObject *> & geom
648 );
653 (
654 const std::vector<NXOpen::Annotations::Annotation *> & pmiSymbols
655 );
660 (
661 );
666 (
667 NXOpen::Annotations::Dimension * dimension ,
668 int assocIndex
669 );
674 (
675 NXOpen::Annotations::Dimension * dimension
676 );
681 (
682 );
686 public: void MakePmi
687 (
688 NXOpen::Annotations::Annotation * annotation
689 );
693 public: void RemovePmi
694 (
695 NXOpen::Annotations::Annotation * annotation
696 );
701 (
702 NXOpen::Annotations::SimpleDraftingAid * annotation
703 );
708 (
709 NXOpen::Annotations::SimpleDraftingAid * annotation
710 );
715 (
716 NXOpen::Annotations::Gdt * fcf
717 );
722 (
723 NXOpen::Annotations::DraftingDatumTarget * datumTarget
724 );
729 (
730 NXOpen::Annotations::DatumTarget * datumTarget
731 );
736 (
737 NXOpen::Annotations::Fcf * fcf
738 );
743 (
745 );
750 (
751 NXOpen::Annotations::FcfDatumReference * datumReference
752 );
757 (
758 );
763 (
764 );
769 (
770 NXOpen::DisplayableObject * tableTag
771 );
776 (
777 NXOpen::Annotations::Annotation * annotationTag
778 );
782 public: void SetWeldStandard
783 (
785 );
790 (
791 );
797 (
798 );
804 (
805 );
810 (
811 );
816 (
817 const NXString & symbolTextFontName
818 );
823 (
824 const char * symbolTextFontName
825 );
830 (
831 );
836 (
837 bool parallelToScreen ,
838 const std::vector<NXOpen::Annotations::Annotation *> & annotations
839 );
844 (
845 );
850 (
851 const std::vector<NXString> & text
852 );
856 public: NXOpen::Preferences::AnnotationPreferences *Preferences();
966
969 public: NXOpen::Annotations::ProductGridCollection *ProductGrids();
971
995 }; //lint !e1712 default constructor not defined for class
996 }
997}
998#ifdef _MSC_VER
999#pragma warning(pop)
1000#endif
1001#ifdef __GNUC__
1002#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1003#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1004#endif
1005#endif
1006#undef EXPORTLIBRARY