NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Drawings_ViewPlacementBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Drawings_ViewPlacementBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/SelectObject.hxx>
24
#include <NXOpen/ugmath.hxx>
25
#include <NXOpen/libnxopencpp_drawings_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
namespace
Drawings
36
{
37
class
ViewPlacementBuilder
;
38
}
39
class
Direction
;
40
namespace
Drawings
41
{
42
class
SelectDraftingView
;
43
}
44
namespace
GeometricUtilities
45
{
46
class
IComponentBuilder
;
47
}
48
class
Point
;
49
class
SelectNXObject
;
50
class
SelectTaggedObject
;
51
class
View
;
52
namespace
Drawings
53
{
54
class
_ViewPlacementBuilderBuilder;
55
class
ViewPlacementBuilderImpl;
61
class
NXOPENCPP_DRAWINGSEXPORT ViewPlacementBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
62
{
64
public
:
enum
Method
65
{
66
MethodInfer
,
67
MethodHorizontal
,
68
MethodVertical
,
69
MethodPerpendicularToLine
,
70
MethodOverlay
,
71
MethodPerpendicularToHingeLine
,
72
MethodMax
73
};
74
75
public
:
enum
Option
76
{
77
OptionToView
,
78
OptionModelPoint
,
79
OptionPointToPoint
80
};
81
private
:
ViewPlacementBuilderImpl
* m_viewplacementbuilder_impl;
82
private
:
friend
class
_ViewPlacementBuilderBuilder;
83
protected
:
ViewPlacementBuilder
();
84
public
:
~ViewPlacementBuilder
();
95
public
:
NXOpen::SelectNXObject
*
Placement
96
(
97
);
101
public
:
NXOpen::Drawings::ViewPlacementBuilder::Method
AlignmentMethod
102
(
103
);
107
public
:
void
SetAlignmentMethod
108
(
109
NXOpen::Drawings::ViewPlacementBuilder::Method
alignmentMethod
110
);
115
public
:
NXOpen::Direction
*
AlignmentVector
116
(
117
);
122
public
:
void
SetAlignmentVector
123
(
124
NXOpen::Direction
* alignmentVector
125
);
131
public
:
NXOpen::Drawings::ViewPlacementBuilder::Option
AlignmentOption
132
(
133
);
139
public
:
void
SetAlignmentOption
140
(
141
NXOpen::Drawings::ViewPlacementBuilder::Option
alignmentOption
142
);
148
public
:
NXOpen::Drawings::SelectDraftingView
*
AlignmentView
149
(
150
);
161
public
:
NXOpen::SelectTaggedObject
*
AlignmentPoint
162
(
163
);
173
public
:
NXOpen::SelectTaggedObject
*
CandidatePoint
174
(
175
);
179
public
:
bool
LockOffset
180
(
181
);
185
public
:
void
SetLockOffset
186
(
187
bool
lockOffset
188
);
195
public
:
double
Offset
196
(
197
);
204
public
:
void
SetOffset
205
(
206
double
offset
207
);
211
public
:
bool
Associative
212
(
213
);
217
public
:
void
SetAssociative
218
(
219
bool
associative
220
);
225
public
:
virtual
bool
Validate
226
(
227
);
228
};
229
}
230
}
231
#ifdef _MSC_VER
232
#pragma warning(pop)
233
#endif
234
#ifdef __GNUC__
235
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
236
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
237
#endif
238
#endif
239
#undef EXPORTLIBRARY