Open PaperOpt
OpenPaperOpt/ScatteringParameters.h
Go to the documentation of this file.
00001 #pragma once
00002 #ifndef SCATTERINGPARAMETERS_H
00003 #define SCATTERINGPARAMETERS_H
00004 
00005 #include <vector>
00006 #include <complex>
00007 
00008 #include "StructureObject.h"
00009 using namespace std;
00010 
00011 
00012 class ScatteringParameters
00013 {
00014 public:
00026         ScatteringParameters(vector<float>& rLambda, vector<double>& lambda, vector<complex_LC>& refr_index,
00027                 vector<double>& QScat, vector<double>& QAbs, vector<double>&g, vector<double>& QAbsFluo, bool isdefAbsFluo);            
00028 
00029         vector<double> mLambda;
00030         vector<complex_LC> mRefr_index;
00031         vector<double> mQScat;
00032         vector<double> mQAbs;
00033         vector<double> mg;
00034         vector<double> mQAbsFluo;
00035 private:
00036         double Interp(double X1, double X2, double Y1, double Y2, double X);
00037 };
00038 
00039 class reflectanceParameters
00040 {
00041 public:
00050         reflectanceParameters(vector<float>& rLambda, vector<double>& lambda, vector<float>& reflectance);              
00051 
00052         vector<double> mLambda;
00053         vector<double> mReflectance;
00054 private:
00055         double Interp(double X1, double X2, double Y1, double Y2, double X);
00056 };
00057 
00058 #endif