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

可绘制的几何对象。 更多...

类 AnyCAD::Platform::RenderableGeometry 继承关系图:
AnyCAD::Platform::RenderableEntity AnyCAD::Platform::Object

Public 成员函数

void SetGeometry (TopoShape^ topoShape)
 
TopoShapeGetGeometry ()
 
Real GetLodFactor ()
 
void SetLodFactor (Real val)
 
void SetShapeFilter (int nFilter)
 
int GetEntityType ()
 
- Public 成员函数 继承自 AnyCAD::Platform::RenderableEntity
void SetId (int id)
 
int GetId ()
 
AABoxGetBBox ()
 
int GetEntityType ()
 
void SetShapeFilter (int nFilter)
 
int GetShapeFilter ()
 
- Public 成员函数 继承自 AnyCAD::Platform::Object
String^ GetObjectClassId ()
 
StringList^ ListParentClassIds ()
 

详细描述

可绘制的几何对象。

用于TopoShape在显示引擎中显示。

成员函数说明

int AnyCAD::Platform::RenderableGeometry::GetEntityType ( )

获取Entity的几何类型,包括 Face, Edge, Vertex, Text

返回
EnumRenderFlags
TopoShape ^ AnyCAD::Platform::RenderableGeometry::GetGeometry ( )

Get Geometry.

返回
the TopoShape
Real AnyCAD::Platform::RenderableGeometry::GetLodFactor ( )

Get LOD factor.

返回
the factor.
void AnyCAD::Platform::RenderableGeometry::SetGeometry ( TopoShape topoShape)

设置几何对象TopoShape.

参数
topoShapethe TopoShape to set
返回
void
void AnyCAD::Platform::RenderableGeometry::SetLodFactor ( Real  val)

Set LOD factor.

参数
valthe factor. Should >= 0.01
void AnyCAD::Platform::RenderableGeometry::SetShapeFilter ( int  nFilter)

设置需要显示的几何,包括点、线、面.

参数
nFilterby EnumRenderFlags

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