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: InstrTransId.h,v 1.14 2013-09-18 07:44:05 expcfi Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _INSTRTRANSID_H 00010 #define _INSTRTRANSID_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 InstrTransId: public CfiId 00033 { 00034 friend class Attitude; 00035 friend class Swath; 00036 friend class PointingFunc; // AN-469 00037 00038 public: 00039 00041 InstrTransId(); 00042 00044 ~InstrTransId() throw (CfiError); 00045 00047 void init( const double angle[3], const double offsets[3] ) throw (CfiError); 00048 00050 void init( const double matrix[3][3], const double offsets[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, 00056 double offsets[3] ) throw (CfiError); 00057 00059 void init( const TimeCorrelation &timeId, const vector<string> &files, 00060 long timeInitMode, long timeRef, double time0, double time1 ) throw (CfiError); 00061 00063 MatrixModel getMatrix() const throw (CfiError); 00064 00066 void setMatrix( const MatrixModel &matrixModel ) throw (CfiError); 00067 00069 AngleModel getAngles() const throw (CfiError); 00070 00072 void setAngles( const AngleModel &angleModel ) throw (CfiError); 00073 00075 HarmonicModel getHarmonic() const throw (CfiError); 00076 00078 void setHarmonic( const HarmonicModel &harmModel ) throw (CfiError); 00079 00081 AttFileModel getFile() const throw (CfiError); 00082 00084 void setFile( const AttFileModel &fileModel ) throw (CfiError); 00085 00087 void getOffset( double offset[3] ) const throw (CfiError); 00088 00090 void setOffset( const double offset[3] ) throw (CfiError); 00091 00093 void setAzElDefinition( const AzElDefinition &azElDef ) throw (CfiError); 00094 00096 SatId satId() const; 00097 00098 protected: 00099 00101 GenericId* getId(); // this is the xo_orbit_id variable 00102 00104 void eraseObject() throw (CfiError); 00105 00106 private: 00107 00108 TimeCorrelation timeId; 00109 }; 00110 00111 } // closing namespace 00112 00113 #endif