AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::ScreenWidget类 参考

The screen coordinate widget. 更多...

类 AnyCAD::Platform::ScreenWidget 继承关系图:
AnyCAD::Platform::CustomizedSceneNode AnyCAD::Platform::SceneNode AnyCAD::Platform::Object

Public 成员函数

void SetNode (SceneNode^ node)
 
Vector2GetWidgetSize ()
 
void SetWidgetSize (Vector2^ sz)
 
void SetWidgetPosition (int sceeenPos)
 
int GetWidgetPosition ()
 
- Public 成员函数 继承自 AnyCAD::Platform::SceneNode
ElementIdGetId ()
 
void SetId (ElementId^ nId)
 
String^ GetName ()
 
void SetName (String^ name)
 
void SetVisible (bool bVisible)
 
bool IsVisible ()
 
bool IsPickable ()
 
void SetPickable (bool enabled)
 
bool IsFilterable ()
 
void SetFilterable (bool enabled)
 
bool IsFixedSize ()
 
void SetFixedSize (bool enabled)
 
void SetBBox (AABox^ bbox)
 
AABoxGetBBox ()
 
void SetTransform (Matrix4^ trf)
 
Matrix4GetTransform ()
 
void SetPointStyle (PointStyle^ pointStyle)
 
PointStyleGetPointStyle ()
 
void SetLineStyle (LineStyle^ lineStyle)
 
LineStyleGetLineStyle ()
 
void SetFaceStyle (FaceStyle^ faceStyle)
 
FaceStyleGetFaceStyle ()
 
void SetRenderOrder (int order)
 
int GetRenderOrder ()
 
void ResetShapeFilter (int nFilter)
 
- Public 成员函数 继承自 AnyCAD::Platform::Object
String^ GetObjectClassId ()
 
StringList^ ListParentClassIds ()
 

详细描述

The screen coordinate widget.

TODO:

成员函数说明

int AnyCAD::Platform::ScreenWidget::GetWidgetPosition ( )

Get the position on screen.

返回
screen position.
Vector2 ^ AnyCAD::Platform::ScreenWidget::GetWidgetSize ( )

Get the size

返回
size
void AnyCAD::Platform::ScreenWidget::SetNode ( SceneNode node)

Set the node

参数
nodethe node.
void AnyCAD::Platform::ScreenWidget::SetWidgetPosition ( int  sceeenPos)

Set the position on screen by EnumWidgetPosition

参数
sceeenPosthe position.
void AnyCAD::Platform::ScreenWidget::SetWidgetSize ( Vector2 sz)

Set the size

参数
szthe size

该类的文档由以下文件生成: