00001 00002 00008 /* 00009 * 00010 */ 00012 00013 #ifndef __SSF_ORBIT_FRAME_NTW_H__ 00014 #define __SSF_ORBIT_FRAME_NTW_H__ 00015 #include "OrbitFrame.h" 00016 00025 class OrbitFrameNTW : public OrbitFrame 00026 { 00033 OrbitFrameNTW(const double &_LongAscNode, const double &_Inclination, const double &_ArgPerigee, const double &_ArgLatitude); 00034 00036 virtual ~OrbitFrameNTW(); 00037 00042 Rotation GetRotation2IJK() const; 00043 00048 Rotation GetRotationFromIJK() const; 00049 00050 OrbitFrameNTW* NewPointer(); 00051 OrbitFrameNTW* Clone(); 00052 protected: 00053 00054 private: 00055 00056 }; 00057 inline OrbitFrameNTW::OrbitFrameNTW(const double &_LongAscNode, const double &_Inclination, const double &_ArgPerigee, const double &_ArgLatitude): OrbitFrame(R3(-_LongAscNode)*R1(-_Inclination)*R3(-_ArgPerigee)*R3(-_ArgLatitude)) {}; 00058 inline OrbitFrameNTW::~OrbitFrameNTW() {}; 00059 00060 inline Rotation OrbitFrameNTW::GetRotation2IJK() const {return m_Transformation2IJK;}; 00061 inline Rotation OrbitFrameNTW::GetRotationFromIJK() const {return ~m_Transformation2IJK;}; 00062 inline OrbitFrameNTW* OrbitFrameNTW::NewPointer() { return new OrbitFrameNTW(); } 00063 inline OrbitFrameNTW* OrbitFrameNTW::Clone() { return new OrbitFrameNTW(*this); } 00064 #endif 00065 00066 // Do not change the comments below - they will be added automatically by CVS 00067 /***************************************************************************** 00068 * $Log: OrbitFrameNTW.h,v $ 00069 * Revision 1.6 2003/04/29 20:17:39 nilspace 00070 * Added NewPointer() and Clone() functions. 00071 * 00072 * Revision 1.5 2003/04/29 18:45:35 nilspace 00073 * Moved all function definitions out of class interface definition. 00074 * 00075 * Revision 1.4 2003/04/24 20:05:55 nilspace 00076 * Made GetRotation functions const. 00077 * 00078 * Revision 1.3 2003/04/23 16:26:06 nilspace 00079 * Updated directory structure & default parameters. 00080 * 00081 * Revision 1.2 2003/04/22 17:37:25 nilspace 00082 * Added reference frames. 00083 * 00084 * Revision 1.1 2003/04/08 22:48:04 nilspace 00085 * Initial Submission. 00086 * 00087 * 00088 ******************************************************************************/