NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
SelectNXObject.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// SelectNXObject.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_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 class SelectNXObject;
38 namespace GeometricUtilities
39 {
41 }
42 class NXObject;
43 class View;
44 class _SelectNXObjectBuilder;
45 class SelectNXObjectImpl;
49 class NXOPENCPPEXPORT SelectNXObject : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
50 {
51 private: SelectNXObjectImpl * m_selectnxobject_impl;
52 private: friend class _SelectNXObjectBuilder;
53 protected: SelectNXObject();
54 public: ~SelectNXObject();
58 public: void SetValue
59 (
60 NXOpen::NXObject * selection
61 );
66 (
67 );
71 public: void SetValue
72 (
73 NXOpen::NXObject * selection ,
74 NXOpen::View * view ,
75 const NXOpen::Point3d & point
76 );
80 public: void GetValue
81 (
82 NXOpen::NXObject ** selection ,
83 NXOpen::View ** view ,
84 NXOpen::Point3d* point
85 );
89 public: void SetValue
90 (
92 NXOpen::NXObject * selection1 ,
93 NXOpen::View * view1 ,
94 const NXOpen::Point3d & point1 ,
95 NXOpen::NXObject * selection2 ,
96 NXOpen::View * view2 ,
97 const NXOpen::Point3d & point2
98 );
102 public: void GetValue
103 (
105 NXOpen::NXObject ** selection1 ,
106 NXOpen::View ** view1 ,
107 NXOpen::Point3d* point1 ,
108 NXOpen::NXObject ** selection2 ,
109 NXOpen::View ** view2 ,
110 NXOpen::Point3d* point2
111 );
116 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use other versions of NXOpen::SelectObject::SetValue.") void SetValue
117 (
118 NXOpen::NXObject * selection ,
119 NXOpen::CaeObjectType::CaeSubType caeSubType ,
120 int caeSubId
121 );
127 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use other versions of NXOpen::SelectObject::GetValue.") NXOpen::NXObject * GetValue
128 (
129 NXOpen::CaeObjectType::CaeSubType* caeSubType ,
130 int* caeSubId
131 );
136 public: virtual bool Validate
137 (
138 );
139 };
140}
141#ifdef _MSC_VER
142#pragma warning(pop)
143#endif
144#ifdef __GNUC__
145#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
146#pragma GCC diagnostic warning "-Wdeprecated-declarations"
147#endif
148#endif
149#undef EXPORTLIBRARY