AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::RenderableElement类 参考

The element that can hold geometry. 更多...

#include <APIRenderableElement.h>

类 AnyCAD::API::RenderableElement 继承关系图:
AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object AnyCAD::API::AnnotationElement AnyCAD::API::GeomElement AnyCAD::API::GridElement AnyCAD::API::GridItemElement AnyCAD::API::GridLabelElement AnyCAD::API::GridSystemElement AnyCAD::API::RenderableInstance AnyCAD::API::RenderableType AnyCAD::API::SubGeomElement

Public 成员函数

void SetVisible (bool _Visible)
 
bool GetVisible () const
 
void SetStandalone (bool _Standalone)
 
bool GetStandalone () const
 
void SetStyleId (const ElementId &_StyleId)
 
ElementId GetStyleId () const
 
bool IsVisible () const
 
virtual SceneNode GetSceneNode () const
 
- Public 成员函数 继承自 AnyCAD::API::PropertiesElement
void AddParameter (ParameterId paramId, const ParameterValue &pParameter)
 
ParameterValue RemoveParameter (ParameterId paramId)
 
void AddParameterUI (ParameterId paramId, const ParameterUI &pParameterUI)
 
ParameterUI GetParameterUI (ParameterId paramId) const
 
ParameterUI RemoveParameterUI (ParameterId paramId)
 
ParameterUISet GetParameterUISet () const
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The element that can hold geometry.

TODO:

成员函数说明

virtual SceneNode AnyCAD::API::RenderableElement::GetSceneNode ( ) const
virtual
bool AnyCAD::API::RenderableElement::GetStandalone ( ) const

Get Standalone.

返回
the Standalone.
ElementId AnyCAD::API::RenderableElement::GetStyleId ( ) const

Get StyleId.

返回
the StyleId.
bool AnyCAD::API::RenderableElement::GetVisible ( ) const

Get Visible.

返回
the Visible.
bool AnyCAD::API::RenderableElement::IsVisible ( ) const

Get the visibility of the instance. Parameter Id: Visibility

返回
true if it's visible.
void AnyCAD::API::RenderableElement::SetStandalone ( bool  _Standalone)

Set the Standalone.

参数
_Standalonethe Standalone.
void AnyCAD::API::RenderableElement::SetStyleId ( const ElementId _StyleId)

Set the StyleId.

参数
_StyleIdthe StyleId.
void AnyCAD::API::RenderableElement::SetVisible ( bool  _Visible)

Set the Visible.

参数
_Visiblethe Visible.

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