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

场景的节点的基类。 更多...

类 AnyCAD::Platform::SceneNode 继承关系图:
AnyCAD::Platform::Object AnyCAD::Platform::CustomizedSceneNode AnyCAD::Platform::EntitySceneNode AnyCAD::Platform::GroupSceneNode AnyCAD::Platform::ImageNode AnyCAD::Platform::PointCloudNode AnyCAD::Platform::ScreenWidget AnyCAD::Platform::SnapNode AnyCAD::Platform::TextNode 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 成员函数

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

详细描述

场景的节点的基类。

节点只有加载到场景中才能被显示。

成员函数说明

AABox ^ AnyCAD::Platform::SceneNode::GetBBox ( )

获取局部包围盒大小。

返回
bbox
FaceStyle ^ AnyCAD::Platform::SceneNode::GetFaceStyle ( )

Get Face Style

返回
the face style
ElementId ^ AnyCAD::Platform::SceneNode::GetId ( )

Get Id

返回
int
LineStyle ^ AnyCAD::Platform::SceneNode::GetLineStyle ( )

Get Line Style

返回
the line style
String ^ AnyCAD::Platform::SceneNode::GetName ( )

Get Name

返回
the Name
PointStyle ^ AnyCAD::Platform::SceneNode::GetPointStyle ( )

获取点的样式。

返回
the point style
int AnyCAD::Platform::SceneNode::GetRenderOrder ( )

Get the render order.

返回
the render order.
Matrix4 ^ AnyCAD::Platform::SceneNode::GetTransform ( )

获取矩阵变换。

返回
Matrix4
bool AnyCAD::Platform::SceneNode::IsFilterable ( )

判断是否能被显示模式过滤掉。

返回
bool
bool AnyCAD::Platform::SceneNode::IsFixedSize ( )

判断是否随相机缩放而改变大小。

返回
bool
bool AnyCAD::Platform::SceneNode::IsPickable ( )

判断是否可以被鼠标拾取。

返回
bool
bool AnyCAD::Platform::SceneNode::IsVisible ( )

判断是否可见

返回
bool
void AnyCAD::Platform::SceneNode::ResetShapeFilter ( int  nFilter)

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

参数
nFilterby EnumRenderFlags
void AnyCAD::Platform::SceneNode::SetBBox ( AABox bbox)

设置局部包围盒大小。

参数
bboxthe bounding box.
返回
void
void AnyCAD::Platform::SceneNode::SetFaceStyle ( FaceStyle faceStyle)

设置面的显示样式。

参数
faceStylethe face style
返回
void
void AnyCAD::Platform::SceneNode::SetFilterable ( bool  enabled)

设置是否能被显示模式过滤。默认是遵循EnumDisplayStyle规则的。

参数
enabled设置false就会一直显示不会被过滤掉。
返回
void
void AnyCAD::Platform::SceneNode::SetFixedSize ( bool  enabled)

设置是否随相机缩放而改变大小。默认是跟随缩放的。

参数
enabledtrue则在屏幕上显示固定的大小。
返回
void
void AnyCAD::Platform::SceneNode::SetId ( ElementId nId)

Set Id

参数
nIdthe id.
返回
void
void AnyCAD::Platform::SceneNode::SetLineStyle ( LineStyle lineStyle)

设置线、边的显示样式。

参数
lineStylethe line style
返回
void
void AnyCAD::Platform::SceneNode::SetName ( String^  name)

Set Name

参数
namethe name
返回
void
void AnyCAD::Platform::SceneNode::SetPickable ( bool  enabled)

设置是否可以被鼠标拾取。

参数
enabledtrue 可以被拾取。
返回
void
void AnyCAD::Platform::SceneNode::SetPointStyle ( PointStyle pointStyle)

设置点的显示样式。

参数
pointStylethe point style
返回
void
void AnyCAD::Platform::SceneNode::SetRenderOrder ( int  order)

Set the render order.

参数
orderthe render order.
void AnyCAD::Platform::SceneNode::SetTransform ( Matrix4 trf)

设置矩阵变换。

参数
trfthe transform
void AnyCAD::Platform::SceneNode::SetVisible ( bool  bVisible)

设置是否可见。

参数
bVisiblevisible if true
返回
void

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