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

The Grid Node. -since R2015. 更多...

类 AnyCAD::Platform::GridNode 继承关系图:
AnyCAD::Platform::GroupSceneNode AnyCAD::Platform::SceneNode AnyCAD::Platform::Object AnyCAD::Platform::RectangleGridNode

Public 成员函数

void SetCellCount (int cx, int cy)
 
Vector2GetCellCount ()
 
void SetCellSize (Vector2^ cellSize)
 
Vector2GetCellSize ()
 
void SetSubCellCount (int cx, int cy)
 
Vector2GetSubCellSize ()
 
Vector2GetSubCellCount ()
 
void SetCellColor (ColorValue^ clr)
 
ColorValueGetCellColor ()
 
void SetSubCellColor (ColorValue^ clr)
 
ColorValueGetSubCellColor ()
 
void Update ()
 
- Public 成员函数 继承自 AnyCAD::Platform::GroupSceneNode
void AddNode (SceneNode^ pNode)
 
void RemoveNode (ElementId^ nId)
 
SceneNodeFindNode (ElementId^ nId)
 
SceneNodeGetNodeByIndex (long idx)
 
SceneNodeIteratorNewSceneNodeIterator ()
 
long GetCount ()
 
void ClearAll ()
 
void SetAnimator (Animator^ pAnimator)
 
AnimatorGetAnimator ()
 
void ResetShapeFilter (int nFilter)
 
- 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 Grid Node. -since R2015.

TODO:

成员函数说明

ColorValue ^ AnyCAD::Platform::GridNode::GetCellColor ( )

Get large grid color

返回
the ColorValue.
Vector2 ^ AnyCAD::Platform::GridNode::GetCellCount ( )

Get the count of each bigger cell.

返回
the count.
Vector2 ^ AnyCAD::Platform::GridNode::GetCellSize ( )

Get the size of each bigger cell.

返回
the size.
ColorValue ^ AnyCAD::Platform::GridNode::GetSubCellColor ( )

Get small grid color

返回
the ColorValue.
Vector2 ^ AnyCAD::Platform::GridNode::GetSubCellCount ( )

Get the count of each sub cell.

返回
the count.
Vector2 ^ AnyCAD::Platform::GridNode::GetSubCellSize ( )

Get the size of each sub cell.

返回
the size.
void AnyCAD::Platform::GridNode::SetCellColor ( ColorValue clr)

Set the large grid color

参数
clrthe ColorValue
void AnyCAD::Platform::GridNode::SetCellCount ( int  cx,
int  cy 
)

Set the number of the bigger cells.

参数
cxcount of direction X.
cycount of direction Y.
void AnyCAD::Platform::GridNode::SetCellSize ( Vector2 cellSize)

Set the size of each bigger cell.

参数
cellSizesize of X and Y.
void AnyCAD::Platform::GridNode::SetSubCellColor ( ColorValue clr)

Set the small grid color

参数
clrthe ColorValue
void AnyCAD::Platform::GridNode::SetSubCellCount ( int  cx,
int  cy 
)

Set the number of the smaller cells.

参数
cxsize of X.
cysize of Y.
void AnyCAD::Platform::GridNode::Update ( )

Apply the changes.


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