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

节点组。 更多...

类 AnyCAD::Platform::GroupSceneNode 继承关系图:
AnyCAD::Platform::SceneNode AnyCAD::Platform::Object AnyCAD::Platform::ArrowWidget AnyCAD::Platform::AxesWidget AnyCAD::Platform::GridHeadNode AnyCAD::Platform::GridLineNode AnyCAD::Platform::GridNode AnyCAD::Platform::LineNode AnyCAD::Platform::PointNode AnyCAD::Platform::Text3dNode

Public 成员函数

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 ()
 

详细描述

节点组。

使用节点组可以构造树形场景。

成员函数说明

void AnyCAD::Platform::GroupSceneNode::AddNode ( SceneNode pNode)

添加子节点。

参数
pNode子节点。
void AnyCAD::Platform::GroupSceneNode::ClearAll ( )

清空所有子节点。

返回
void
SceneNode ^ AnyCAD::Platform::GroupSceneNode::FindNode ( ElementId nId)

根据ID查找子节点。

参数
nId节点ID。
返回
the node
Animator ^ AnyCAD::Platform::GroupSceneNode::GetAnimator ( )

获取动画器。

返回
the animator
long AnyCAD::Platform::GroupSceneNode::GetCount ( )

获取子节点的个数。

返回
个数。
SceneNode ^ AnyCAD::Platform::GroupSceneNode::GetNodeByIndex ( long  idx)

根据索引查找子节点。

参数
idxthe index.
返回
the child node.
SceneNodeIterator ^ AnyCAD::Platform::GroupSceneNode::NewSceneNodeIterator ( )

创建遍历子节点的迭代器。

返回
the SceneNodeIterator
void AnyCAD::Platform::GroupSceneNode::RemoveNode ( ElementId nId)

根据ID删除子节点

参数
nId节点的ID
返回
void
void AnyCAD::Platform::GroupSceneNode::ResetShapeFilter ( int  nFilter)

设置是显示面、线、点还是它们的组合。默认都显示。

参数
nFilterby EnumRenderFlags
void AnyCAD::Platform::GroupSceneNode::SetAnimator ( Animator pAnimator)

设置动画器。

参数
pAnimatorthe animator

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