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

The context to query the selected entity. 更多...

#include <APISelectedEntityQuery.h>

类 AnyCAD::API::SelectedEntityQuery 继承关系图:
AnyCAD::API::SelectionQuery AnyCAD::API::SelectedShapeQuery AnyCAD::API::SelectedElementQuery

Public 成员函数

bool IsEmpty () const
 
ElementId GetNodeId () const
 
int GetSubNodeId () const
 
SceneNode GetSubNode () const
 
SceneNode GetRootNode () const
 
RenderableEntity GetEntity () const
 
int GetSubEntityIndex () const
 
int GetSubEntityType () const
 
IntList GetIds () const
 
Matrix4 ComputeGlobalTransform () const
 

详细描述

The context to query the selected entity.

TODO:

成员函数说明

Matrix4 AnyCAD::API::SelectedEntityQuery::ComputeGlobalTransform ( ) const

Compute the global transform.

返回
the Matrix4
RenderableEntity AnyCAD::API::SelectedEntityQuery::GetEntity ( ) const

Get the entity.

返回
the RenderableEntity
IntList AnyCAD::API::SelectedEntityQuery::GetIds ( ) const

Get the id chain which contains the sub entity.

返回
the index
ElementId AnyCAD::API::SelectedEntityQuery::GetNodeId ( ) const

Get the root node id

返回
the Id
SceneNode AnyCAD::API::SelectedEntityQuery::GetRootNode ( ) const

Get the root node.

返回
the SceneNode
int AnyCAD::API::SelectedEntityQuery::GetSubEntityIndex ( ) const

Get the index of the sub entity.

返回
the index
int AnyCAD::API::SelectedEntityQuery::GetSubEntityType ( ) const

Get the Type of the sub entity. Type: Face = 0x0001, Edge = 0x0002, Vertex = 0x0004, Text = 0x0008,

返回
the type
SceneNode AnyCAD::API::SelectedEntityQuery::GetSubNode ( ) const

Get the sub node.

返回
the SceneNode
int AnyCAD::API::SelectedEntityQuery::GetSubNodeId ( ) const

Get the id of the sub instance.

返回
the id
bool AnyCAD::API::SelectedEntityQuery::IsEmpty ( ) const

Test if is empty

返回
true if empty.

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