CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
动画矩阵变换容器 更多...
Public 成员函数 | |
GAnimateTransformVector () | |
~GAnimateTransformVector () | |
void | OnParserAnimTransform (XMLItem *node) |
void | UpdateBeginTime (float t) |
更新动画开始时刻。 e.g. UpdateBeginTime(GetGlobalTime()); | |
void | UpdateTimeLine (float t, float *reset=NULL) |
更新动画当前时刻。 e.g. UpdateBeginTime(GetGlobalTime()); | |
Transform2d | GetTransform2d () |
Transform2d | GetTransform2dInView (const RECT &rcView) |
void | AddTransform (std::shared_ptr< GAnimateTransform > trans) |
void | Clear () |
size_t | Size () |
BOOL | IsPause () const |
获得动画状态 | |
void | PauseAnimate (BOOL pause) |
动画暂停或启动 | |
Public 属性 | |
std::vector< std::shared_ptr< GAnimateTransform > > | m_anim_transforms |
动画矩阵变换容器
BUI::GAnimateTransformVector::GAnimateTransformVector | ( | ) |
BUI::GAnimateTransformVector::~GAnimateTransformVector | ( | ) |
void BUI::GAnimateTransformVector::AddTransform | ( | std::shared_ptr< GAnimateTransform > | trans | ) |
void BUI::GAnimateTransformVector::Clear | ( | ) |
Transform2d BUI::GAnimateTransformVector::GetTransform2d | ( | ) |
Transform2d BUI::GAnimateTransformVector::GetTransform2dInView | ( | const RECT & | rcView | ) |
BOOL BUI::GAnimateTransformVector::IsPause | ( | ) | const |
获得动画状态
void BUI::GAnimateTransformVector::OnParserAnimTransform | ( | XMLItem * | node | ) |
void BUI::GAnimateTransformVector::PauseAnimate | ( | BOOL | pause | ) |
动画暂停或启动
pause | :暂停(TRUE),动画(FALSE) |
size_t BUI::GAnimateTransformVector::Size | ( | ) |
void BUI::GAnimateTransformVector::UpdateBeginTime | ( | float | t | ) |
更新动画开始时刻。 e.g. UpdateBeginTime(GetGlobalTime());
void BUI::GAnimateTransformVector::UpdateTimeLine | ( | float | t, |
float * | reset = NULL |
||
) |
更新动画当前时刻。 e.g. UpdateBeginTime(GetGlobalTime());
std::vector<std::shared_ptr<GAnimateTransform> > BUI::GAnimateTransformVector::m_anim_transforms |