VR-Link API Documentation for HLA 1.3
vlTaitBryan.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef vlTaitBryan_H_
7 #define vlTaitBryan_H_
8 
12 
13 #include <vlutil/vlMachineTypes.h>
14 #include "vlVector.h"
15 #include <iosfwd>
16 
17 #ifdef DtUSE_UTILITIES_NAMESPACE
18 namespace DtUSE_UTILITIES_NAMESPACE
19 {
20 #endif
21 
22 class DtQuaternion;
23 
43 {
44 public:
45 
47  DtTaitBryan();
48 
50  DtTaitBryan(double psi, double theta, double phi);
51 
53  DtTaitBryan(const DtTaitBryan &tait);
54 
58  DtTaitBryan(const DtQuaternion &quat);
59 
61  DtTaitBryan &operator=(const DtTaitBryan &tait);
62 
66  int operator==(const DtTaitBryan& other) const;
67 
71  int operator!=(const DtTaitBryan& other) const;
72 
74  DtString string() const;
75  void printDataToStream(std::ostream &str) const;
76 
80  DtFloat64 psi() const;
81  void setPsi(DtFloat64 psi);
83 
86  DtFloat64 theta() const;
87  void setTheta(DtFloat64 theta);
89 
92  DtFloat64 phi() const;
93  void setPhi(DtFloat64 phi);
95 
96 
97 protected:
98 
102 };
103 
104 typedef double DtEParm[4];
105 
111 DT_DLL_MATRIX void DtEuler_to_BodyToRef(const DtTaitBryan &euler, DtDcm& body2ref);
113 DT_DLL_MATRIX void DtEuler_to_RefToBody(const DtTaitBryan &euler, DtDcm& ref2body);
115 
121 DT_DLL_MATRIX void DtBodyToRef_to_Euler(const DtDcm& body2ref, DtTaitBryan *euler);
123 DT_DLL_MATRIX void DtRefToBody_to_Euler(const DtDcm& ref2body, DtTaitBryan *euler);
125 
131  const DtDcm& in2out,
132  DtTaitBryan *out);
133 
135 DT_DLL_MATRIX std::ostream & operator << (std::ostream &str, const DtTaitBryan &sr);
136 
138 #define vlTaitBryan_inl
139 #include "vlTaitBryan.inl"
140 #undef vlTaitBryan_inl
141 
142 #ifdef DtUSE_UTILITIES_NAMESPACE
143 }
144 #endif
145 
146 #endif
147 
148 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)