NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Fields_SpatialMapBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Fields_SpatialMapBuilder.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/Expression.hxx>
22#include <NXOpen/Fields_PathObjects.hxx>
23#include <NXOpen/Fields_SpatialMap.hxx>
24#include <NXOpen/Builder.hxx>
25#include <NXOpen/ObjectList.hxx>
26#include <NXOpen/SelectObjectList.hxx>
27#include <NXOpen/ugmath.hxx>
28#include <NXOpen/libnxopencpp_fields_exports.hxx>
29#ifdef _MSC_VER
30#pragma warning(push)
31#pragma warning(disable:4996)
32#endif
33#ifdef __GNUC__
34#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35#endif
36namespace NXOpen
37{
38 namespace Fields
39 {
41 }
42 class Builder;
43 class CoordinateSystem;
44 class Direction;
45 class Expression;
46 namespace Features
47 {
48 class FitSurface;
49 }
50 namespace Fields
51 {
52 class FieldVariable;
53 }
54 namespace Fields
55 {
56 class PathObjects;
57 }
58 namespace Fields
59 {
60 class PathObjectsList;
61 }
62 namespace Fields
63 {
64 class SpatialMap;
65 }
66 class Group;
67 class Point;
69 namespace Fields
70 {
71 class _SpatialMapBuilderBuilder;
72 class SpatialMapBuilderImpl;
99 class NXOPENCPP_FIELDSEXPORT SpatialMapBuilder : public NXOpen::Builder
100 {
109 private: SpatialMapBuilderImpl * m_spatialmapbuilder_impl;
110 private: friend class _SpatialMapBuilderBuilder;
111 protected: SpatialMapBuilder();
112public: ~SpatialMapBuilder();
117 (
118 );
122 public: void SetMapType
123 (
125 );
130 (
131 );
135 public: void SetMapSubtype
136 (
138 );
143 (
144 );
149 (
151 );
156 (
157 );
162 (
164 );
168 public: void AutoTolerance
169 (
170 );
175 (
176 );
181 (
182 );
187 (
188 );
192 public: void SetBoundingBoxMap
193 (
195 );
200 (
201 );
205 public: void SetCoordSystem
206 (
208 );
213 (
214 );
219 (
220 );
224 public: void SetOrigin
225 (
226 NXOpen::Point * origin
227 );
232 (
233 );
237 public: void SetOppositeCorner
238 (
239 NXOpen::Point * oppositeCorner
240 );
245 (
246 );
251 (
252 );
257 (
258 );
263 (
264 );
272 (
273 int numOfLatticeColumn ,
274 int numOfColumns ,
275 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
276 const std::vector<double> & datapoint ,
277 std::vector<double> & parameterizedDatapoints
278 );
282 public: void ResetMap
283 (
284 NXOpen::Fields::SpatialMap * spatialMap
285 );
287
291 public: NX_DEPRECATED("Deprecated in NX1953.0.0. This method will throw an error and should be replaced. Use JA_SPATIAL_MAP_BUILDER_set_map_subtype to set subtype to JA_SPATIAL_MAP_subtype_enum_fit_surface.") void CreateSurfaceThroughPoints
292 (
293 const std::vector<NXOpen::Point3d> & locations ,
294 std::vector<NXOpen::Point *> & points ,
295 NXOpen::Group ** pointGroup ,
296 NXOpen::Features::FitSurface ** feature
297 );
299
303 (
304 );
309 (
310 NXOpen::Fields::SpatialMapBuilder::FitSurfaceDirectionType directionOption
311 );
316 (
317 );
322 (
323 NXOpen::Direction * vector
324 );
329 (
330 const NXOpen::Point3d & origin ,
331 const NXOpen::Matrix3x3 & mtx
332 );
337 (
338 NXOpen::CoordinateSystem * coordSystem
339 );
344 (
345 );
350 (
351 );
356 (
357 int uDegree
358 );
363 (
364 );
369 (
370 int vDegree
371 );
376 (
377 );
382 (
383 int uPatches
384 );
389 (
390 );
395 (
396 int vPatches
397 );
401 public: std::vector<double> GetBoundingBox
402 (
403 );
407 public: void SetBoundingBox
408 (
409 const std::vector<double> & boundingbox
410 );
411};
412 }
413}
414#ifdef _MSC_VER
415#pragma warning(pop)
416#endif
417#ifdef __GNUC__
418#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
419#pragma GCC diagnostic warning "-Wdeprecated-declarations"
420#endif
421#endif
422#undef EXPORTLIBRARY