Earth Observation Mission CFI Software Pointing Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.11 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: SatNomTransId.h,v 1.16 2014-02-20 20:02:34 cavm Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _SATNOMTRANSID_H 00010 #define _SATNOMTRANSID_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include <vector> 00014 #include <string> 00015 00016 #include "DataHandlingData.h" 00017 #include "PointingData.h" 00018 #include "CfiError.h" 00019 #include "CfiId.h" 00020 #include "TimeCorrelation.h" 00021 #include "SatId.h" 00022 00023 //--NAMESPACES-------------------------------------------------------- 00024 using namespace std; 00025 00026 namespace EECFI 00027 { 00028 00032 class XP_DECL SatNomTransId: public CfiId 00033 { 00034 friend class Attitude; 00035 friend class Swath; 00036 friend class PointingFunc; // AN-469 00037 friend class SwathId; // AN-505 00038 friend class AttitudeDef; // AN-526 00039 00040 public: 00041 00043 SatNomTransId(); 00044 00046 ~SatNomTransId() throw (CfiError); 00047 00049 void init( long aocsModel ) throw (CfiError); 00050 00052 void init( long model, const vector<double> &modelParams ) throw (CfiError); 00053 00055 void init( long angleType, const vector<long> &harmTypePitch, const vector<long> &harmTypeRoll, 00056 const vector<long> &harmTypeYaw, const vector<double> &harmCoeffPitch, 00057 const vector<double> &harmCoeffRoll, const vector<double> &harmCoeffYaw) throw (CfiError); 00058 00060 void init( const TimeCorrelation &timeId, const vector<string> &files, 00061 long timeInitMode, long timeRef, double time0, double time1 ) throw (CfiError); 00062 00064 long getAOCS() const throw (CfiError); 00065 00067 void setAOCS( long aocsModel ) throw (CfiError); 00068 00070 ParamModel getParam() const throw (CfiError); 00071 00073 void setParam( const ParamModel ¶mModel ) throw (CfiError); 00074 00076 HarmonicModel getHarmonic() const throw (CfiError); 00077 00079 void setHarmonic( const HarmonicModel &harmModel ) throw (CfiError); 00080 00082 AttFileModel getFile() const throw (CfiError); 00083 00085 void setFile( const AttFileModel &fileModel ) throw (CfiError); 00086 00088 void setAzElDefinition( const AzElDefinition &azElDef ) throw (CfiError); 00089 00091 SatId satId() const; 00092 00093 protected: 00094 00096 GenericId* getId(); 00097 00099 void eraseObject() throw (CfiError); 00100 00101 private: 00102 00103 TimeCorrelation timeId; 00104 }; 00105 00106 } // closing namespace 00107 00108 #endif