NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_ImageBaseBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_ImageBaseBuilder.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/Expression.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_display_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 Display
35 {
36 class ImageBaseBuilder;
37 }
38 class Builder;
39 class Direction;
40 class Expression;
41 class Point;
42 namespace Display
43 {
44 class _ImageBaseBuilderBuilder;
45 class ImageBaseBuilderImpl;
53 class NXOPENCPP_DISPLAYEXPORT ImageBaseBuilder : public NXOpen::Builder
54 {
69
75
81
88
95
102 private: ImageBaseBuilderImpl * m_imagebasebuilder_impl;
103 private: friend class _ImageBaseBuilderBuilder;
104 protected: ImageBaseBuilder();
105public: ~ImageBaseBuilder();
113 (
114 );
122 (
124 );
131 (
132 );
138 public: void SetUserBasePoint
139 (
140 NXOpen::Point * basePoint
141 );
146 (
147 );
152 (
154 );
159 (
160 );
165 (
166 NXOpen::Point * insertPoint
167 );
174 (
175 );
182 (
184 );
189 (
190 );
195 (
196 NXOpen::Direction * userDirection
197 );
202 (
203 );
208 (
209 );
213 public: void RotateLeft
214 (
215 );
219 public: void RotateRight
220 (
221 );
225 public: void FlipHorizontal
226 (
227 );
231 public: void FlipVertical
232 (
233 );
237 public: void OrientViewToImage
238 (
239 );
244 (
245 );
249 public: void SetImageFile
250 (
251 const NXString & filename
252 );
257 (
258 const char * filename
259 );
264 public: std::vector<NXString> GetImagesInPart
265 (
266 );
270 public: void SetImageFromPart
271 (
272 const NXString & imageName
273 );
278 (
279 const char * imageName
280 );
284 public: void GetCornerPoints
285 (
286 NXOpen::Point3d* point1 ,
287 NXOpen::Point3d* point2 ,
288 NXOpen::Point3d* point3 ,
289 NXOpen::Point3d* point4
290 );
294 public: void SetCornerPoints
295 (
296 const NXOpen::Point3d & point1 ,
297 const NXOpen::Point3d & point2 ,
298 const NXOpen::Point3d & point3 ,
299 const NXOpen::Point3d & point4
300 );
305 (
306 );
311 (
313 );
321 public: std::vector<double> GetTransparentPixelColor
322 (
323 );
331 (
332 const std::vector<double> & transparencyColor
333 );
341 public: std::vector<double> GetForegroundColor
342 (
343 );
351 (
352 const std::vector<double> & foregroundColor
353 );
361 public: std::vector<double> GetBackgroundColor
362 (
363 );
371 (
372 const std::vector<double> & backgroundColor
373 );
377 public: bool LockAspectRatio
378 (
379 );
384 (
385 bool lockAspectRatio
386 );
391 (
392 );
396 public: void SetSizeOption
397 (
399 );
407 (
408 );
416 (
417 NXOpen::Point * imageReferencePoint1
418 );
426 (
427 );
435 (
436 NXOpen::Point * modelReferencePoint1
437 );
445 (
446 );
454 (
455 NXOpen::Point * imageReferencePoint2
456 );
464 (
465 );
473 (
474 NXOpen::Point * modelReferencePoint2
475 );
485 (
486 );
496 (
497 NXOpen::Point * imageReferencePoint3
498 );
508 (
509 );
519 (
520 NXOpen::Point * modelReferencePoint3
521 );
530 (
531 );
540 (
541 );
545 public: void ResetImageSize
546 (
547 );
552 (
553 );
558 (
559 int colorTolerence
560 );
565 (
566 );
571 (
572 int overallTranslucency
573 );
578 (
579 );
583 public: void SetColorMode
584 (
586 );
591 (
592 );
597 (
598 const NXOpen::Point3d & insertPoint
599 );
600 };
601 }
602}
603#ifdef _MSC_VER
604#pragma warning(pop)
605#endif
606#ifdef __GNUC__
607#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
608#pragma GCC diagnostic warning "-Wdeprecated-declarations"
609#endif
610#endif
611#undef EXPORTLIBRARY