00001 /*************************************************************************** 00002 seqgrad.h - description 00003 ------------------- 00004 begin : Wed Aug 8 2001 00005 copyright : (C) 2001 by Thies H. Jochimsen 00006 email : jochimse@cns.mpg.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef SEQGRAD_H 00019 #define SEQGRAD_H 00020 00021 #include <odinseq/seqclass.h> 00022 00023 00024 class RotMatrix; // forward declaration 00025 00035 class SeqGradInterface : public virtual SeqClass { 00036 00037 public: 00038 00042 virtual SeqGradInterface& set_strength(float gradstrength) = 0; 00043 00047 virtual SeqGradInterface& invert_strength() = 0; 00048 00052 virtual float get_strength() const = 0; 00053 00057 virtual fvector get_gradintegral() const = 0; 00058 00062 float get_gradintegral_norm() const; 00063 00064 00070 virtual double get_gradduration() const = 0; 00071 00077 virtual SeqGradInterface& set_gradrotmatrix(const RotMatrix& matrix) = 0; 00078 00079 00080 protected: 00081 00082 SeqGradInterface() {} 00083 virtual ~SeqGradInterface() {} 00084 00085 }; 00086 00087 00092 #endif
1.5.6