NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_Background.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_Background.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_Image.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/libnxopencpp_display_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 Display
34 {
35 class Background;
36 }
37 class Builder;
38 class Direction;
39 namespace Display
40 {
41 class Image;
42 }
43 class Point;
44 namespace Display
45 {
46 class _BackgroundBuilder;
47 class BackgroundImpl;
55 class NXOPENCPP_DISPLAYEXPORT Background : public NXOpen::Builder
56 {
63
71
77
85
96
108 private: BackgroundImpl * m_background_impl;
109 private: friend class _BackgroundBuilder;
110 protected: Background();
111public: ~Background();
116 (
117 );
122 (
123 NXOpen::Display::Background::CategoryType backgroundCategoryType
124 );
129 (
130 );
134 public: void SetBackgroundType
135 (
137 );
141 public: std::vector<double> GetBottomColor
142 (
143 );
147 public: void SetBottomColor
148 (
149 const std::vector<double> & bottomColor
150 );
154 public: std::vector<double> GetTopColor
155 (
156 );
160 public: void SetTopColor
161 (
162 const std::vector<double> & topColor
163 );
168 (
169 );
173 public: void SetImage
174 (
175 NXOpen::Display::Image * imageBuilder
176 );
181 (
182 );
186 public: void SetImageFilename
187 (
188 const NXString & imageFileName
189 );
194 (
195 const char * imageFileName
196 );
201 (
202 );
207 (
208 bool StageSizeAndOrientation
209 );
213 public: double DomeSize
214 (
215 );
219 public: void SetDomeSize
220 (
221 double domeSize
222 );
227 (
228 );
232 public: void SetDomeOrigin
233 (
234 NXOpen::Point * origin
235 );
239 public: double ImageHorizon
240 (
241 );
245 public: void SetImageHorizon
246 (
247 double imageHorizon
248 );
252 public: double ImageRotation
253 (
254 );
258 public: void SetImageRotation
259 (
260 double imageRotation
261 );
266 (
267 );
271 public: void SetImageUpVector
272 (
273 NXOpen::Direction * imageUpVector
274 );
279 (
280 );
284 public: void SetDomeImage
285 (
286 NXOpen::Display::Image * domeImageBuilder
287 );
292 (
293 );
298 (
299 const NXString & domeImageFileName
300 );
305 (
306 const char * domeImageFileName
307 );
312 (
313 );
317 public: void SetDomeType
318 (
320 );
325 (
326 );
331 (
332 int backgroundType
333 );
337 public: std::vector<double> GetBackgroundShadedViewsPlain
338 (
339 );
344 (
345 const std::vector<double> & plainColor
346 );
350 public: std::vector<double> GetBackgroundShadedViewsGraduatedTop
351 (
352 );
357 (
358 const std::vector<double> & topColor
359 );
363 public: std::vector<double> GetBackgroundShadedViewsGraduatedBottom
364 (
365 );
370 (
371 const std::vector<double> & bottomColor
372 );
377 (
378 );
383 (
384 int backgroundImgType
385 );
390 (
391 );
396 (
397 bool useShadedViewsSetting
398 );
403 (
404 );
409 (
410 int backgroundType
411 );
415 public: std::vector<double> GetBackgroundWireframeViewsPlain
416 (
417 );
422 (
423 const std::vector<double> & plainColor
424 );
428 public: std::vector<double> GetBackgroundWireframeViewsGraduatedTop
429 (
430 );
435 (
436 const std::vector<double> & topColor
437 );
442 (
443 );
448 (
449 const std::vector<double> & bottomColor
450 );
454 public: void ImageFileSelect
455 (
456 );
461 (
462 );
467 (
468 );
473 (
474 );
479 (
480 );
485 (
486 );
491 (
492 );
497 (
498 );
503 (
504 );
509 (
510 );
515 (
516 );
521 (
522 );
527 (
528 );
529};
530 }
531}
532#ifdef _MSC_VER
533#pragma warning(pop)
534#endif
535#ifdef __GNUC__
536#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
537#pragma GCC diagnostic warning "-Wdeprecated-declarations"
538#endif
539#endif
540#undef EXPORTLIBRARY