|
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 | ) |
根据动画节点属性初始化
| 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 |