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

飞控姿态表盘(AttitudeIndicator) 更多...

+ 类 BUI::CChartEleAttitudeIndicator 继承关系图:

Public 成员函数

 CChartEleAttitudeIndicator ()
 
 CChartEleAttitudeIndicator (CChartCoordinate *coordSys, double cx, double cy, double rOuter, double rInner)
 
 ~CChartEleAttitudeIndicator ()
 
void SetBankAngle (double a)
 
void SetPitchAngle (double a)
 
BOOL OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp) override
 
void DoPaintElement (ISurface *pSurface, const GColor &color, const RECT &rcDiagram, RECT *rcUpdate) override
 
void ShellElementAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist=NULL) override
 命令控制和属性设置接口
 
- Public 成员函数 继承自 BUI::CChartElement
 CChartElement ()
 
virtual ~CChartElement ()
 
CChartDataLabelGetDataLabelInfo () const
 
void SetDataLabelInfo (CChartDataLabel *labelStyle)
 
BOOL IsDrawDataLabel () const
 
void DrawDataLabel (ISurface *pSurface, int x, int y, LPCTSTR str, const RECT &rcDiagram, RECT *rcUpdate)
 
virtual void DoPaintElement (ISurface *pSurface, const GColor &color, const RECT &rcDiagram, RECT *rcUpdate)
 
virtual VecFloat2 GetPoint ()
 
virtual VecFloat2 GetLogicPoint (int field=0)
 
virtual BOOL IsViewportArea ()
 
virtual BOOL IsVaild ()
 
virtual BOOL GetAxisXPoint (VecFloat2 &pt)
 
virtual BOOL OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp)
 
virtual void ShellElementAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist=NULL)
 命令控制和属性设置接口
 
virtual void OnParseElementData (XMLItem *pNode, CControlUI *parent)
 
virtual void OnTranslateLanguage ()
 
- Public 成员函数 继承自 BUI::CNodeCell
 CNodeCell ()
 
 CNodeCell (std::shared_ptr< CNodeData > valuedata)
 
virtual ~CNodeCell ()
 
void BindAction (std::shared_ptr< IActionNotify > action)
 
std::shared_ptr< IActionNotifyActionOfNode () const
 
void DoNodeAction () const
 
void SetBackNodeData (std::shared_ptr< CNodeData > valuedata)
 
void SetSyntaxAst (LPCTSTR str_script)
 
void SetName (BeString id)
 
BeStringName ()
 
void OnDrawNodeCell (ISurface *pSurface, int paintState, RECT rcCell, COLORREF textColor, UINT textAlignFlag, PathTransInfo *clipborderpath=NULL)
 
void SetNodeData (std::shared_ptr< CNodeData > valuedata)
 
void AddNodeData (std::shared_ptr< CNodeData > valuedata, int w=0, int h=0, SizeMode stw=AdaptFill, SizeMode sth=AdaptFill)
 
void InsertNodeData (int pos, std::shared_ptr< CNodeData > valuedata, int w=0, int h=0, SizeMode stw=AdaptFill, SizeMode sth=AdaptFill)
 
void SetNotifyHandler (IEventHandler *notify)
 
BOOL NotifyMsg (UINT message, WPARAM wp, LPARAM lp)
 
void NeedUpdateUI ()
 
void NeedUpdateHostUI ()
 
void ShellNodeCellAttribute (const BeString &szName, const BeString &szText)
 
ItemState & GetNodeState ()
 
void Clear ()
 
BOOL PtInCell (POINT pt)
 
void SetRect (int x, int y, int w, int h)
 
RECT CellRect () const
 
std::shared_ptr< CNodeData > & GetNodeData ()
 

Protected 属性

CChartCoordinatem_CoordSys
 
COLORREF m_crText
 文本和标线颜色
 
COLORREF m_crSky
 天空颜色
 
COLORREF m_crEarth
 地平线颜色
 
COLORREF m_crMark
 
VecFloat2 m_ptCenter
 
double m_rOuter
 
double m_rInner
 
double m_BankAngle
 
double m_PitchAngle
 
double m_PitchMax
 
double m_PitchTick
 
- Protected 属性 继承自 BUI::CChartElement
CChartDataLabelm_datalabel
 

额外继承的成员函数

- Public 属性 继承自 BUI::CNodeCell
RECT m_rcCell
 
ItemState m_state
 
BeString m_nameid
 
IEventHandlerm_notifyHandler
 
std::shared_ptr< CNodeDatam_backdata
 
std::shared_ptr< CNodeDatam_rawdata
 
std::shared_ptr< IActionNotifym_action
 
syntax_infom_cmd_ast
 

详细描述

飞控姿态表盘(AttitudeIndicator)

构造及析构函数说明

◆ CChartEleAttitudeIndicator() [1/2]

BUI::CChartEleAttitudeIndicator::CChartEleAttitudeIndicator ( )

◆ CChartEleAttitudeIndicator() [2/2]

BUI::CChartEleAttitudeIndicator::CChartEleAttitudeIndicator ( CChartCoordinate coordSys,
double  cx,
double  cy,
double  rOuter,
double  rInner 
)

◆ ~CChartEleAttitudeIndicator()

BUI::CChartEleAttitudeIndicator::~CChartEleAttitudeIndicator ( )

成员函数说明

◆ DoPaintElement()

void BUI::CChartEleAttitudeIndicator::DoPaintElement ( ISurface pSurface,
const GColor color,
const RECT rcDiagram,
RECT rcUpdate 
)
overridevirtual

◆ OnNotifyMessage()

BOOL BUI::CChartEleAttitudeIndicator::OnNotifyMessage ( IEventHandler notify,
UINT  message,
WPARAM  wp,
LPARAM  lp 
)
overridevirtual

◆ SetBankAngle()

void BUI::CChartEleAttitudeIndicator::SetBankAngle ( double  a)

◆ SetPitchAngle()

void BUI::CChartEleAttitudeIndicator::SetPitchAngle ( double  a)

◆ ShellElementAttribute()

void BUI::CChartEleAttitudeIndicator::ShellElementAttribute ( const BeString szName,
const BeString szText,
ICoordList crdlist = NULL 
)
overridevirtual

命令控制和属性设置接口

szName属性 szText语法格式
Coord
设置坐标系
Coord="坐标系名称"
cx
中心点X
cx="50"
cy
中心点Y
cy="50"
r-outer
外环半径
r-outer="50"
r-inner
内环半径
r-inner="50"
color-mark
标记颜色
color-mark="0x000000"
color-sky
天空颜色
color-sky="0x000000"
color-earth
地表颜色
color-earth="0x000000"
color-text
文本和标线颜色
color-text="0x000000"
angle-bank
偏角(单位角度)
angle-bank="10"
angle-pitch
仰角 (单位角度)
angle-pitch="5"

重载 BUI::CChartElement .

类成员变量说明

◆ m_BankAngle

double BUI::CChartEleAttitudeIndicator::m_BankAngle
protected

◆ m_CoordSys

CChartCoordinate* BUI::CChartEleAttitudeIndicator::m_CoordSys
protected

◆ m_crEarth

COLORREF BUI::CChartEleAttitudeIndicator::m_crEarth
protected

地平线颜色

◆ m_crMark

COLORREF BUI::CChartEleAttitudeIndicator::m_crMark
protected

◆ m_crSky

COLORREF BUI::CChartEleAttitudeIndicator::m_crSky
protected

天空颜色

◆ m_crText

COLORREF BUI::CChartEleAttitudeIndicator::m_crText
protected

文本和标线颜色

◆ m_PitchAngle

double BUI::CChartEleAttitudeIndicator::m_PitchAngle
protected

◆ m_PitchMax

double BUI::CChartEleAttitudeIndicator::m_PitchMax
protected

◆ m_PitchTick

double BUI::CChartEleAttitudeIndicator::m_PitchTick
protected

◆ m_ptCenter

VecFloat2 BUI::CChartEleAttitudeIndicator::m_ptCenter
protected

◆ m_rInner

double BUI::CChartEleAttitudeIndicator::m_rInner
protected

◆ m_rOuter

double BUI::CChartEleAttitudeIndicator::m_rOuter
protected
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有