00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include <Alloc.hh>
00024 #include <dsp/DSPOp.hh>
00025
00026 #include "Config.h"
00027
00028
00029 #ifndef LOCATESENSOR_HH
00030 #define LOCATESENSOR_HH
00031
00032
00036 class clLocateSensor
00037 {
00038 bool bInitialized;
00039 bool b3D;
00040 long lWidth;
00041 long lHeight;
00042 long lPosX;
00043 long lPosY;
00044 GDT fPI;
00045 GDT fHalfPI;
00046 GDT fAzimuth;
00047 GDT *fpLocMatrix;
00048 clAlloc LocMatrix;
00049 clDSPOp DSP;
00050 void Clear ();
00051 void SetValue (long, long, GDT);
00052 void SetDirection (GDT, GDT, GDT);
00053 public:
00054 clLocateSensor ();
00055 ~clLocateSensor ();
00067 bool Initialize (long, long, long, long, GDT, bool);
00071 void Uninitialize ();
00092 void SetDirectionValues (const GDT *, const GDT *, long,
00093 long, long, GDT);
00099 GDT *GetResultMatrix () { return fpLocMatrix; }
00100 };
00101
00102 #endif
00103