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.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: SurfaceLGS.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of SurfaceLGS.h
//----------------------------------------------------------------------------
// SurfaceLGS.h: interface for the CSurfaceLGS class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __SURFACE__LGS__H__INCLUDED__
#define __SURFACE__LGS__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include "..\..\LgLib\MFC\MemoryDC.h"
class CBorderLGS;class CHiddenZone;class CHiddenZoneList;class CDoplerHiddenZoneList;
class CSurfaceLGS : public CLgMemoryDC{public: CSurfaceLGS(); virtual ~CSurfaceLGS();
public: virtual void Create( int cx, int cy, COLORREF color = RGB(0,0,0) ); void SetBorderLGS( CBorderLGS *pBorderLGS ); void SetHiddenZoneList( CHiddenZoneList *pHiddenZoneList ); void SetDoplerHiddenZoneList( CDoplerHiddenZoneList *pHiddenZoneList ); void SetCommonZero( double dCommonZero ); void SetRange( double dRange );
public:// void DrawSynchron( double angle, BOOL bTimeOut = FALSE );
void DrawTarget( double angle, double range, COLORREF color ); void DrawDoplerTarget( double angle, double range, COLORREF color );
private: double m_dRange; double m_dScale; double m_dDR; CBorderLGS *m_pBorderLGS; CHiddenZoneList *m_pHiddenZoneList; CDoplerHiddenZoneList *m_pDoplerHiddenZoneList; double m_dCommonZero;};
#endif
|