AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIArrowWidget.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIArrowWidget_H_
4 #define _APIArrowWidget_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIGroupSceneNode.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public GroupSceneNode
21  {
23  public:
28  Vector3 GetDirection () const;
33  void SetDirection (const Vector3& dir) ;
38  Vector3 GetPosition () const;
43  void SetPosition (const Vector3& pos) ;
48  Vector3 GetScale () const;
53  void SetScale (const Vector3& scale) ;
59  void SetTransform (const Vector3& pos, const Vector3& rotate) ;
66  void SetTransform (const Vector3& position, const Vector3& direction, const Vector3& scale) ;
67  };//ArrowWidget;
68 }}//API
69 
70 #endif //_APIArrowWidget_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Point or vector.
Definition: APIMath.h:37
The arrow widget.
Definition: APIArrowWidget.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
节点组。
Definition: APIGroupSceneNode.h:22