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

Dynamic cast object. 更多...

#include <APITypeCast.h>

Public 成员函数

ParameterInteger ToParameterInteger (const ParameterValue &pValue)
 
ParameterString ToParameterString (const ParameterValue &pValue)
 
ParameterBoolean ToParameterBoolean (const ParameterValue &pValue)
 
ParameterDouble ToParameterDouble (const ParameterValue &pValue)
 
ParameterVector3 ToParameterVector3 (const ParameterValue &pValue)
 
StyleElement ToStyleElement (const Element &pValue)
 
RenderableInstance ToInstanceElement (const Element &pValue)
 
RenderableInstance ToRenderableInstance (const Element &pValue)
 
RenderableType ToTypeElement (const Element &pValue)
 
RenderableType ToRenderableType (const Element &pValue)
 
EntityType ToEntityType (const Element &pValue)
 
GroupType ToGroupType (const Element &pValue)
 
AssetType ToAssetType (const Element &pValue)
 
GroupSceneNode ToGroupSceneNode (const SceneNode &pValue)
 
EntitySceneNode ToEntitySceneNode (const SceneNode &pValue)
 
RenderableGeometry ToRenderableGeometry (const RenderableEntity &pValue)
 
RenderableGroupEntity ToRenderableGroupEntity (const RenderableEntity &pValue)
 

详细描述

Dynamic cast object.

TODO:

成员函数说明

AssetType AnyCAD::API::TypeCast::ToAssetType ( const Element pValue)

Cast Element to AssetType

参数
pValuethe Element
返回
the AssetType
EntitySceneNode AnyCAD::API::TypeCast::ToEntitySceneNode ( const SceneNode pValue)

Cast SceneNode to EntitySceneNode

参数
pValuethe SceneNode
返回
the EntitySceneNode
EntityType AnyCAD::API::TypeCast::ToEntityType ( const Element pValue)

Cast Element to GeometryElement

参数
pValuethe Element
返回
the GeometryElement
GroupSceneNode AnyCAD::API::TypeCast::ToGroupSceneNode ( const SceneNode pValue)

Cast SceneNode to GroupSceneNode

参数
pValuethe SceneNode
返回
the GroupSceneNode
GroupType AnyCAD::API::TypeCast::ToGroupType ( const Element pValue)

Cast Element to GroupElement

参数
pValuethe Element
返回
the GroupElement
RenderableInstance AnyCAD::API::TypeCast::ToInstanceElement ( const Element pValue)

Cast Element to InstanceElement

参数
pValuethe Element
返回
the InstanceElement
ParameterBoolean AnyCAD::API::TypeCast::ToParameterBoolean ( const ParameterValue pValue)

Cast ParameterValue to ParameterBoolean

参数
pValuethe ParameterValue
返回
the ParameterBoolean
ParameterDouble AnyCAD::API::TypeCast::ToParameterDouble ( const ParameterValue pValue)

Cast ParameterValue to ParameterDouble

参数
pValuethe ParameterValue
返回
the ParameterDouble
ParameterInteger AnyCAD::API::TypeCast::ToParameterInteger ( const ParameterValue pValue)

Cast ParameterValue to ParameterInteger

参数
pValuethe ParameterValue
返回
the ParameterInteger
ParameterString AnyCAD::API::TypeCast::ToParameterString ( const ParameterValue pValue)

Cast ParameterValue to ParameterString

参数
pValuethe ParameterValue
返回
the ParameterString
ParameterVector3 AnyCAD::API::TypeCast::ToParameterVector3 ( const ParameterValue pValue)

Cast ParameterValue to ParameterVector3

参数
pValuethe ParameterValue
返回
the ParameterVector3
RenderableGeometry AnyCAD::API::TypeCast::ToRenderableGeometry ( const RenderableEntity pValue)
RenderableGroupEntity AnyCAD::API::TypeCast::ToRenderableGroupEntity ( const RenderableEntity pValue)
RenderableInstance AnyCAD::API::TypeCast::ToRenderableInstance ( const Element pValue)

Cast Element to RenderableInstance

参数
pValuethe Element
返回
the RenderableInstance
RenderableType AnyCAD::API::TypeCast::ToRenderableType ( const Element pValue)

Cast Element to RenderableType

参数
pValuethe Element
返回
the RenderableType
StyleElement AnyCAD::API::TypeCast::ToStyleElement ( const Element pValue)

Cast Element to StyleElement

参数
pValuethe Element
返回
the StyleElement
RenderableType AnyCAD::API::TypeCast::ToTypeElement ( const Element pValue)

Cast Element to TypeElement

参数
pValuethe Element
返回
the TypeElement

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