NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_AnimationControl.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_AnimationControl.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/Motion.hxx>
22
#include <NXOpen/Motion_PostControl.hxx>
23
#include <NXOpen/ugmath.hxx>
24
#include <NXOpen/libnxopencpp_motion_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
32
namespace
NXOpen
33
{
34
namespace
Motion
35
{
36
class
AnimationControl
;
37
}
38
namespace
Motion
39
{
40
class
Link
;
41
}
42
namespace
Motion
43
{
44
class
MotionSolution
;
45
}
46
namespace
Motion
47
{
48
class
PostControl
;
49
}
50
namespace
Motion
51
{
52
class
_AnimationControlBuilder;
53
class
AnimationControlImpl;
57
class
NXOPENCPP_MOTIONEXPORT AnimationControl :
public
NXOpen::Motion::PostControl
58
{
59
private
:
AnimationControlImpl
* m_animationcontrol_impl;
60
private
:
friend
class
_AnimationControlBuilder;
61
protected
: AnimationControl();
62
public
: ~AnimationControl();
70
public
:
void
Play
71
(
72
);
80
public
:
void
PlayBackward
81
(
82
);
86
public
:
void
Pause
87
(
88
);
92
public
:
void
Stop
93
(
94
);
98
public
:
void
StepTo
99
(
100
int
step
101
);
105
public
:
void
StepForward
106
(
107
);
111
public
:
void
StepBackward
112
(
113
);
117
public
:
void
StepFirst
118
(
119
);
123
public
:
void
StepLast
124
(
125
);
129
public
:
void
ReloadResults
130
(
131
);
135
public
:
void
StepToDesignPosition
136
(
137
);
141
public
:
void
StepToAssemblyPosition
142
(
143
);
147
public
:
void
Finish
148
(
149
);
153
public
:
int
CurrentStep
154
(
155
);
159
public
:
NXOpen::Matrix4x4
GetLinkTransformation
160
(
161
NXOpen::Motion::Link
* linkTag ,
162
int
inputStep
163
);
167
public
:
int
NumberSteps
168
(
169
);
173
public
:
int
Delay
174
(
175
);
179
public
:
void
SetDelay
180
(
181
int
delay
182
);
186
public
:
NXOpen::Motion::PlayMode
Mode
187
(
188
);
192
public
:
void
SetMode
193
(
194
NXOpen::Motion::PlayMode
mode
195
);
199
public
:
void
AddSolutions
200
(
201
const
std::vector<NXOpen::Motion::MotionSolution *> & solutionTags
202
);
203
};
204
}
205
}
206
#ifdef _MSC_VER
207
#pragma warning(pop)
208
#endif
209
#ifdef __GNUC__
210
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
211
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
212
#endif
213
#endif
214
#undef EXPORTLIBRARY