NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Mechatronics_AnimatedCameraBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Mechatronics_AnimatedCameraBuilder.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/SelectObject.hxx>
24#include <NXOpen/SelectObjectList.hxx>
25#include <NXOpen/ugmath.hxx>
26#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Mechatronics
37 {
39 }
40 class Builder;
41 class Expression;
42 class NXObject;
43 class Point;
44 class SelectNXObject;
46 namespace Mechatronics
47 {
48 class _AnimatedCameraBuilderBuilder;
49 class AnimatedCameraBuilderImpl;
53 class NXOPENCPP_MECHATRONICSEXPORT AnimatedCameraBuilder : public NXOpen::Builder
54 {
63
71
78
87 private: AnimatedCameraBuilderImpl * m_animatedcamerabuilder_impl;
88 private: friend class _AnimatedCameraBuilderBuilder;
89 protected: AnimatedCameraBuilder();
95 (
96 );
100 public: void SetCameraModeType
101 (
103 );
108 (
109 );
113 public: void SetCameraAxisType
114 (
116 );
121 (
122 );
127 (
128 );
133 (
134 );
139 (
141 );
145 public: void CreatePOV
146 (
147 double currentTime
148 );
152 public: void UpdatePOV
153 (
154 int pos
155 );
159 public: void DeletePOVs
160 (
161 const std::vector<int> & povs
162 );
166 public: void SetPOVName
167 (
168 int pos ,
169 const NXString & name
170 );
175 (
176 int pos ,
177 const char * name
178 );
182 public: void SetPOVStartTime
183 (
184 int pos ,
185 double startTime
186 );
190 public: void SetPOVStepNumber
191 (
192 int pos ,
193 int stepNum
194 );
199 (
200 );
205 (
206 );
211 (
212 NXOpen::NXObject * cameraOrientation
213 );
218 (
219 );
223 public: void SetStartPathPoint
224 (
225 NXOpen::Point * startPoint
226 );
231 (
232 );
236 public: void SetEndPathPoint
237 (
238 NXOpen::Point * endPoint
239 );
244 (
245 );
249 public: void SetDirectionType
250 (
252 );
257 (
258 );
263 (
264 );
269 (
270 NXOpen::Point * lookAtPoint
271 );
275 public: bool AvoidViewRoll
276 (
277 );
281 public: void SetAvoidViewRoll
282 (
283 bool bAvoidRoll
284 );
288 public: bool SpecifyTime
289 (
290 );
294 public: void SetSpecifyTime
295 (
296 bool specifyTime
297 );
302 (
303 );
308 (
309 );
313 public: void SetViewScale
314 (
315 double fViewScale
316 );
320 public: void EvaluatePath
321 (
322 const std::vector<NXOpen::NXObject *> & curves
323 );
328 (
329 );
333 public: void SetName
334 (
335 const NXString & name
336 );
341 (
342 const char * name
343 );
347 public: void UpdateCurrentView
348 (
349 const NXOpen::Matrix3x3 & rotation ,
350 const NXOpen::Point3d & translation ,
351 double scale
352 );
357 (
358 double time
359 );
360 };
361 }
362}
363#ifdef _MSC_VER
364#pragma warning(pop)
365#endif
366#ifdef __GNUC__
367#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
368#pragma GCC diagnostic warning "-Wdeprecated-declarations"
369#endif
370#endif
371#undef EXPORTLIBRARY