NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_HatchBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_HatchBuilder.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/Annotations.hxx>
22#include <NXOpen/Annotations_BoundaryBuilder.hxx>
23#include <NXOpen/Annotations_HatchFillSettingsBuilder.hxx>
24#include <NXOpen/Builder.hxx>
25#include <NXOpen/SelectObjectList.hxx>
26#include <NXOpen/libnxopencpp_annotations_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Annotations
37 {
38 class HatchBuilder;
39 }
40 namespace Annotations
41 {
42 class BoundaryBuilder;
43 }
44 namespace Annotations
45 {
47 }
48 class Builder;
49 class NXColor;
50 class NXObject;
52 namespace Annotations
53 {
54 class _HatchBuilderBuilder;
55 class HatchBuilderImpl;
61 class NXOPENCPP_ANNOTATIONSEXPORT HatchBuilder : public NXOpen::Builder
62 {
66 public: enum NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchBuilder::HatchFillSettings instead.") AnnotationTypes
67 {
68 AnnotationTypesCrosshatch,
69 AnnotationTypesAreaFill
70 };
71 private: HatchBuilderImpl * m_hatchbuilder_impl;
72 private: friend class _HatchBuilderBuilder;
73 protected: HatchBuilder();
74 public: ~HatchBuilder();
78 public: NXOpen::Annotations::HatchBuilder::AnnotationTypes AnnotationType
79 (
80 );
84 public: void SetAnnotationType
85 (
86 NXOpen::Annotations::HatchBuilder::AnnotationTypes type
87 );
92 (
93 );
98 (
99 );
104 (
105 );
110 (
111 bool excludeText
112 );
117 (
118 );
123 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") NXString CrosshatchFile
124 (
125 );
130 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetCrosshatchFile
131 (
132 const NXString & filename
133 );
139 (
140 const char * filename
141 );
146 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") NXString Pattern
147 (
148 );
153 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetPattern
154 (
155 const NXString & identifier
156 );
162 (
163 const char * identifier
164 );
169 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") double Distance
170 (
171 );
176 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetDistance
177 (
178 double distance
179 );
184 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") NXOpen::Annotations::AreaFillMaterial Material
185 (
186 );
191 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetMaterial
192 (
193 NXOpen::Annotations::AreaFillMaterial areaFillMaterial
194 );
199 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") double Scale
200 (
201 );
206 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetScale
207 (
208 double scale
209 );
214 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") double Angle
215 (
216 );
221 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetAngle
222 (
223 double angle
224 );
229 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") double AreafillAngle
230 (
231 );
236 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetAreafillAngle
237 (
238 double angle
239 );
244 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") NXOpen::NXColor * Color
245 (
246 );
251 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetColor
252 (
253 NXOpen::NXColor * color
254 );
259 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") NXOpen::Annotations::LineWidth Width
260 (
261 );
266 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetWidth
267 (
269 );
274 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") double Tolerance
275 (
276 );
281 public: NX_DEPRECATED("Deprecated in NX7.5.0. Use NXOpen::Annotations::HatchFillSettingsBuilder instead.") void SetTolerance
282 (
283 double tolerance
284 );
288 public: double GetMarginPercent
289 (
290 NXOpen::NXObject * annotation
291 );
295 public: void SetMarginPercent
296 (
297 NXOpen::NXObject * annotation ,
298 double marginpercent
299 );
304 (
305 int numCurrentDirectionMapElement
306 );
311 public: void SetCurveDirection
312 (
313 NXOpen::NXObject * curveTag ,
314 int curveDirection
315 );
321 (
322 NXOpen::NXObject * section ,
323 NXOpen::NXObject * curve ,
324 const std::vector<int> & curveDirections
325 );
326 };
327 }
328}
329#ifdef _MSC_VER
330#pragma warning(pop)
331#endif
332#ifdef __GNUC__
333#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
334#pragma GCC diagnostic warning "-Wdeprecated-declarations"
335#endif
336#endif
337#undef EXPORTLIBRARY