NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Assemblies_SelectComponent.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Assemblies_SelectComponent.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_assemblies_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 Assemblies
38 {
39 class SelectComponent;
40 }
41 namespace Assemblies
42 {
43 class Component;
44 }
45 namespace GeometricUtilities
46 {
48 }
49 class View;
50 namespace Assemblies
51 {
52 class _SelectComponentBuilder;
53 class SelectComponentImpl;
57 class NXOPENCPP_ASSEMBLIESEXPORT SelectComponent : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
58 {
59 private: SelectComponentImpl * m_selectcomponent_impl;
60 private: friend class _SelectComponentBuilder;
61 protected: SelectComponent();
62 public: ~SelectComponent();
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 (
100 NXOpen::Assemblies::Component * selection1 ,
101 NXOpen::View * view1 ,
102 const NXOpen::Point3d & point1 ,
103 NXOpen::Assemblies::Component * selection2 ,
104 NXOpen::View * view2 ,
105 const NXOpen::Point3d & point2
106 );
110 public: void GetValue
111 (
113 NXOpen::Assemblies::Component ** selection1 ,
114 NXOpen::View ** view1 ,
115 NXOpen::Point3d* point1 ,
116 NXOpen::Assemblies::Component ** selection2 ,
117 NXOpen::View ** view2 ,
118 NXOpen::Point3d* point2
119 );
124 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use other versions of NXOpen::SelectObject::SetValue.") void SetValue
125 (
126 NXOpen::Assemblies::Component * selection ,
127 NXOpen::CaeObjectType::CaeSubType caeSubType ,
128 int caeSubId
129 );
135 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use other versions of NXOpen::SelectObject::GetValue.") NXOpen::Assemblies::Component * GetValue
136 (
137 NXOpen::CaeObjectType::CaeSubType* caeSubType ,
138 int* caeSubId
139 );
144 public: virtual bool Validate
145 (
146 );
147 };
148 }
149}
150#ifdef _MSC_VER
151#pragma warning(pop)
152#endif
153#ifdef __GNUC__
154#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
155#pragma GCC diagnostic warning "-Wdeprecated-declarations"
156#endif
157#endif
158#undef EXPORTLIBRARY