CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::GAnimateTransformVector类 参考

动画矩阵变换容器 更多...

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
 

详细描述

动画矩阵变换容器

构造及析构函数说明

◆ GAnimateTransformVector()

BUI::GAnimateTransformVector::GAnimateTransformVector ( )

◆ ~GAnimateTransformVector()

BUI::GAnimateTransformVector::~GAnimateTransformVector ( )

成员函数说明

◆ AddTransform()

void BUI::GAnimateTransformVector::AddTransform ( std::shared_ptr< GAnimateTransform trans)

◆ Clear()

void BUI::GAnimateTransformVector::Clear ( )

◆ GetTransform2d()

Transform2d BUI::GAnimateTransformVector::GetTransform2d ( )

◆ GetTransform2dInView()

Transform2d BUI::GAnimateTransformVector::GetTransform2dInView ( const RECT rcView)

◆ IsPause()

BOOL BUI::GAnimateTransformVector::IsPause ( ) const

获得动画状态

返回
BOOL:暂停(TRUE),动画(FALSE)

◆ OnParserAnimTransform()

void BUI::GAnimateTransformVector::OnParserAnimTransform ( XMLItem node)

◆ PauseAnimate()

void BUI::GAnimateTransformVector::PauseAnimate ( BOOL  pause)

动画暂停或启动

参数
pause:暂停(TRUE),动画(FALSE)

◆ Size()

size_t BUI::GAnimateTransformVector::Size ( )

◆ UpdateBeginTime()

void BUI::GAnimateTransformVector::UpdateBeginTime ( float  t)

更新动画开始时刻。 e.g. UpdateBeginTime(GetGlobalTime());

◆ UpdateTimeLine()

void BUI::GAnimateTransformVector::UpdateTimeLine ( float  t,
float *  reset = NULL 
)

更新动画当前时刻。 e.g. UpdateBeginTime(GetGlobalTime());

类成员变量说明

◆ m_anim_transforms

std::vector<std::shared_ptr<GAnimateTransform> > BUI::GAnimateTransformVector::m_anim_transforms
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有