NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Tooling_MoldDirectionBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// Header for C++ interface to JA API
5
//--------------------------------------------------------------------------
6
//
7
// Source File:
8
// Tooling_MoldDirectionBuilder.ja
9
//
10
// Generated by:
11
// apiwrap
12
//
13
// WARNING:
14
// This file is automatically generated - do not edit by hand
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/Builder.hxx>
22
#include <NXOpen/ScCollector.hxx>
23
#include <NXOpen/ugmath.hxx>
24
#include <NXOpen/libnxopencpp_tooling_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Tooling
35
{
36
class
MoldDirectionBuilder
;
37
}
38
class
Builder
;
39
class
DisplayableObject
;
40
class
NXObject
;
41
class
ScCollector
;
42
namespace
Tooling
43
{
44
class
_MoldDirectionBuilderBuilder;
45
class
MoldDirectionBuilderImpl;
49
class
NXOPENCPP_TOOLINGEXPORT MoldDirectionBuilder :
public
NXOpen::Builder
50
{
52
public
:
enum
OrientView
53
{
54
OrientViewNone
,
55
OrientViewTop
,
56
OrientViewFront
,
57
OrientViewRight
,
58
OrientViewBack
,
59
OrientViewBottom
,
60
OrientViewLeft
,
61
OrientViewTrimetric
,
62
OrientViewIsometric
63
};
64
65
public
:
enum
RegionType
66
{
67
RegionTypeRegion
,
68
RegionTypeUndercut
69
};
70
71
public
:
enum
SlopeUpdateItem
72
{
73
SlopeUpdateItemAll
,
74
SlopeUpdateItemSelection
,
75
SlopeUpdateItemDirection
,
76
SlopeUpdateItemSlopeDataRange
,
77
SlopeUpdateItemRemoveResult
78
};
79
private
:
MoldDirectionBuilderImpl
* m_molddirectionbuilder_impl;
80
private
:
friend
class
_MoldDirectionBuilderBuilder;
81
protected
:
MoldDirectionBuilder
();
82
public
:
~MoldDirectionBuilder
();
86
public
:
NXOpen::ScCollector
*
SelectBody
87
(
88
);
92
public
:
NXOpen::ScCollector
*
PrimaryFaces
93
(
94
);
98
public
:
NXOpen::ScCollector
*
SecondaryFaces
99
(
100
);
104
public
:
bool
UndercutsDisplay
105
(
106
);
110
public
:
void
SetUndercutsDisplay
111
(
112
bool
undercutsDisplay
113
);
117
public
:
double
SlopeDataRange
118
(
119
);
123
public
:
void
SetSlopeDataRange
124
(
125
double
dataRange
126
);
130
public
:
void
SetCsysOrigin
131
(
132
const
NXOpen::Point3d
& origin
133
);
137
public
:
void
SetCsysMatrix
138
(
139
const
NXOpen::Matrix3x3
& matrix
140
);
144
public
:
void
SetSelectedFace
145
(
146
NXOpen::NXObject
* faceTag ,
147
const
NXOpen::Point3d
& point ,
148
bool
isPrimaryFace
149
);
153
public
:
void
UpdateBoundingBoxData
154
(
155
);
159
public
:
void
CalculateOrientation
160
(
161
);
165
public
:
void
CheckRegions
166
(
167
NXOpen::Tooling::MoldDirectionBuilder::RegionType
regionType ,
168
bool
cancelDisplay
169
);
173
public
:
void
UpdateSlopeDisplay
174
(
175
NXOpen::Tooling::MoldDirectionBuilder::SlopeUpdateItem
updateItem
176
);
180
public
:
void
RemoveAllFaces
181
(
182
);
186
public
:
void
CycleConeDirection
187
(
188
);
192
public
:
void
DeleteAuxiliaryObjects
193
(
194
);
198
public
:
void
SetOriginalProduct
199
(
200
NXOpen::NXObject
* bodyTag
201
);
205
public
:
void
CreatePMILabel
206
(
207
NXOpen::DisplayableObject
* face ,
208
const
NXOpen::Point3d
& location
209
);
210
};
211
}
212
}
213
#ifdef _MSC_VER
214
#pragma warning(pop)
215
#endif
216
#ifdef __GNUC__
217
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
218
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
219
#endif
220
#endif
221
#undef EXPORTLIBRARY