AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APISceneNode.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APISceneNode_H_
4 #define _APISceneNode_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIObject.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class FaceStyle;
13  class LineStyle;
14  class PointStyle;
23  : public Object
24  {
26  public:
31  ElementId GetId () const;
37  void SetId (const ElementId& nId) ;
42  String GetName () const;
48  void SetName (const String& name) ;
54  void SetVisible (bool bVisible) ;
59  bool IsVisible () const;
64  bool IsPickable () const;
70  void SetPickable (bool enabled) ;
75  bool IsFilterable () const;
81  void SetFilterable (bool enabled) ;
86  bool IsFixedSize () const;
92  void SetFixedSize (bool enabled) ;
98  void SetBBox (const AABox& bbox) ;
103  AABox GetBBox () const;
108  void SetTransform (const Matrix4& trf) ;
113  Matrix4 GetTransform () const;
119  void SetPointStyle (const PointStyle& pointStyle) ;
124  PointStyle GetPointStyle () const;
130  void SetLineStyle (const LineStyle& lineStyle) ;
135  LineStyle GetLineStyle () const;
141  void SetFaceStyle (const FaceStyle& faceStyle) ;
146  FaceStyle GetFaceStyle () const;
151  void SetRenderOrder (int order) ;
156  int GetRenderOrder () const;
161  virtual void ResetShapeFilter (int nFilter) ;
162  };//SceneNode;
163 }}//API
164 
165 #endif //_APISceneNode_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
AABox.
Definition: APIMath.h:281
Matrix4.
Definition: APIMath.h:248
std::string String
Definition: APIString.h:10
The face style.
Definition: APIFaceStyle.h:21
The line/edge style.
Definition: APILineStyle.h:19
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
平台基类
Definition: APIObject.h:17
The point style.
Definition: APIPointStyle.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33