NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
DisplayModification.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// DisplayModification.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/DisplayableObject.hxx>
22#include <NXOpen/TransientObject.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
31namespace NXOpen
32{
35 class DisplayModificationImpl;
39 class NXOPENCPPEXPORT DisplayModification : public NXOpen::TransientObject
40 {
48
64 private: DisplayModificationImpl * m_displaymodification_impl;
66 public: explicit DisplayModification(void *ptr);
68
72 public: void SetApplyToAllFaces
73 (
74 bool apply
75 );
80 public: bool ApplyToAllFaces
81 (
82 );
95 public: void SetNewColor
96 (
97 int newColor
98 );
108 public: int NewColor
109 (
110 );
114 public: void SetNewWidth
115 (
117 );
122 (
123 );
127 public: void SetNewFont
128 (
130 );
135 (
136 );
140 public: void SetNewGrid
141 (
142 int uGrid ,
143 int vGrid
144 );
148 public: void GetNewGrid
149 (
150 int* uGrid ,
151 int* vGrid
152 );
156 public: void SetNewLayer
157 (
158 int layer
159 );
163 public: int NewLayer
164 (
165 );
170 (
171 int translucency
172 );
176 public: int NewTranslucency
177 (
178 );
183 (
184 bool on
185 );
189 public: bool PartiallyShaded
190 (
191 );
196 (
197 bool on
198 );
202 public: bool FaceAnalysisMode
203 (
204 );
208 public: void Apply
209 (
210 const std::vector<NXOpen::DisplayableObject *> & objects
211 );
215 public: virtual ~DisplayModification();
220 (
221 bool on
222 );
226 public: bool KnotDisplayState
227 (
228 );
233 (
234 bool on
235 );
239 public: bool PoleDisplayState
240 (
241 );
246 (
247 bool apply
248 );
253 (
254 );
258 public: int PointSymbol
259 (
260 );
264 public: void SetPointSymbol
265 (
266 int pointSymbol
267 );
271 public: bool PointShowThrough
272 (
273 );
278 (
279 bool showThrough
280 );
284 public: bool ShowObjectName
285 (
286 );
290 public: void SetShowObjectName
291 (
292 bool showObjectName
293 );
298 (
299 );
304 (
306 );
311 (
312 );
317 (
318 int color
319 );
324 (
325 );
330 (
332 );
333 }; //lint !e1712 default constructor not defined for class
334}
335#ifdef _MSC_VER
336#pragma warning(pop)
337#endif
338#ifdef __GNUC__
339#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
340#pragma GCC diagnostic warning "-Wdeprecated-declarations"
341#endif
342#endif
343#undef EXPORTLIBRARY