NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
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
34
namespace
NXOpen
35
{
36
namespace
Mechatronics
37
{
38
class
AnimatedCameraBuilder
;
39
}
40
class
Builder
;
41
class
Expression
;
42
class
NXObject
;
43
class
Point
;
44
class
SelectNXObject
;
45
class
SelectNXObjectList
;
46
namespace
Mechatronics
47
{
48
class
_AnimatedCameraBuilderBuilder;
49
class
AnimatedCameraBuilderImpl;
53
class
NXOPENCPP_MECHATRONICSEXPORT AnimatedCameraBuilder :
public
NXOpen::Builder
54
{
57
public
:
enum
CameraModeTypes
58
{
59
CameraModeTypesUserDefined
,
60
CameraModeTypesTurntable
,
61
CameraModeTypesTrajectory
62
};
63
65
public
:
enum
CameraAxisTypes
66
{
67
CameraAxisTypesX
,
68
CameraAxisTypesY
,
69
CameraAxisTypesZ
70
};
71
73
public
:
enum
TransitionModeTypes
74
{
75
TransitionModeTypesLinear
,
76
TransitionModeTypesPath
77
};
78
80
public
:
enum
LookAtDirectionTypes
81
{
82
LookAtDirectionTypesWithRigid
,
83
LookAtDirectionTypesAlongPath
,
84
LookAtDirectionTypesLookAtObject
,
85
LookAtDirectionTypesFixed
86
};
87
private
:
AnimatedCameraBuilderImpl
* m_animatedcamerabuilder_impl;
88
private
:
friend
class
_AnimatedCameraBuilderBuilder;
89
protected
:
AnimatedCameraBuilder
();
90
public
:
~AnimatedCameraBuilder
();
94
public
:
NXOpen::Mechatronics::AnimatedCameraBuilder::CameraModeTypes
CameraModeType
95
(
96
);
100
public
:
void
SetCameraModeType
101
(
102
NXOpen::Mechatronics::AnimatedCameraBuilder::CameraModeTypes
modeType
103
);
107
public
:
NXOpen::Mechatronics::AnimatedCameraBuilder::CameraAxisTypes
CameraAxisType
108
(
109
);
113
public
:
void
SetCameraAxisType
114
(
115
NXOpen::Mechatronics::AnimatedCameraBuilder::CameraAxisTypes
axisType
116
);
120
public
:
NXOpen::Expression
*
CameraAngle
121
(
122
);
126
public
:
NXOpen::Expression
*
RotationSpeed
127
(
128
);
132
public
:
NXOpen::Mechatronics::AnimatedCameraBuilder::TransitionModeTypes
TransitionModeType
133
(
134
);
138
public
:
void
SetTransitionModeType
139
(
140
NXOpen::Mechatronics::AnimatedCameraBuilder::TransitionModeTypes
transitionModeType
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
);
174
void
SetPOVName
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
);
198
public
:
NXOpen::SelectNXObjectList
*
AssociateObjects
199
(
200
);
204
public
:
NXOpen::NXObject
*
CameraOrientation
205
(
206
);
210
public
:
void
SetCameraOrientation
211
(
212
NXOpen::NXObject
* cameraOrientation
213
);
217
public
:
NXOpen::Point
*
StartPathPoint
218
(
219
);
223
public
:
void
SetStartPathPoint
224
(
225
NXOpen::Point
* startPoint
226
);
230
public
:
NXOpen::Point
*
EndPathPoint
231
(
232
);
236
public
:
void
SetEndPathPoint
237
(
238
NXOpen::Point
* endPoint
239
);
243
public
:
NXOpen::Mechatronics::AnimatedCameraBuilder::LookAtDirectionTypes
DirectionType
244
(
245
);
249
public
:
void
SetDirectionType
250
(
251
NXOpen::Mechatronics::AnimatedCameraBuilder::LookAtDirectionTypes
lookAtDirType
252
);
256
public
:
NXOpen::SelectNXObject
*
LookAtObject
257
(
258
);
262
public
:
NXOpen::Point
*
PointOnLookAtRigid
263
(
264
);
268
public
:
void
SetPointOnLookAtRigid
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
);
301
public
:
NXOpen::Expression
*
StartTime
302
(
303
);
307
public
:
NXOpen::Expression
*
EndTime
308
(
309
);
313
public
:
void
SetViewScale
314
(
315
double
fViewScale
316
);
320
public
:
void
EvaluatePath
321
(
322
const
std::vector<NXOpen::NXObject *> & curves
323
);
327
public
:
NXString
Name
328
(
329
);
333
public
:
void
SetName
334
(
335
const
NXString
& name
336
);
340
void
SetName
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
);
356
public
:
void
PlayKeyFrameAtTime
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