Files
envi-code/SourceCode/Code2026/ThunderProof/TViewPortThunders.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

36 lines
739 B
C++

#ifndef _TVIEWPORTTHUNDERS_H__
#define _TVIEWPORTTHUNDERS_H__
#if _MSC_VER > 1000
#pragma once
#endif
#include "DrawThunder2D.h"
class TViewPortThunders
{
public:
TViewPortThunders(CDrawThunderTools* pDraw);
virtual ~TViewPortThunders();
typedef std::map<CString,AcDbObjectIdArray> MapThunder;
typedef std::map<CString,AcDbObjectIdArray> MapThunderLine;
public:
void PartitionGroup(PickSet& ssEnt, MapThunder& mapID, MapThunderLine& mapLine);
AcDbObjectId GetIDFromEntity(Entity& ent);
void View3dThunders(MapThunder& mapID, MapThunderLine& mapLine);
BOOL HasExist(const AcDbObjectId& id, const AcDbObjectIdArray& arID);
private:
CDrawThunderTools *m_pDrawTool;
};
#endif // !defined(_TVIEWPORTTHUNDERS_H__)