AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIRenderableType.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIRenderableType_H_
4 #define _APIRenderableType_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIRenderableElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class Animator;
13  class RenderableInstance;
14  class SceneNode;
15  class GroupSceneNode;
24  : public RenderableElement
25  {
27  public:
32  void SetTypeGUID(const String& _TypeGUID);
37  String GetTypeGUID() const;
38 
43  RenderableInstance CreateInstance () const;
48  ElementIdSet GetInstanceIds () const;
53  GroupSceneNode GetTypeSceneNode () const;
58  AABox GetBBox () const;
63  virtual bool EnableAnimationByName (const String& strName) ;
68  Animator GetAnimator () const;
73  virtual SceneNode GetSceneNode () const;
74  };//RenderableType;
75 }}//API
76 
77 #endif //_APIRenderableType_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
AABox.
Definition: APIMath.h:281
The base class for the Type.
Definition: APIRenderableType.h:23
The element that can hold geometry.
Definition: APIRenderableElement.h:22
std::string String
Definition: APIString.h:10
The base class for the TypeElement instance. The default direction is UNIT_Y; the rotation use Eular ...
Definition: APIRenderableInstance.h:25
动画操作器
Definition: APIAnimator.h:17
场景的节点的基类。
Definition: APISceneNode.h:22
std::set< ElementId > ElementIdSet
Definition: APIElementId.h:53
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
节点组。
Definition: APIGroupSceneNode.h:22