NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
GeometricUtilities_RegionTracker.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 面向C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// GeometricUtilities_RegionTracker.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/GeometricUtilities_IComponentBuilder.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_geometricutilities_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace GeometricUtilities
35 {
36 class RegionTracker;
37 }
38 class Body;
39 class Edge;
40 class Face;
41 namespace GeometricUtilities
42 {
44 }
45 namespace GeometricUtilities
46 {
47 class _RegionTrackerBuilder;
48 class RegionTrackerImpl;
52 class NXOPENCPP_GEOMETRICUTILITIESEXPORT RegionTracker : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
53 {
60 private: RegionTrackerImpl * m_regiontracker_impl;
61 private: friend class _RegionTrackerBuilder;
62 protected: RegionTracker();
63 public: ~RegionTracker();
67 public: bool OnTool
68 (
69 );
73 public: void SetOnTool
74 (
75 bool isOnTool
76 );
80 public: bool Added
81 (
82 );
86 public: void SetAdded
87 (
88 bool isAdded
89 );
93 public: bool Removed
94 (
95 );
99 public: void SetRemoved
100 (
101 bool isRemoved
102 );
106 public: void GetFaceSelectors
107 (
108 std::vector<NXOpen::Face *> & entities
109 );
113 public: void SetFaceSelectors
114 (
115 const std::vector<NXOpen::Face *> & entities
116 );
121 (
122 NXOpen::Face * entity
123 );
127 public: void GetEdgeSelectors
128 (
129 std::vector<NXOpen::Face *> & entities
130 );
134 public: void SetEdgeSelectors
135 (
136 const std::vector<NXOpen::Edge *> & entities
137 );
142 (
143 NXOpen::Edge * entity
144 );
149 (
150 std::vector<NXOpen::Edge *> & entities ,
151 std::vector<NXOpen::GeometricUtilities::RegionTracker::ExtremityType> & extremities
152 );
157 (
158 NXOpen::Edge * entity ,
160 );
165 (
166 const std::vector<NXOpen::Edge *> & entities ,
167 const std::vector<NXOpen::GeometricUtilities::RegionTracker::ExtremityType> & extremities
168 );
173 (
174 const NXOpen::Point3d & location
175 );
180 (
181 );
185 public: void SetOwningBody
186 (
187 NXOpen::Body * owningBodyEid
188 );
193 (
194 NXOpen::Body * boundaryBodyEid ,
195 bool sideness
196 );
201 public: virtual bool Validate
202 (
203 );
204 };
205 }
206}
207#ifdef _MSC_VER
208#pragma warning(pop)
209#endif
210#ifdef __GNUC__
211#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
212#pragma GCC diagnostic warning "-Wdeprecated-declarations"
213#endif
214#endif
215#undef EXPORTLIBRARY