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

The base class for the Type. 更多...

#include <APIRenderableType.h>

类 AnyCAD::API::RenderableType 继承关系图:
AnyCAD::API::RenderableElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object AnyCAD::API::AssetType AnyCAD::API::EntityType AnyCAD::API::GroupType

Public 成员函数

void SetTypeGUID (const String &_TypeGUID)
 
String GetTypeGUID () const
 
RenderableInstance CreateInstance () const
 
ElementIdSet GetInstanceIds () const
 
GroupSceneNode GetTypeSceneNode () const
 
AABox GetBBox () const
 
virtual bool EnableAnimationByName (const String &strName)
 
Animator GetAnimator () const
 
virtual SceneNode GetSceneNode () const
 
- Public 成员函数 继承自 AnyCAD::API::RenderableElement
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
 
- 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 base class for the Type.

TODO:

成员函数说明

RenderableInstance AnyCAD::API::RenderableType::CreateInstance ( ) const

Create an instance from this Type.

返回
the InstanceElement.
virtual bool AnyCAD::API::RenderableType::EnableAnimationByName ( const String strName)
virtual

Enable the animation by animation name.

返回
false if failed.
Animator AnyCAD::API::RenderableType::GetAnimator ( ) const

Get Animator.

返回
the Animator.
AABox AnyCAD::API::RenderableType::GetBBox ( ) const

Get the bounding box.

返回
the rotation.
ElementIdSet AnyCAD::API::RenderableType::GetInstanceIds ( ) const

Get all the instance of this type.

返回
the ElementIdSet.
virtual SceneNode AnyCAD::API::RenderableType::GetSceneNode ( ) const
virtual

Get the visual node.

返回
the SceneNode.

重载 AnyCAD::API::RenderableElement .

String AnyCAD::API::RenderableType::GetTypeGUID ( ) const

Get TypeGUID.

返回
the TypeGUID.
GroupSceneNode AnyCAD::API::RenderableType::GetTypeSceneNode ( ) const

Get the visual node.

返回
the node.
void AnyCAD::API::RenderableType::SetTypeGUID ( const String _TypeGUID)

Set the TypeGUID.

参数
_TypeGUIDthe TypeGUID.

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