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