AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APILayerElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APILayerElement_H_
4 #define _APILayerElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIGroupElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public GroupElement
21  {
23  public:
28  void SetPropertyScriptId(const ElementId& _PropertyScriptId);
33  ElementId GetPropertyScriptId() const;
34 
39  void SetTimerScriptId(const ElementId& _TimerScriptId);
44  ElementId GetTimerScriptId() const;
45 
50  void SetEyePosition(const Vector3& _EyePosition);
55  Vector3 GetEyePosition() const;
56 
61  void SetLookAtPosition(const Vector3& _LookAtPosition);
66  Vector3 GetLookAtPosition() const;
67 
72  void SetElevation(Real _Elevation);
77  Real GetElevation() const;
78 
79  };//LayerElement;
80 }}//API
81 
82 #endif //_APILayerElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The element that can store a group of the Element.
Definition: APILayerElement.h:19
The element that can store a group of the Element.
Definition: APIGroupElement.h:20
The id.
Definition: APIElementId.h:16
Point or vector.
Definition: APIMath.h:37
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7