NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Light.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Light.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/Display_LightTypes.hxx>
22
#include <NXOpen/NXObject.hxx>
23
#include <NXOpen/libnxopencpp_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
class
Light
;
34
class
NXObject
;
35
class
View
;
36
class
_LightBuilder;
37
class
LightImpl;
43
class
NXOPENCPPEXPORT Light :
public
NXOpen::NXObject
44
{
50
public
:
enum
SceneType
51
{
52
SceneTypeNotASceneLight
= -1,
53
SceneTypeAmbient
,
54
SceneTypeLeftTop
,
55
SceneTypeTop
,
56
SceneTypeRightTop
,
57
SceneTypeFront
,
58
SceneTypeLeftBottom
,
59
SceneTypeBottom
,
60
SceneTypeRightBottom
61
};
62
private
:
LightImpl
* m_light_impl;
63
private
:
friend
class
_LightBuilder;
64
protected
:
Light
();
65
public
:
~Light
();
69
public
:
bool
GetEnabledInView
70
(
71
NXOpen::View
* view
72
);
77
public
:
void
SetEnabledInView
78
(
79
NXOpen::View
* view ,
80
bool
onOrOff
81
);
87
public
:
double
Intensity
88
(
89
);
95
public
:
void
SetIntensity
96
(
97
double
intensity
98
);
102
public
:
void
GetLightType
103
(
104
NXOpen::Display::LightType
* lightType ,
105
NXOpen::Light::SceneType
* sceneLightType
107
);
108
};
109
}
110
#ifdef _MSC_VER
111
#pragma warning(pop)
112
#endif
113
#ifdef __GNUC__
114
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
115
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
116
#endif
117
#endif
118
#undef EXPORTLIBRARY