/** * @file Dcm.hpp * * A direction cosine matrix class. * * @author James Goppert */ #pragma once #include #include #include namespace matrix { template class Quaternion; template class Dcm : public Matrix { public: virtual ~Dcm() {}; typedef Matrix Vector3; Dcm() : Matrix() { } Dcm(const Quaternion & q) { // TODO Dcm &c = *this; c(0, 0) = 0; c(0, 1) = 0; c(0, 2) = 0; c(1, 0) = 0; c(1, 1) = 0; c(1, 2) = 0; c(2, 0) = 0; c(2, 1) = 0; c(2, 2) = 0; } Dcm(const Euler & e) { // TODO Dcm &c = *this; c(0, 0) = 0; c(0, 1) = 0; c(0, 2) = 0; c(1, 0) = 0; c(1, 1) = 0; c(1, 2) = 0; c(2, 0) = 0; c(2, 1) = 0; c(2, 2) = 0; } }; typedef Dcm Dcmf; }; // namespace matrix