AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGridItemElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGridItemElement_H_
4 #define _APIGridItemElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIRenderableElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class GridLabelElement;
13  class TopoShape;
14  class SceneNode;
23  : public RenderableElement
24  {
26  public:
31  void SetGridSystemId(const ElementId& _GridSystemId);
36  ElementId GetGridSystemId() const;
37 
42  void SetItemDirection(const EnumAxesDirection& _ItemDirection);
47  EnumAxesDirection GetItemDirection() const;
48 
53  void SetItemIndexU(int _ItemIndexU);
58  int GetItemIndexU() const;
59 
64  void SetItemIndexV(int _ItemIndexV);
69  int GetItemIndexV() const;
70 
76  GridLabelElement AddLable (int position) ;
81  virtual SceneNode GetSceneNode () const;
82  };//GridItemElement;
83 }}//API
84 
85 #endif //_APIGridItemElement_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 grid item element.
Definition: APIGridItemElement.h:22
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33