NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
MeasureElement.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// MeasureElement.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/MeasureManager.hxx>
22#include <NXOpen/TransientObject.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_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 class MeasureElement;
35 namespace Annotations
36 {
37 class Annotation;
38 }
39 class Expression;
40 class NXObject;
41 class ScCollector;
42 namespace Validate
43 {
44 class RequirementCheck;
45 }
46 class MeasureElementImpl;
50 class NXOPENCPPEXPORT MeasureElement : public NXOpen::TransientObject
51 {
60
84 private: MeasureElementImpl * m_measureelement_impl;
86 public: explicit MeasureElement(void *ptr);
88
92 (
93 );
97 public: void SetMeasureObject1
98 (
100 );
105 (
106 );
110 public: void SetMeasureObject2
111 (
113 );
117 public: bool SingleSelect1
118 (
119 );
123 public: void SetSingleSelect1
124 (
125 bool singleSelect
126 );
130 public: bool SingleSelect2
131 (
132 );
136 public: void SetSingleSelect2
137 (
138 bool singleSelect
139 );
144 (
145 int outputIndex
146 );
151 (
152 int outputIndex ,
153 bool state
154 );
158 public: bool GetGeometryState
159 (
160 int outputIndex
161 );
165 public: void SetGeometryState
166 (
167 int outputIndex ,
168 bool state
169 );
174 (
175 int outputIndex
176 );
181 (
182 int outputIndex ,
183 bool state
184 );
189 (
190 int outputIndex
191 );
196 (
197 int outputIndex ,
198 bool state
199 );
204 (
205 );
210 (
211 int alternateSolution
212 );
217 (
218 );
222 public: void EditAnnotation
223 (
224 );
228 public: void CreateGeometry
229 (
230 );
235 (
236 NXOpen::Validate::RequirementCheck * requirementCheck ,
237 int outputIndex
238 );
243 (
244 );
248 public: virtual ~MeasureElement();
252 public: void HideAnnotation
253 (
254 );
258 public: void ShowGeometry
259 (
260 );
264 public: void HideGeometry
265 (
266 );
271 (
272 const NXOpen::Point3d & position
273 );
278 (
279 );
284 (
285 int selectionIntent
286 );
291 (
292 );
297 (
298 int selectionIntent
299 );
303 public: void SetGwifPosition
304 (
305 const NXOpen::Point3d & position
306 );
311 (
312 std::vector<NXOpen::Expression *> & expsTag
313 );
318 (
319 std::vector<NXString> & expsType
320 );
325 (
326 );
331 (
332 );
336 public: void GetExtraObjects1
337 (
338 std::vector<NXOpen::NXObject *> & extraObjects1
339 );
343 public: void GetExtraObjects2
344 (
345 std::vector<NXOpen::NXObject *> & extraObjects2
346 );
351 (
352 double accuracy
353 );
358 (
359 );
363 public: void ClearCache
364 (
365 );
371 (
372 int expIndex
373 );
379 (
380 NXOpen::NXObject * expTag1 ,
381 NXOpen::NXObject * expTag2 ,
382 NXOpen::NXObject * unitTag
383 );
389 (
390 );
391 }; //lint !e1712 default constructor not defined for class
392}
393#ifdef _MSC_VER
394#pragma warning(pop)
395#endif
396#ifdef __GNUC__
397#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
398#pragma GCC diagnostic warning "-Wdeprecated-declarations"
399#endif
400#endif
401#undef EXPORTLIBRARY