43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
#ifndef _DRAWTHUNDER2D_H__
|
|
#define _DRAWTHUNDER2D_H__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "DrawThunder3D.h"
|
|
#include "CaculateResult.h"
|
|
class CDrawThunderTools
|
|
{
|
|
public:
|
|
|
|
CDrawThunderTools();
|
|
virtual ~CDrawThunderTools();
|
|
|
|
public:
|
|
|
|
void DrawThunder2DArea(const AcGeDoubleArray arHeight, LPCTSTR pszGroupNo = NULL);
|
|
|
|
void DrawThunder2DArea(LPCTSTR pszGroupNo, const AcDbObjectIdArray& arID);
|
|
|
|
void ShowLayer(LPCTSTR lpLayerName,BOOL bShow);
|
|
// 修改2d层
|
|
void Set2dLayer(const CString& strLayer2d);
|
|
// 修改3d层
|
|
void Set3dLayer(const CString& strLayer3d);
|
|
//得到当前计算结果
|
|
int GetNowCaculateResult(lstCltResult& arResult);
|
|
|
|
BOOL CalcThunderData(LPCTSTR pszGNo, const AcGeDoubleArray& arProHeight, const AcDbObjectIdArray& arThund, lstCltResult& lstData);
|
|
|
|
void DrawThunderLine(LPCTSTR pszGroupNo, const AcGeDoubleArray& arHeight);
|
|
|
|
void DrawThunderLine(LPCTSTR pszGroupNo, const AcDbObjectIdArray& arID);
|
|
|
|
private:
|
|
|
|
TGDrawThunder m_drawTools;
|
|
};
|
|
|
|
#endif // !defined(AFX_DRAWTHUNDER2D_H__2DFF89C1_796E_4626_84F7_91BF3652D1A0__INCLUDED_)
|