NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_SelectAnnotation.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_SelectAnnotation.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/CaeObjectType.hxx>
22#include <NXOpen/InferSnapType.hxx>
23#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/SelectObject.hxx>
26#include <NXOpen/ugmath.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 SelectAnnotation;
40 }
41 namespace Annotations
42 {
43 class Annotation;
44 }
45 namespace GeometricUtilities
46 {
48 }
49 class View;
50 namespace Annotations
51 {
52 class _SelectAnnotationBuilder;
53 class SelectAnnotationImpl;
57 class NXOPENCPP_ANNOTATIONSEXPORT SelectAnnotation : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
58 {
59 private: SelectAnnotationImpl * m_selectannotation_impl;
60 private: friend class _SelectAnnotationBuilder;
61 protected: SelectAnnotation();
62 public: ~SelectAnnotation();
66 public: void SetValue
67 (
69 );
74 (
75 );
79 public: void SetValue
80 (
82 NXOpen::View * view ,
83 const NXOpen::Point3d & point
84 );
88 public: void GetValue
89 (
91 NXOpen::View ** view ,
92 NXOpen::Point3d* point
93 );
97 public: void SetValue
98 (
101 NXOpen::View * view1 ,
102 const NXOpen::Point3d & point1 ,
104 NXOpen::View * view2 ,
105 const NXOpen::Point3d & point2
106 );
110 public: void GetValue
111 (
113 NXOpen::Annotations::Annotation ** selection1 ,
114 NXOpen::View ** view1 ,
115 NXOpen::Point3d* point1 ,
116 NXOpen::Annotations::Annotation ** selection2 ,
117 NXOpen::View ** view2 ,
118 NXOpen::Point3d* point2
119 );
124 public: NX_DEPRECATED("在 NX10.0.0 中已弃用。请使用 NXOpen::SelectObject::SetValue 的其他版本。") void SetValue
125 (
126 NXOpen::Annotations::Annotation * selection ,
127 NXOpen::CaeObjectType::CaeSubType caeSubType ,
128 int caeSubId
129 );
135 public: NX_DEPRECATED("在 NX10.0.0 中已弃用。请使用 NXOpen::SelectObject::GetValue 的其他版本。") NXOpen::Annotations::Annotation * GetValue
136 (
137 NXOpen::CaeObjectType::CaeSubType* caeSubType ,
138 int* caeSubId
139 );
147 public: virtual bool Validate
148 (
149 );
150 };
151 }
152}
153#ifdef _MSC_VER
154#pragma warning(pop)
155#endif
156#ifdef __GNUC__
157#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
158#pragma GCC diagnostic warning "-Wdeprecated-declarations"
159#endif
160#endif
161#undef EXPORTLIBRARY