NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
ScCollector.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件(JA API)
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// ScCollector.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/DisplayableObject.hxx>
22#include <NXOpen/SelectionIntentRule.hxx>
23#include <NXOpen/libnxopencpp_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 class ScCollector;
35 namespace Features
36 {
37 class CustomRule;
38 }
40 class TaggedObject;
50
58 class _ScCollectorBuilder;
59 class ScCollectorImpl;
69 class NXOPENCPPEXPORT ScCollector : public NXOpen::DisplayableObject
70 {
71 private: ScCollectorImpl * m_sccollector_impl;
72 private: friend class _ScCollectorBuilder;
73 protected: ScCollector();
74 public: ~ScCollector();
78 public: void ReplaceRules
79 (
80 const std::vector<NXOpen::SelectionIntentRule *> & rules ,
82 bool createRulesWoUpdate
83 );
87 public: void ReplaceRules
88 (
89 const std::vector<NXOpen::SelectionIntentRule *> & rules ,
91 const std::vector<NXOpen::DisplayableObject *> & negatedEntities ,
92 bool createRulesWoUpdate
93 );
97 public: void Destroy
98 (
99 );
103 public: std::vector<NXOpen::TaggedObject *> GetObjects
104 (
105 );
109 public: void GetRules
110 (
111 std::vector<NXOpen::SelectionIntentRule *> & rules
112 );
123 public: void SetInterpart
124 (
125 bool interpart
126 );
130 public: void RemoveRule
131 (
132 int ruleIndex
133 );
137 public: void RemoveRules
138 (
139 const std::vector<NXOpen::SelectionIntentRule *> & rules
140 );
145 (
146 );
154 public: bool GetMultiComponent
155 (
156 );
166 public: void SetMultiComponent
167 (
168 );
176 public: bool GetNonFeatureMode
177 (
178 );
189 public: void SetNonFeatureMode
190 (
191 );
195 public: std::vector<NXOpen::TaggedObject *> GetObjectsSortedById
196 (
197 );
202 (
204 );
209 (
211 );
216 (
218 );
222 public: void SetAllowRefCurves
223 (
224 bool allowRefCurves
225 );
230 (
231 );
236 (
237 NXOpen::ScCollectorAllowTypes allowedEntityTypes
238 );
243 (
244 );
249 (
250 );
254 public: void AddRules
255 (
256 const std::vector<NXOpen::SelectionIntentRule *> & rules
257 );
261 public: std::vector<NXOpen::TaggedObject *> AskRulesAndCollectedEntities
262 (
263 std::vector<NXOpen::SelectionIntentRule *> & rules ,
264 std::vector<int> & ruleObjectArrayCount
265 );
266 };
267}
268#ifdef _MSC_VER
269#pragma warning(pop)
270#endif
271#ifdef __GNUC__
272#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
273#pragma GCC diagnostic warning "-Wdeprecated-declarations"
274#endif
275#endif
276#undef EXPORTLIBRARY