AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
场景的节点的基类。 更多...
Public 成员函数 | |
ElementId^ | GetId () |
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) |
AABox^ | GetBBox () |
void | SetTransform (Matrix4^ trf) |
Matrix4^ | GetTransform () |
void | SetPointStyle (PointStyle^ pointStyle) |
PointStyle^ | GetPointStyle () |
void | SetLineStyle (LineStyle^ lineStyle) |
LineStyle^ | GetLineStyle () |
void | SetFaceStyle (FaceStyle^ faceStyle) |
FaceStyle^ | GetFaceStyle () |
void | SetRenderOrder (int order) |
int | GetRenderOrder () |
void | ResetShapeFilter (int nFilter) |
![]() | |
String^ | GetObjectClassId () |
StringList^ | ListParentClassIds () |
场景的节点的基类。
节点只有加载到场景中才能被显示。
AABox ^ AnyCAD::Platform::SceneNode::GetBBox | ( | ) |
获取局部包围盒大小。
FaceStyle ^ AnyCAD::Platform::SceneNode::GetFaceStyle | ( | ) |
Get Face Style
ElementId ^ AnyCAD::Platform::SceneNode::GetId | ( | ) |
Get Id
LineStyle ^ AnyCAD::Platform::SceneNode::GetLineStyle | ( | ) |
Get Line Style
String ^ AnyCAD::Platform::SceneNode::GetName | ( | ) |
Get Name
PointStyle ^ AnyCAD::Platform::SceneNode::GetPointStyle | ( | ) |
获取点的样式。
int AnyCAD::Platform::SceneNode::GetRenderOrder | ( | ) |
Get the render order.
bool AnyCAD::Platform::SceneNode::IsFilterable | ( | ) |
判断是否能被显示模式过滤掉。
bool AnyCAD::Platform::SceneNode::IsFixedSize | ( | ) |
判断是否随相机缩放而改变大小。
bool AnyCAD::Platform::SceneNode::IsPickable | ( | ) |
判断是否可以被鼠标拾取。
bool AnyCAD::Platform::SceneNode::IsVisible | ( | ) |
判断是否可见
void AnyCAD::Platform::SceneNode::ResetShapeFilter | ( | int | nFilter | ) |
设置是显示面、线、点还是它们的组合。默认都显示。
nFilter | by EnumRenderFlags |
void AnyCAD::Platform::SceneNode::SetBBox | ( | AABox^ | bbox | ) |
设置局部包围盒大小。
bbox | the bounding box. |
void AnyCAD::Platform::SceneNode::SetFaceStyle | ( | FaceStyle^ | faceStyle | ) |
设置面的显示样式。
faceStyle | the face style |
void AnyCAD::Platform::SceneNode::SetFilterable | ( | bool | enabled | ) |
设置是否能被显示模式过滤。默认是遵循EnumDisplayStyle规则的。
enabled | 设置false就会一直显示不会被过滤掉。 |
void AnyCAD::Platform::SceneNode::SetFixedSize | ( | bool | enabled | ) |
设置是否随相机缩放而改变大小。默认是跟随缩放的。
enabled | true则在屏幕上显示固定的大小。 |
void AnyCAD::Platform::SceneNode::SetId | ( | ElementId^ | nId | ) |
Set Id
nId | the id. |
void AnyCAD::Platform::SceneNode::SetLineStyle | ( | LineStyle^ | lineStyle | ) |
设置线、边的显示样式。
lineStyle | the line style |
void AnyCAD::Platform::SceneNode::SetName | ( | String^ | name | ) |
Set Name
name | the name |
void AnyCAD::Platform::SceneNode::SetPickable | ( | bool | enabled | ) |
设置是否可以被鼠标拾取。
enabled | true 可以被拾取。 |
void AnyCAD::Platform::SceneNode::SetPointStyle | ( | PointStyle^ | pointStyle | ) |
设置点的显示样式。
pointStyle | the point style |
void AnyCAD::Platform::SceneNode::SetRenderOrder | ( | int | order | ) |
Set the render order.
order | the render order. |
void AnyCAD::Platform::SceneNode::SetTransform | ( | Matrix4^ | trf | ) |
设置矩阵变换。
trf | the transform |
void AnyCAD::Platform::SceneNode::SetVisible | ( | bool | bVisible | ) |
设置是否可见。
bVisible | visible if true |