NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Preferences_PartObject.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件:JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Preferences_PartObject.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_ViewVisualizationSpecialEffects.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopencpp_preferences_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
31namespace NXOpen
32{
33 namespace Preferences
34 {
35 class PartObject;
36 }
37 namespace Preferences
38 {
39 class PartPreferences;
40 }
41 namespace Preferences
42 {
43 class PartObjectImpl;
49 class NXOPENCPP_PREFERENCESEXPORT PartObject
50 {
58
77
93
110 private: PartObjectImpl * m_partobject_impl;
111 private: NXOpen::Preferences::PartPreferences* m_owner;
113 public: explicit PartObject(NXOpen::Preferences::PartPreferences *owner);
115 public:
117 tag_t Tag() const;
118 public: ~PartObject();
132 public: NX_DEPRECATED("Deprecated in NX2312.0.0. Using NXOpen::Preferences::PartObject::GetObjectColor") int GetColor
133 (
135 );
146 public: NX_DEPRECATED("Deprecated in NX2312.0.0. Using NXOpen::Preferences::PartObject::SetObjectColor") void SetColor
147 (
149 int color
150 );
163 public: int GetObjectColor
164 (
166 NXOpen::Preferences::PartObject::ColorSelection* colorSelection
167 );
179 public: void SetObjectColor
180 (
182 NXOpen::Preferences::PartObject::ColorSelection colorSelection ,
183 int color
184 );
189 (
191 );
195 public: void SetLineFont
196 (
199 );
204 (
206 );
210 public: void SetWidth
211 (
214 );
218 public: bool PartiallyShaded
219 (
220 );
225 (
226 bool partiallyShaded
227 );
231 public: bool FaceAnalysis
232 (
233 );
237 public: void SetFaceAnalysis
238 (
239 bool faceAnalysis
240 );
244 public: int Translucency
245 (
246 );
250 public: void SetTranslucency
251 (
252 int translucency
253 );
258 (
259 int colorNumber
260 );
265 (
266 const NXOpen::Preferences::ViewVisualizationSpecialEffects::ColorRGB & fogColorRgbValue
267 );
278 (
279 std::vector<NXOpen::Preferences::PartObject::WidthType> & newLineWidths
284 );
295 (
296 const std::vector<NXOpen::Preferences::PartObject::WidthType> & newLineWidths
301 );
311 (
312 );
316 public: int PointSymbol
317 (
318 );
322 public: void SetPointSymbol
323 (
324 int pointSymbol
325 );
326 }; //lint !e1712 default constructor not defined for class
327 }
328}
329#ifdef _MSC_VER
330#pragma warning(pop)
331#endif
332#ifdef __GNUC__
333#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
334#pragma GCC diagnostic warning "-Wdeprecated-declarations"
335#endif
336#endif
337#undef EXPORTLIBRARY