AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGridNode.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGridNode_H_
4 #define _APIGridNode_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIGroupSceneNode.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public GroupSceneNode
21  {
23  public:
29  void SetCellCount (int cx, int cy) ;
34  Vector2 GetCellCount () const;
39  void SetCellSize (const Vector2& cellSize) ;
44  Vector2 GetCellSize () const;
50  void SetSubCellCount (int cx, int cy) ;
55  Vector2 GetSubCellSize () const;
60  Vector2 GetSubCellCount () const;
65  virtual void SetCellColor (const ColorValue& clr) ;
70  ColorValue GetCellColor () const;
75  virtual void SetSubCellColor (const ColorValue& clr) ;
80  ColorValue GetSubCellColor () const;
84  virtual void Update () ;
85  };//GridNode;
86 }}//API
87 
88 #endif //_APIGridNode_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Point or vector.
Definition: APIMath.h:16
The Grid Node. -since R2015.
Definition: APIGridNode.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
节点组。
Definition: APIGroupSceneNode.h:22
Color Value.
Definition: APIMath.h:183