AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGridLabelElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGridLabelElement_H_
4 #define _APIGridLabelElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIRenderableElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class SceneNode;
21  : public RenderableElement
22  {
24  public:
29  void SetGridItemId(const ElementId& _GridItemId);
34  ElementId GetGridItemId() const;
35 
40  void SetPosition(int _Position);
45  int GetPosition() const;
46 
51  void SetDirection(const EnumAxesDirection& _Direction);
56  EnumAxesDirection GetDirection() const;
57 
62  void SetShowHandle(bool _ShowHandle);
67  bool GetShowHandle() const;
68 
73  void SetOffset(Real _Offset);
78  Real GetOffset() const;
79 
84  void SetRadius(Real _Radius);
89  Real GetRadius() const;
90 
95  virtual SceneNode GetSceneNode () const;
96  };//GridLabelElement;
97 }}//API
98 
99 #endif //_APIGridLabelElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The element that can hold geometry.
Definition: APIRenderableElement.h:22
The grid label element.
Definition: APIGridLabelElement.h:20
EnumAxesDirection
Definition: APIEnums.h:181
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7