NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
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
36
namespace
NXOpen
37
{
38
namespace
Fields
39
{
40
class
SpatialMapBuilder
;
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
;
68
class
SelectNXObjectList
;
69
namespace
Fields
70
{
71
class
_SpatialMapBuilderBuilder;
72
class
SpatialMapBuilderImpl;
99
class
NXOPENCPP_FIELDSEXPORT SpatialMapBuilder :
public
NXOpen::Builder
100
{
102
public
:
enum
FitSurfaceDirectionType
103
{
104
FitSurfaceDirectionTypeBestFit
,
105
FitSurfaceDirectionTypeVector
,
106
FitSurfaceDirectionTypeOrientation
,
107
FitSurfaceDirectionTypeCsys
108
};
109
private
:
SpatialMapBuilderImpl
* m_spatialmapbuilder_impl;
110
private
:
friend
class
_SpatialMapBuilderBuilder;
111
protected
:
SpatialMapBuilder
();
112
public
:
~SpatialMapBuilder
();
116
public
:
NXOpen::Fields::SpatialMap::TypeEnum
MapType
117
(
118
);
122
public
:
void
SetMapType
123
(
124
NXOpen::Fields::SpatialMap::TypeEnum
mapType
125
);
129
public
:
NXOpen::Fields::SpatialMap::SubtypeEnum
MapSubtype
130
(
131
);
135
public
:
void
SetMapSubtype
136
(
137
NXOpen::Fields::SpatialMap::SubtypeEnum
mapSubType
138
);
142
public
:
NXOpen::Fields::SpatialMap::SubtypeMappingEnum
MapSubtypeMapping
143
(
144
);
148
public
:
void
SetMapSubtypeMapping
149
(
150
NXOpen::Fields::SpatialMap::SubtypeMappingEnum
mapSubTypeMapping
151
);
155
public
:
NXOpen::Fields::SpatialMap::ParametricPlaneMapEnum
ParametricPlaneMap
156
(
157
);
161
public
:
void
SetParametricPlaneMap
162
(
163
NXOpen::Fields::SpatialMap::ParametricPlaneMapEnum
parmPlaneMap
164
);
168
public
:
void
AutoTolerance
169
(
170
);
174
public
:
NXOpen::Expression
*
FaceTolerance
175
(
176
);
180
public
:
NXOpen::Expression
*
EvaluationTolerance
181
(
182
);
186
public
:
NXOpen::Fields::SpatialMap::BoundingBoxMapEnum
BoundingBoxMap
187
(
188
);
192
public
:
void
SetBoundingBoxMap
193
(
194
NXOpen::Fields::SpatialMap::BoundingBoxMapEnum
boundBoxMap
195
);
199
public
:
NXOpen::CoordinateSystem
*
CoordSystem
200
(
201
);
205
public
:
void
SetCoordSystem
206
(
207
NXOpen::CoordinateSystem
* csys
208
);
212
public
:
NXOpen::SelectNXObjectList
*
BoundedObjects
213
(
214
);
218
public
:
NXOpen::Point
*
Origin
219
(
220
);
224
public
:
void
SetOrigin
225
(
226
NXOpen::Point
* origin
227
);
231
public
:
NXOpen::Point
*
OppositeCorner
232
(
233
);
237
public
:
void
SetOppositeCorner
238
(
239
NXOpen::Point
* oppositeCorner
240
);
244
public
:
NXOpen::Fields::PathObjects
*
LatticePath
245
(
246
);
250
public
:
NXOpen::Fields::PathObjectsList
*
ConstUObjects
251
(
252
);
256
public
:
NXOpen::Fields::PathObjectsList
*
ConstVObjects
257
(
258
);
262
public
:
NXOpen::SelectNXObjectList
*
MappingFaces
263
(
264
);
271
public
:
NXOpen::Fields::SpatialMap
*
CreateLatticeMap
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
302
public:
NXOpen
::
Fields
::SpatialMapBuilder::
FitSurfaceDirectionType
FitSurfaceDirectionOption
303
(
304
);
308
public:
void
SetFitSurfaceDirectionOption
309
(
310
NXOpen
::
Fields
::SpatialMapBuilder::
FitSurfaceDirectionType
directionOption
311
);
315
public:
NXOpen
::
Direction
*
FitSurfaceVector
316
(
317
);
321
public:
void
SetFitSurfaceVector
322
(
323
NXOpen
::
Direction
* vector
324
);
328
public:
void
SetFitSurfaceOrientation
329
(
330
const
NXOpen
::
Point3d
& origin ,
331
const
NXOpen
::
Matrix3x3
& mtx
332
);
336
public:
void
SetFitSurfaceCoordinateSystem
337
(
338
NXOpen
::
CoordinateSystem
* coordSystem
339
);
343
public:
NXOpen
::
CoordinateSystem
*
FitSurfaceCoordinateSystem
344
(
345
);
349
public:
int
FitSurfaceUDegree
350
(
351
);
355
public:
void
SetFitSurfaceUDegree
356
(
357
int
uDegree
358
);
362
public:
int
FitSurfaceVDegree
363
(
364
);
368
public:
void
SetFitSurfaceVDegree
369
(
370
int
vDegree
371
);
375
public:
int
FitSurfaceUPatches
376
(
377
);
381
public:
void
SetFitSurfaceUPatches
382
(
383
int
uPatches
384
);
388
public:
int
FitSurfaceVPatches
389
(
390
);
394
public:
void
SetFitSurfaceVPatches
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