Earth Observation Mission CFI Software Pointing Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.6 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: SatTransId.h,v 1.14 2013-09-18 07:44:05 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 friend class PointingFunc; // AN-469 00038 00039 public: 00040 00042 SatTransId(); 00043 00045 ~SatTransId() throw (CfiError); 00046 00048 void init( const double angle[3] ) throw (CfiError); 00049 00051 void init( const double matrix[3][3] ) throw (CfiError); 00052 00054 void init( long angleType, const vector<long> &harmTypePitch, const vector<long> &harmTypeRoll, 00055 const vector<long> &harmTypeYaw, const vector<double> &harmCoeffPitch, 00056 const vector<double> &harmCoeffRoll, const vector<double> &harmCoeffYaw) throw (CfiError); 00057 00059 void init( long inertialFrame, const vector<AttRec> &quaternions, double matrix[3][3] ) throw (CfiError); 00060 00062 void init( long inertialFrame, const vector<AttRec> &quaternions, double angles[3] ) throw (CfiError); 00063 00065 void init( const TimeCorrelation &timeId, const vector<string> &files, 00066 string &auxiliaryFile, long timeInitMode, long timeRef, 00067 double time0, double time1 ) throw (CfiError); 00068 00070 MatrixModel getMatrix() const throw (CfiError); 00071 00073 void setMatrix( const MatrixModel &matrixModel ) throw (CfiError); 00074 00076 AngleModel getAngles() const throw (CfiError); 00077 00079 void setAngles( const AngleModel &angleModel ) throw (CfiError); 00080 00082 HarmonicModel getHarmonic() const throw (CfiError); 00083 00085 void setHarmonic( const HarmonicModel &harmModel ) throw (CfiError); 00086 00088 SatAttFileModel getFile() const throw (CfiError); 00089 00091 void setFile( const SatAttFileModel &fileModel ) throw (CfiError); 00092 00094 QuatPlusMatrixModel getQuatPlusMatrix() const throw (CfiError); 00095 00097 void setQuatPlusMatrix( const QuatPlusMatrixModel &quatPlusMatrixModel ) throw (CfiError); 00098 00100 QuatPlusAnglesModel getQuatPlusAngles() const throw (CfiError); 00101 00103 void setQuatPlusAngles( const QuatPlusAnglesModel &quatPlusAnglesModel ) throw (CfiError); 00104 00106 void setAzElDefinition( const AzElDefinition &azElDef ) throw (CfiError); 00107 00109 SatId satId() const; 00110 00111 protected: 00112 00114 GenericId* getId(); 00115 00117 void eraseObject() throw (CfiError); 00118 00119 private: 00120 00121 TimeCorrelation timeId; 00122 }; 00123 00124 } // closing namespace 00125 00126 #endif