AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIRenderableElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIRenderableElement_H_
4 #define _APIRenderableElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIPropertiesElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class ReferencePlane;
13  class SnapTargetCollector;
14  class SceneNode;
23  : public PropertiesElement
24  {
26  public:
31  void SetVisible(bool _Visible);
36  bool GetVisible() const;
37 
42  void SetStandalone(bool _Standalone);
47  bool GetStandalone() const;
48 
53  void SetStyleId(const ElementId& _StyleId);
58  ElementId GetStyleId() const;
59 
64  bool IsVisible () const;
69  virtual SceneNode GetSceneNode () const;
70  };//RenderableElement;
71 }}//API
72 
73 #endif //_APIRenderableElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The element that can hold geometry.
Definition: APIRenderableElement.h:22
Support user defined parameters and script.
Definition: APIPropertiesElement.h:23
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33