AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APISelectedEntityQuery.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APISelectedEntityQuery_H_
4 #define _APISelectedEntityQuery_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APISelectionQuery.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class RenderableEntity;
13  class SceneNode;
22  : public SelectionQuery
23  {
25  public:
30  bool IsEmpty () const;
35  ElementId GetNodeId () const;
40  int GetSubNodeId () const;
45  SceneNode GetSubNode () const;
50  SceneNode GetRootNode () const;
55  RenderableEntity GetEntity () const;
60  int GetSubEntityIndex () const;
65  int GetSubEntityType () const;
70  IntList GetIds () const;
75  Matrix4 ComputeGlobalTransform () const;
76  };//SelectedEntityQuery;
77 }}//API
78 
79 #endif //_APISelectedEntityQuery_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
可以显示的Entity。
Definition: APIRenderableEntity.h:19
Matrix4.
Definition: APIMath.h:248
The selection context interface.
Definition: APISelectionQuery.h:17
The context to query the selected entity.
Definition: APISelectedEntityQuery.h:21
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
std::vector< int > IntList
Definition: APIString.h:16