AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APISubGeomElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APISubGeomElement_H_
4 #define _APISubGeomElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIRenderableElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class TopoShape;
13  class EntitySceneNode;
14  class SceneNode;
23  : public RenderableElement
24  {
26  public:
31  void SetVisibleShapeType(int _VisibleShapeType);
36  int GetVisibleShapeType() const;
37 
42  void SetShapeIndex(int _ShapeIndex);
47  int GetShapeIndex() const;
48 
53  void SetShapeType(int _ShapeType);
58  int GetShapeType() const;
59 
64  void SetSourceGeometryId(const ElementId& _SourceGeometryId);
69  ElementId GetSourceGeometryId() const;
70 
75  TopoShape GetGeometry () const;
80  virtual SceneNode GetSceneNode () const;
81  };//SubGeomElement;
82 }}//API
83 
84 #endif //_APISubGeomElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The element that can hold geometry.
Definition: APIRenderableElement.h:22
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
拓扑对象
Definition: APITopoShape.h:18
The element that can hold geometry.
Definition: APISubGeomElement.h:22
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33