The context to query the selected entity. 更多...
#include <APISelectedEntityQuery.h>
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.
RenderableEntity AnyCAD::API::SelectedEntityQuery::GetEntity | ( | ) | const |
Get the entity.
IntList AnyCAD::API::SelectedEntityQuery::GetIds | ( | ) | const |
Get the id chain which contains the sub entity.
ElementId AnyCAD::API::SelectedEntityQuery::GetNodeId | ( | ) | const |
Get the root node id
SceneNode AnyCAD::API::SelectedEntityQuery::GetRootNode | ( | ) | const |
Get the root node.
int AnyCAD::API::SelectedEntityQuery::GetSubEntityIndex | ( | ) | const |
Get the index of the sub entity.
int AnyCAD::API::SelectedEntityQuery::GetSubEntityType | ( | ) | const |
Get the Type of the sub entity. Type: Face = 0x0001, Edge = 0x0002, Vertex = 0x0004, Text = 0x0008,
int AnyCAD::API::SelectedEntityQuery::GetSubNodeId | ( | ) | const |
Get the id of the sub instance.
bool AnyCAD::API::SelectedEntityQuery::IsEmpty | ( | ) | const |
Test if is empty