Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.7 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: SurfaceLGS.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SurfaceLGS.h
  13. //----------------------------------------------------------------------------
  14. // SurfaceLGS.h: interface for the CSurfaceLGS class.
  15. //
  16. //////////////////////////////////////////////////////////////////////
  17. #ifndef __SURFACE__LGS__H__INCLUDED__
  18. #define __SURFACE__LGS__H__INCLUDED__
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif
  22. #include "..\..\LgLib\MFC\MemoryDC.h"
  23. class CBorderLGS;
  24. class CHiddenZone;
  25. class CHiddenZoneList;
  26. class CDoplerHiddenZoneList;
  27. class CSurfaceLGS : public CLgMemoryDC
  28. {
  29. public:
  30. CSurfaceLGS();
  31. virtual ~CSurfaceLGS();
  32. public:
  33. virtual void Create( int cx, int cy, COLORREF color = RGB(0,0,0) );
  34. void SetBorderLGS( CBorderLGS *pBorderLGS );
  35. void SetHiddenZoneList( CHiddenZoneList *pHiddenZoneList );
  36. void SetDoplerHiddenZoneList( CDoplerHiddenZoneList *pHiddenZoneList );
  37. void SetCommonZero( double dCommonZero );
  38. void SetRange( double dRange );
  39. public:
  40. // void DrawSynchron( double angle, BOOL bTimeOut = FALSE );
  41. void DrawTarget( double angle, double range, COLORREF color );
  42. void DrawDoplerTarget( double angle, double range, COLORREF color );
  43. private:
  44. double m_dRange;
  45. double m_dScale;
  46. double m_dDR;
  47. CBorderLGS *m_pBorderLGS;
  48. CHiddenZoneList *m_pHiddenZoneList;
  49. CDoplerHiddenZoneList *m_pDoplerHiddenZoneList;
  50. double m_dCommonZero;
  51. };
  52. #endif