#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 MapThunder; typedef std::map 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__)