NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
DisplayableObject.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口的JA API头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// DisplayableObject.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/IFitTo.hxx>
22
#include <NXOpen/INXObject.hxx>
23
#include <NXOpen/NXObject.hxx>
24
#include <NXOpen/ugmath.hxx>
25
#include <NXOpen/libnxopencpp_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
class
DisplayableObject
;
36
namespace
Assemblies
37
{
38
class
Component
;
39
}
40
class
BasePart
;
41
class
IFitTo
;
42
class
INXObject
;
43
class
NXObject
;
44
class
_DisplayableObjectBuilder;
45
class
DisplayableObjectImpl;
49
class
NXOPENCPPEXPORT DisplayableObject :
public
NXOpen::NXObject
,
public
virtual
NXOpen::IFitTo
50
{
54
public
:
enum
ObjectWidth
55
{
56
ObjectWidthNormal
,
57
ObjectWidthThick
,
58
ObjectWidthThin
,
59
ObjectWidthOne
= 5,
60
ObjectWidthTwo
,
61
ObjectWidthThree
,
62
ObjectWidthFour
,
63
ObjectWidthFive
,
64
ObjectWidthSix
,
65
ObjectWidthSeven
,
66
ObjectWidthEight
,
67
ObjectWidthNine
68
};
69
72
public
:
enum
ObjectFont
73
{
74
ObjectFontSolid
= 1,
75
ObjectFontDashed
,
76
ObjectFontPhantom
,
77
ObjectFontCenterline
,
78
ObjectFontDotted
,
79
ObjectFontLongDashed
,
80
ObjectFontDottedDashed
,
81
ObjectFontEight
= 11,
82
ObjectFontNine
,
83
ObjectFontTen
,
84
ObjectFontEleven
85
};
86
private
:
DisplayableObjectImpl
* m_displayableobject_impl;
87
private
:
friend
class
_DisplayableObjectBuilder;
88
protected
:
DisplayableObject
();
89
public
:
~DisplayableObject
();
93
public
:
void
Blank
94
(
95
);
99
public
:
void
Unblank
100
(
101
);
105
public
:
bool
IsBlanked
106
(
107
);
111
public
:
void
Highlight
112
(
113
);
117
public
:
void
Unhighlight
118
(
119
);
135
public
:
int
Color
136
(
137
);
145
public
:
int
Layer
146
(
147
);
155
public
:
NXOpen::DisplayableObject::ObjectFont
LineFont
156
(
157
);
165
public
:
NXOpen::DisplayableObject::ObjectWidth
LineWidth
166
(
167
);
173
public
:
void
SetNameLocation
174
(
175
const
NXOpen::Point3d
& location
176
);
180
public
:
NXOpen::Point3d
NameLocation
181
(
182
);
198
public
:
void
SetColor
199
(
200
int
color
201
);
209
public
:
void
SetLayer
210
(
211
int
layer
212
);
220
public
:
void
SetLineFont
221
(
222
NXOpen::DisplayableObject::ObjectFont
font
223
);
231
public
:
void
SetLineWidth
232
(
233
NXOpen::DisplayableObject::ObjectWidth
width
234
);
238
public
:
void
RedisplayObject
239
(
240
);
244
public
:
void
RemoveViewDependency
245
(
246
);
247
};
248
}
249
#ifdef _MSC_VER
250
#pragma warning(pop)
251
#endif
252
#ifdef __GNUC__
253
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
254
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
255
#endif
256
#endif
257
#undef EXPORTLIBRARY