ODIN
seqgradchanlist.h
1 /***************************************************************************
2  seqgradchanlist.h - description
3  -------------------
4  begin : Thu Apr 22 2004
5  copyright : (C) 2000-2021 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SEQGRADCHANLIST_H
19 #define SEQGRADCHANLIST_H
20 
21 
22 #include <odinseq/seqgradchan.h>
23 
33 class SeqGradChanList : public List<SeqGradChan,SeqGradChan*, SeqGradChan&>, public Handled<SeqGradChanList*>, public virtual SeqGradInterface, public virtual SeqTreeObj {
34 
35  public:
36 
40  SeqGradChanList(const STD_string& object_label = "unnamedSeqGradChanList" );
41 
46 
51 
52 
57 
58 
59  // overloading virtual function from SeqTreeObj
60  double get_duration() const;
61  STD_string get_properties() const;
62  unsigned int event(eventContext& context) const;
63  void query(queryContext& context) const;
64 
65  // overloading virtual function from SeqGradInterface
66  SeqGradInterface& set_strength(float gradstrength);
68  float get_strength() const;
70  double get_gradduration() const;
72 
73 
78 
83 
88 
89 
90  fvector get_switchpoints() const;
91  SeqGradChanList& get_chanlist4gp(const fvector& switchpoints);
92 
93  private:
94 
95  friend class SeqGradChanParallel;
96 
97  // overloading virtual function from SeqClass
98  void clear_container();
99 
100 
101 
102  SeqGradChan* get_chan(double& chanstart, double midtime);
103 
104 };
105 
106 
110 #endif
Definition: tjlist.h:105
Rotation Matrix.
Definition: geometry.h:67
float get_strength() const
SeqGradChanList & operator+=(SeqGradChanList &sgcl)
STD_string get_properties() const
SeqGradInterface & set_strength(float gradstrength)
double get_gradduration() const
fvector get_gradintegral() const
direction get_channel() const
SeqGradInterface & invert_strength()
SeqGradChanList(const STD_string &object_label="unnamedSeqGradChanList")
void query(queryContext &context) const
double get_duration() const
SeqGradInterface & set_gradrotmatrix(const RotMatrix &matrix)
SeqGradChanList & operator=(const SeqGradChanList &sgcl)
unsigned int event(eventContext &context) const
SeqGradChanList(const SeqGradChanList &sgcl)
direction
Definition: odinpara.h:41