NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_CameraBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_CameraBuilder.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/Builder.hxx>
22#include <NXOpen/ugmath.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 CameraBuilder;
36 }
37 class Builder;
38 namespace Display
39 {
40 class _CameraBuilderBuilder;
41 class CameraBuilderImpl;
47 class NXOPENCPP_DISPLAYEXPORT CameraBuilder : public NXOpen::Builder
48 {
50 public: enum Types
51 {
54 };
55
62
74
80
95
105
117 private: CameraBuilderImpl * m_camerabuilder_impl;
118 private: friend class _CameraBuilderBuilder;
119 protected: CameraBuilder();
120public: ~CameraBuilder();
125 (
126 );
130 public: void SetType
131 (
133 );
140 (
141 );
147 public: void SetCameraName
148 (
149 const NXString & cameraName
150 );
157 (
158 const char * cameraName
159 );
165 (
166 );
171 public: void SetCameraNameChar
172 (
173 const NXString & cameraName
174 );
180 (
181 const char * cameraName
182 );
187 (
188 );
192 public: void SetCameraPosition
193 (
194 const NXOpen::Point3d & position
195 );
200 (
201 );
205 public: void SetCameraMatrix
206 (
207 const NXOpen::Matrix3x3 & cameraMatrix
208 );
213 public: double PerspectiveDistance
214 (
215 );
220 (
221 double perspectiveDistance
222 );
226 public: bool UseTargetPoint
227 (
228 );
232 public: void SetUseTargetPoint
233 (
234 bool useTargetPoint
235 );
240 (
241 );
245 public: void SetTargetPosition
246 (
247 const NXOpen::Point3d & position
248 );
253 (
254 );
258 public: void SetTargetMatrix
259 (
260 const NXOpen::Matrix3x3 & matrix
261 );
266 (
267 );
271 public: void SetLensAngleType
272 (
274 );
279 (
280 );
284 public: void SetStockLensType
285 (
287 );
292 (
293 );
298 (
300 );
305 public: double FieldOfViewAngle
306 (
307 );
313 (
314 double fieldOfViewAngle
315 );
319 public: double Magnification
320 (
321 );
325 public: void SetMagnification
326 (
327 double magnification
328 );
333 (
334 );
339 (
340 double frontClippingDistance
341 );
345 public: double BackClippingDistance
346 (
347 );
352 (
353 double backClippingDistance
354 );
358 public: bool LensFlareToggle
359 (
360 );
365 (
366 bool lensFlareToggle
367 );
372 (
373 );
378 (
379 bool hiddenLensFlareToggle
380 );
385 (
386 );
390 public: void SetLensFlareType
391 (
393 );
397 public: double LensFlareIntensity
398 (
399 );
404 (
405 double lensFlareIntensity
406 );
411 (
412 );
417 (
418 bool depthOfFieldToggle
419 );
424 (
425 );
429 public: void SetApertureType
430 (
432 );
436 public: double FocalDistance
437 (
438 );
442 public: void SetFocalDistance
443 (
444 double focalDistance
445 );
450 (
451 );
456 (
458 );
462 public: double AspectRatioWidth
463 (
464 );
469 (
470 double aspectRatioWidth
471 );
475 public: double AspectRatioHeight
476 (
477 );
482 (
483 double aspectRatioHeight
484 );
485 };
486 }
487}
488#ifdef _MSC_VER
489#pragma warning(pop)
490#endif
491#ifdef __GNUC__
492#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
493#pragma GCC diagnostic warning "-Wdeprecated-declarations"
494#endif
495#endif
496#undef EXPORTLIBRARY