AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APISceneEnvironment.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APISceneEnvironment_H_
4 #define _APISceneEnvironment_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class Camera;
11  class WorkingPlane;
20  {
22  public:
27  ColorValue GetTopColor () const;
32  void SetTopColor (const ColorValue& clr) ;
37  ColorValue GetMiddleColor () const;
42  void SetMiddleColor (const ColorValue& clr) ;
47  ColorValue GetBottomColor () const;
52  void SetBottomColor (const ColorValue& clr) ;
57  void SetHighlightColor (const ColorValue& clr) ;
62  ColorValue GetHighlightColor () const;
67  void SetSelectedColor (const ColorValue& clr) ;
72  ColorValue GetSelectedColor () const;
77  void SetSelectedPointSize (Real ptSize) ;
82  Real GetSelectedPointSize () const;
87  void SetSelectedLineWidth (Real width) ;
92  Real GetSelectedLineWidth () const;
93  };//SceneEnvironment;
94 }}//API
95 
96 #endif //_APISceneEnvironment_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
场景的全局设置
Definition: APISceneEnvironment.h:19
Color Value.
Definition: APIMath.h:183
double Real
Definition: APIMath.h:7