55 lines
1.7 KiB
C++
55 lines
1.7 KiB
C++
#pragma once
|
||
#include <string>
|
||
#include <map>
|
||
#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);
|
||
//寮€鍚<E282AC>杩涚▼
|
||
bool StartProcessCal(int compID, TopoDS_Shape shape, int flag);
|
||
//寮€鍚<E282AC>杩涙按鐐圭偣杩涚▼
|
||
bool StartProcessCal( int OldID, int ID, Point3D p, int flag);
|
||
//寮€鍚<E282AC>鏋侀檺闈欏€捐<E282AC>掕繘绋<E7B998>
|
||
bool StartProcessCal( int ID, Point3D pD, Point3D pB, int flag);
|
||
//鍏抽棴鎵€鏈夎繘绋<E7B998>
|
||
void CloseALLProcess();
|
||
//杩涚▼鏄<E296BC>鍚﹀瓨鍦<E793A8>
|
||
bool IsExistProcess(int id);
|
||
//鍋滄<E98D8B>㈡墍鏈夎繘姘寸偣杩涚▼
|
||
void CloseAllInletPoint();
|
||
//鍋滄<E98D8B>㈡墍鏈夋瀬闄愰潤鍊捐<E98D8A>掕繘绋<E7B998>
|
||
void CloseAllLimitAng();
|
||
//鑾峰彇鎵€鏈夎繘姘寸偣id
|
||
vector<int> GetAllInletPointIDsFromMap();
|
||
//鑾峰彇鎵€鏈夋瀬闄愰潤鍊捐<E98D8A>抜d
|
||
vector<int> GetAllLimitAngIDsFromMap();
|
||
//鑾峰彇鎵€鏈夎繘姘寸偣id
|
||
vector<int> GetAllInletPointIDsFromXmlFile();
|
||
//鑾峰彇鎵€鏈夋瀬闄愰潤鍊捐<E98D8A>抜d
|
||
vector<int> GetAllLimitAngIDsFromXmlFile();
|
||
//鍐檅rep鏂囦欢
|
||
bool WriteBrep(int compID, int flag ,TopoDS_Shape shape);
|
||
//鍐欒繘姘寸偣鐐规枃浠<E69E83>
|
||
bool WriteInletPointBrep( int OldID, int ID ,Point3D p );
|
||
//鍐欐瀬闄愰潤鍊捐<E98D8A>掓枃浠<E69E83>
|
||
bool WriteLimitAngBrep( int ID ,Point3D pD, Point3D pB);
|
||
//鍒涘缓杩涚▼
|
||
bool CreateProcessCal(int compID, int flag);
|
||
//寮€鍚<E282AC>鎵€鏈夎繘绋<E7B998>
|
||
void StartAllProcess(vector<int> id);
|
||
public:
|
||
//杩涚▼闆嗗悎
|
||
//map<int,PROCESS_INFORMATION> mapProcess;
|
||
//鏂囦欢璺<E6ACA2>寰<EFBFBD>
|
||
string currentPath;
|
||
};
|
||
|