AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APITopoShapeReaderContext.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APITopoShapeReaderContext_H_
4 #define _APITopoShapeReaderContext_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
19  {
21  public:
26  virtual void OnSetFaceColor (const ColorValue& clr) ;
31  virtual void OnSetEdgeColor (const ColorValue& clr) ;
36  virtual void OnBeginGroup (const String& name) ;
40  virtual void OnEndGroup () ;
46  virtual bool OnBeiginComplexShape (const TopoShape& shape) ;
50  virtual void OnEndComplexShape () ;
55  virtual void OnFace (const TopoShape& shape) ;
60  virtual void OnWire (const TopoShape& shape) ;
65  virtual void OnEdge (const TopoShape& shape) ;
70  virtual void OnPoint (const TopoShape& shape) ;
71  };//TopoShapeReaderContext;
72 }}//API
73 
74 #endif //_APITopoShapeReaderContext_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The reader context to collect TopoShape. -since R2014UR1.
Definition: APITopoShapeReaderContext.h:18
std::string String
Definition: APIString.h:10
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
Color Value.
Definition: APIMath.h:183