#pragma once #include #include #include "Stdafx.h" #include "Stdafx_M.h" #include "OCC/OCCLib/Geometry.h" using namespace std; class ProcessCal { public: ProcessCal(void); ~ProcessCal(void); public: //鍏抽棴杩涚▼ bool CloseProcess(int compID); //寮€鍚�杩涚▼ bool StartProcessCal(int compID, TopoDS_Shape shape, int flag); //寮€鍚�杩涙按鐐圭偣杩涚▼ bool StartProcessCal( int OldID, int ID, Point3D p, int flag); //寮€鍚�鏋侀檺闈欏€捐�掕繘绋� bool StartProcessCal( int ID, Point3D pD, Point3D pB, int flag); //鍏抽棴鎵€鏈夎繘绋� void CloseALLProcess(); //杩涚▼鏄�鍚﹀瓨鍦� bool IsExistProcess(int id); //鍋滄�㈡墍鏈夎繘姘寸偣杩涚▼ void CloseAllInletPoint(); //鍋滄�㈡墍鏈夋瀬闄愰潤鍊捐�掕繘绋� void CloseAllLimitAng(); //鑾峰彇鎵€鏈夎繘姘寸偣id vector GetAllInletPointIDsFromMap(); //鑾峰彇鎵€鏈夋瀬闄愰潤鍊捐�抜d vector GetAllLimitAngIDsFromMap(); //鑾峰彇鎵€鏈夎繘姘寸偣id vector GetAllInletPointIDsFromXmlFile(); //鑾峰彇鎵€鏈夋瀬闄愰潤鍊捐�抜d vector GetAllLimitAngIDsFromXmlFile(); //鍐檅rep鏂囦欢 bool WriteBrep(int compID, int flag ,TopoDS_Shape shape); //鍐欒繘姘寸偣鐐规枃浠� bool WriteInletPointBrep( int OldID, int ID ,Point3D p ); //鍐欐瀬闄愰潤鍊捐�掓枃浠� bool WriteLimitAngBrep( int ID ,Point3D pD, Point3D pB); //鍒涘缓杩涚▼ bool CreateProcessCal(int compID, int flag); //寮€鍚�鎵€鏈夎繘绋� void StartAllProcess(vector id); public: //杩涚▼闆嗗悎 //map mapProcess; //鏂囦欢璺�寰� string currentPath; };