NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_LinearDimension.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_LinearDimension.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/BlockStyler_UIBlock.hxx>
22#include <NXOpen/ugmath.hxx>
23#include <NXOpen/libnxopenuicpp_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 namespace BlockStyler
34 {
35 class LinearDimension;
36 }
37 namespace BlockStyler
38 {
39 class UIBlock;
40 }
41 class TaggedObject;
42 namespace BlockStyler
43 {
44 class _LinearDimensionBuilder;
45 class LinearDimensionImpl;
49 class NXOPENUICPPEXPORT LinearDimension : public NXOpen::BlockStyler::UIBlock
50 {
51 private: LinearDimensionImpl * m_lineardimension_impl;
52 private: friend class _LinearDimensionBuilder;
53 protected: LinearDimension();
54 public: ~LinearDimension();
59 (
60 );
65 (
66 const NXString & imageString
67 );
72 (
73 const char * imageString
74 );
79 (
80 );
85 (
86 const NXString & enumString
87 );
92 (
93 const char * enumString
94 );
98 public: std::vector<NXString> GetBalloonTooltipLayoutMembers
99 (
100 );
105 (
106 );
111 (
112 const NXString & balloonTooltipText
113 );
118 (
119 const char * balloonTooltipText
120 );
125 (
126 );
131 (
132 NXOpen::TaggedObject * expressionObj
133 );
138 (
139 );
143 public: void SetFormula
144 (
145 const NXString & formula
146 );
151 (
152 const char * formula
153 );
158 (
159 );
163 public: void SetHandleOrigin
164 (
165 const NXOpen::Point3d & handleOrogin
166 );
170 public: double MaximumValue
171 (
172 );
176 public: void SetMaximumValue
177 (
178 double maxValue
179 );
183 public: bool MaxInclusive
184 (
185 );
189 public: void SetMaxInclusive
190 (
191 bool maxInclusive
192 );
196 public: double MinimumValue
197 (
198 );
202 public: void SetMinimumValue
203 (
204 double minValue
205 );
209 public: bool MinInclusive
210 (
211 );
215 public: void SetMinInclusive
216 (
217 bool minInclusive
218 );
222 public: bool ShowFocusHandle
223 (
224 );
229 (
230 bool showFocus
231 );
235 public: bool ShowHandle
236 (
237 );
241 public: void SetShowHandle
242 (
243 bool showHandle
244 );
249 public: NX_DEPRECATED("Deprecated in NX9.0.0. This call can be safely removed as this is now a no-op.") int SnapPointTypesOnByDefault
250 (
251 );
256 public: NX_DEPRECATED("Deprecated in NX9.0.0. This call can be safely removed as this is now a no-op.") void SetSnapPointTypesOnByDefault
257 (
258 int pointType
259 );
263 public: NXOpen::TaggedObject * Units
264 (
265 );
269 public: void SetUnits
270 (
271 NXOpen::TaggedObject * units
272 );
276 public: double Value
277 (
278 );
282 public: void SetValue
283 (
284 double dimensionValue
285 );
289 public: bool WithScale
290 (
291 );
295 public: void SetWithScale
296 (
297 bool withScale
298 );
303 (
304 );
309 (
310 const NXOpen::Vector3d & orientation
311 );
316 (
317 );
322 (
323 bool autoReverse
324 );
330 (
331 );
337 (
338 bool scaleLimits
339 );
345 public: double PageIncrement
346 (
347 );
353 public: void SetPageIncrement
354 (
355 double pageIncrement
356 );
362 public: double LineIncrement
363 (
364 );
370 public: void SetLineIncrement
371 (
372 double lineIncrement
373 );
377 public: void TestValueChanged
378 (
379 double dimensionValue
380 );
381 };
382 }
383}
384#ifdef _MSC_VER
385#pragma warning(pop)
386#endif
387#ifdef __GNUC__
388#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
389#pragma GCC diagnostic warning "-Wdeprecated-declarations"
390#endif
391#endif
392#undef EXPORTLIBRARY