NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drawings_ShadingViewStyle.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drawings_ShadingViewStyle.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/Preferences_IShadingViewPreferences.hxx>
22#include <NXOpen/Preferences_ViewStylePreferencesData.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_drawings_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
32namespace NXOpen
33{
34 namespace Drawings
35 {
36 class ShadingViewStyle;
37 }
38 namespace Drawings
39 {
40 class ViewStyle;
41 }
42 namespace Preferences
43 {
45 }
46 namespace Drawings
47 {
48 class ShadingViewStyleImpl;
52 class NXOPENCPP_DRAWINGSEXPORT ShadingViewStyle: public virtual NXOpen::Preferences::IShadingViewPreferences
53 {
54 private: ShadingViewStyleImpl * m_shadingviewstyle_impl;
55 private: NXOpen::Drawings::ViewStyle* m_owner;
57 public: explicit ShadingViewStyle(NXOpen::Drawings::ViewStyle *owner);
59 public:
61 tag_t Tag() const;
62 public: ~ShadingViewStyle();
66 public: void SetRenderingStyle
67 (
69 );
74 (
75 );
80 (
81 int shadedCutFaceColor
82 );
87 (
88 );
93 (
94 int overrideVisibleWireframeColor
95 );
100 (
101 );
106 (
107 int overrideHiddenWireframeColor
108 );
113 (
114 );
119 (
121 );
126 (
127 );
132 (
133 double customEdgeTolerance
134 );
138 public: double CustomEdgeTolerance
139 (
140 );
145 (
146 double customFaceTolerance
147 );
151 public: double CustomFaceTolerance
152 (
153 );
158 (
159 double customAngleTolerance
160 );
164 public: double CustomAngleTolerance
165 (
166 );
170 public: void SetShininess
171 (
172 double shininessTolerance
173 );
177 public: double Shininess
178 (
179 );
183 public: void SetTwoSidedLight
184 (
185 bool twoSidedLight
186 );
190 public: bool TwoSidedLight
191 (
192 );
193 }; //lint !e1712 default constructor not defined for class
194 }
195}
196#ifdef _MSC_VER
197#pragma warning(pop)
198#endif
199#ifdef __GNUC__
200#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
201#pragma GCC diagnostic warning "-Wdeprecated-declarations"
202#endif
203#endif
204#undef EXPORTLIBRARY