Earth Observation Mission CFI Software Pointing Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.4 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: SatTransId.h,v 1.11 2012/06/20 16:11:30 expcfi Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _SATTRANSID_H 00010 #define _SATTRANSID_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 "AttRec.h" 00022 #include "SatId.h" 00023 00024 //--NAMESPACES-------------------------------------------------------- 00025 using namespace std; 00026 00027 namespace EECFI 00028 { 00029 00033 class SatTransId: public CfiId 00034 { 00035 friend class Attitude; 00036 friend class Swath; 00037 00038 public: 00039 00041 SatTransId(); 00042 00044 ~SatTransId() throw (CfiError); 00045 00047 void init( const double angle[3] ) throw (CfiError); 00048 00050 void init( const double matrix[3][3] ) throw (CfiError); 00051 00053 void init( long angleType, const vector<long> &harmTypePitch, const vector<long> &harmTypeRoll, 00054 const vector<long> &harmTypeYaw, const vector<double> &harmCoeffPitch, 00055 const vector<double> &harmCoeffRoll, const vector<double> &harmCoeffYaw) throw (CfiError); 00056 00058 void init( long inertialFrame, const vector<AttRec> &quaternions, double matrix[3][3] ) throw (CfiError); 00059 00061 void init( long inertialFrame, const vector<AttRec> &quaternions, double angles[3] ) throw (CfiError); 00062 00064 void init( const TimeCorrelation &timeId, const vector<string> &files, 00065 string &auxiliaryFile, long timeInitMode, long timeRef, 00066 double time0, double time1 ) throw (CfiError); 00067 00069 MatrixModel getMatrix() const throw (CfiError); 00070 00072 void setMatrix( const MatrixModel &matrixModel ) throw (CfiError); 00073 00075 AngleModel getAngles() const throw (CfiError); 00076 00078 void setAngles( const AngleModel &angleModel ) throw (CfiError); 00079 00081 HarmonicModel getHarmonic() const throw (CfiError); 00082 00084 void setHarmonic( const HarmonicModel &harmModel ) throw (CfiError); 00085 00087 SatAttFileModel getFile() const throw (CfiError); 00088 00090 void setFile( const SatAttFileModel &fileModel ) throw (CfiError); 00091 00093 QuatPlusMatrixModel getQuatPlusMatrix() const throw (CfiError); 00094 00096 void setQuatPlusMatrix( const QuatPlusMatrixModel &quatPlusMatrixModel ) throw (CfiError); 00097 00099 QuatPlusAnglesModel getQuatPlusAngles() const throw (CfiError); 00100 00102 void setQuatPlusAngles( const QuatPlusAnglesModel &quatPlusAnglesModel ) throw (CfiError); 00103 00105 void setAzElDefinition( const AzElDefinition &azElDef ) throw (CfiError); 00106 00108 SatId satId() const; 00109 00110 protected: 00111 00113 GenericId* getId(); 00114 00116 void eraseObject() throw (CfiError); 00117 00118 private: 00119 00120 TimeCorrelation timeId; 00121 }; 00122 00123 } // closing namespace 00124 00125 #endif