NMPB08 shared libraries
RoadSurfaceDescription.h
Go to the documentation of this file.
00001 
00008 #ifndef ROADSURFACE_DESCRIPTION_H
00009 #define ROADSURFACE_DESCRIPTION_H
00010 
00011 #include <vector>
00012 #include <map>
00013 using namespace std;
00014 
00015 namespace RoadSurfaceDescriptionNMPB
00016 {
00020         class RoadSurfaceDescription
00021         {
00022                 public:
00026                         RoadSurfaceDescription(void);
00027 
00047                         RoadSurfaceDescription(double AVL, double BVL, double Vref_VL, double APL, double BPL, double Vref_PL, const double* spectrum, bool doNormalization);
00048 
00052                         double get_AVL()
00053                         {
00054                                 return _AVL;
00055                         }
00059                         double get_BVL()
00060                         {
00061                                 return _BVL;
00062                         }
00066                         double get_Vref_VL()
00067                         {
00068                                 return _Vref_VL;
00069                         }
00073                         double get_APL()
00074                         {
00075                                 return _APL;
00076                         }
00080                         double get_BPL()
00081                         {
00082                                 return _BPL;
00083                         }
00087                         double get_Vref_PL()
00088                         {
00089                                 return _Vref_PL;
00090                         }
00094                         map<int,double> get_spectralDistributionMap()
00095                         {
00096                                 return _spectralDistributionMap;
00097                         }
00098 
00099                 private:
00103                         double _AVL;
00107                         double _BVL;
00111                         double _Vref_VL;
00115                         double _APL;
00119                         double _BPL;
00123                         double _Vref_PL;
00124 
00128                         map<int,double> _spectralDistributionMap;
00129 
00133                         void SpectrumNormalization();
00134         };
00135 
00136 }
00137 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines