场景的节点的基类。
更多...
#include <APISceneNode.h>
场景的节点的基类。
节点只有加载到场景中才能被显示。
AABox AnyCAD::API::SceneNode::GetBBox |
( |
| ) |
const |
FaceStyle AnyCAD::API::SceneNode::GetFaceStyle |
( |
| ) |
const |
Get Face Style
- 返回
- the face style
ElementId AnyCAD::API::SceneNode::GetId |
( |
| ) |
const |
LineStyle AnyCAD::API::SceneNode::GetLineStyle |
( |
| ) |
const |
Get Line Style
- 返回
- the line style
String AnyCAD::API::SceneNode::GetName |
( |
| ) |
const |
PointStyle AnyCAD::API::SceneNode::GetPointStyle |
( |
| ) |
const |
获取点的样式。
- 返回
- the point style
int AnyCAD::API::SceneNode::GetRenderOrder |
( |
| ) |
const |
Get the render order.
- 返回
- the render order.
Matrix4 AnyCAD::API::SceneNode::GetTransform |
( |
| ) |
const |
bool AnyCAD::API::SceneNode::IsFilterable |
( |
| ) |
const |
bool AnyCAD::API::SceneNode::IsFixedSize |
( |
| ) |
const |
bool AnyCAD::API::SceneNode::IsPickable |
( |
| ) |
const |
bool AnyCAD::API::SceneNode::IsVisible |
( |
| ) |
const |
virtual void AnyCAD::API::SceneNode::ResetShapeFilter |
( |
int |
nFilter | ) |
|
|
virtual |
void AnyCAD::API::SceneNode::SetBBox |
( |
const AABox & |
bbox | ) |
|
void AnyCAD::API::SceneNode::SetFaceStyle |
( |
const FaceStyle & |
faceStyle | ) |
|
void AnyCAD::API::SceneNode::SetFilterable |
( |
bool |
enabled | ) |
|
设置是否能被显示模式过滤。默认是遵循EnumDisplayStyle规则的。
- 参数
-
enabled | 设置false就会一直显示不会被过滤掉。 |
- 返回
- void
void AnyCAD::API::SceneNode::SetFixedSize |
( |
bool |
enabled | ) |
|
设置是否随相机缩放而改变大小。默认是跟随缩放的。
- 参数
-
- 返回
- void
void AnyCAD::API::SceneNode::SetId |
( |
const ElementId & |
nId | ) |
|
void AnyCAD::API::SceneNode::SetLineStyle |
( |
const LineStyle & |
lineStyle | ) |
|
void AnyCAD::API::SceneNode::SetName |
( |
const String & |
name | ) |
|
void AnyCAD::API::SceneNode::SetPickable |
( |
bool |
enabled | ) |
|
void AnyCAD::API::SceneNode::SetPointStyle |
( |
const PointStyle & |
pointStyle | ) |
|
设置点的显示样式。
- 参数
-
pointStyle | the point style |
- 返回
- void
void AnyCAD::API::SceneNode::SetRenderOrder |
( |
int |
order | ) |
|
void AnyCAD::API::SceneNode::SetTransform |
( |
const Matrix4 & |
trf | ) |
|
void AnyCAD::API::SceneNode::SetVisible |
( |
bool |
bVisible | ) |
|
该类的文档由以下文件生成: