NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
SelectPointList.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// SelectPointList.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/SelectObjectList.hxx>
27#include <NXOpen/SelectionMethod.hxx>
28#include <NXOpen/ugmath.hxx>
29#include <NXOpen/libnxopencpp_exports.hxx>
30#ifdef _MSC_VER
31#pragma warning(push)
32#pragma warning(disable:4996)
33#endif
34#ifdef __GNUC__
35#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36#endif
37namespace NXOpen
38{
39 class SelectPointList;
40 namespace GeometricUtilities
41 {
43 }
44 class Point;
45 class SelectObject;
46 class SelectionMethod;
47 class View;
48 class _SelectPointListBuilder;
49 class SelectPointListImpl;
53 class NXOPENCPPEXPORT SelectPointList : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
54 {
55 private: SelectPointListImpl * m_selectpointlist_impl;
56 private: friend class _SelectPointListBuilder;
57 protected: SelectPointList();
58 public: ~SelectPointList();
64 public: bool Add
65 (
66 NXOpen::Point * object
67 );
73 public: bool Add
74 (
75 const std::vector<NXOpen::Point *> & objects
76 );
82 public: bool AddWithViews
83 (
84 const std::vector<NXOpen::Point *> & objects ,
85 const std::vector<NXOpen::View *> & views
86 );
92 public: bool Add
93 (
94 NXOpen::SelectionMethod * inputSelectionMethod
95 );
101 public: bool Add
102 (
103 NXOpen::Point * selection ,
104 NXOpen::View * view ,
105 const NXOpen::Point3d & point
106 );
112 public: bool Remove
113 (
114 NXOpen::Point * object
115 );
121 public: bool Remove
122 (
123 NXOpen::Point * object ,
124 NXOpen::View * view
125 );
131 public: bool Remove
132 (
134 NXOpen::Point * selection1 ,
135 NXOpen::View * view1 ,
136 const NXOpen::Point3d & point1 ,
137 NXOpen::Point * selection2 ,
138 NXOpen::View * view2 ,
139 const NXOpen::Point3d & point2
140 );
146 public: bool RemoveArray
147 (
148 const std::vector<NXOpen::Point *> & objects
149 );
155 public: bool Remove
156 (
157 NXOpen::SelectionMethod * inputSelectionMethod
158 );
162 public: void Clear
163 (
164 );
169 public: bool Contains
170 (
171 NXOpen::Point * object
172 );
176 public: int Size
177 (
178 );
182 public: bool DuplicatesAllowed
183 (
184 );
188 public: void SetArray
189 (
190 const std::vector<NXOpen::Point *> & objects
191 );
196 public: std::vector<NXOpen::Point *> GetArray
197 (
198 );
203 public: std::vector<NXOpen::SelectObject *> GetSelectObjectArray
204 (
205 );
211 public: bool Add
212 (
214 NXOpen::Point * selection1 ,
215 NXOpen::View * view1 ,
216 const NXOpen::Point3d & point1 ,
217 NXOpen::Point * selection2 ,
218 NXOpen::View * view2 ,
219 const NXOpen::Point3d & point2
220 );
227 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use other versions of NXOpen::SelectObjectList::Add.") bool Add
228 (
229 NXOpen::Point * selection ,
230 NXOpen::CaeObjectType::CaeSubType caeSubType ,
231 int caeSubId
232 );
237 public: virtual bool Validate
238 (
239 );
240 };
241}
242#ifdef _MSC_VER
243#pragma warning(pop)
244#endif
245#ifdef __GNUC__
246#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
247#pragma GCC diagnostic warning "-Wdeprecated-declarations"
248#endif
249#endif
250#undef EXPORTLIBRARY