Debian Codegraph @

platforms/StandAlone/odinseq_standalone/seqgradchan_standalone.h

raw symbols SCIP
1 /***************************************************************************
2 seqgradchan_standalone.h - description
3 -------------------
4 begin : Fri Jul 23 2004
5 copyright : (C) 2000-2021 by Thies H. Jochimsen
6 email : [email protected]
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 SEQGRADCHAN_STANDALONE_H
19 #define SEQGRADCHAN_STANDALONE_Hcxx . . $ `platforms/StandAlone/odinseq_standalone/seqgradchan_standalone.h:19:9`!
20
21 #include <odinseq/seqgradchan.h>cxx . . $ `<file>/odinseq/seqgradchan.h`/
22 #include <odinseq/seqgradchanparallel.h>cxx . . $ `<file>/odinseq/seqgradchanparallel.h`/
23 #include "seqstandalone.h"cxx . . $ `<file>/platforms/StandAlone/odinseq_standalone/seqstandalone.h`/
24
25 //////////////////////////////////////////////////////////////////
26
27
28 struct SeqGradPlotCurvecxx . . $ SeqGradPlotCurve# {
29 SeqGradPlotCurvecxx . . $ SeqGradPlotCurve#SeqGradPlotCurve(49f6e7a06ebc5aa8).() {
30 for(int i=0; i<n_directionscxx . . $ n_directions.; i++) {
31 gradcxx . . $ SeqGradPlotCurve#grad.[i].channelcxx . . $ SeqPlotCurve#channel.=plotChannelcxx . . $ plotChannel#(Gread_plotchancxx . . $ Gread_plotchan.+i);
32 }
33 }
34 SeqPlotCurvecxx . . $ SeqPlotCurve# gradcxx . . $ SeqGradPlotCurve#grad.[n_directionscxx . . $ n_directions.];
35 };
36
37
38 /**
39 * @ingroup odinseq_internals
40 * The Standalone driver for gradient channel elements
41 */
42 class SeqGradChanStandAlonecxx . . $ SeqGradChanStandAlone# : public SeqGradChanDrivercxx . . $ SeqGradChanDriver#, public SeqStandAlonecxx . . $ SeqStandAlone# {
43
44 public:
45
46 SeqGradChanStandAlonecxx . . $ SeqGradChanStandAlone#SeqGradChanStandAlone(49f6e7a06ebc5aa8).();
47
48 SeqGradChanStandAlonecxx . . $ SeqGradChanStandAlone#SeqGradChanStandAlone(72962f83a35a82bd).(const SeqGradChanStandAlonecxx . . $ SeqGradChanStandAlone#& sgcs);
49
50 ~cxx . . $ SeqGradChanStandAlone#`~SeqGradChanStandAlone`(ced63f7c635d850d).SeqGradChanStandAlonecxx . . $ SeqGradChanStandAlone#();
51
52
53 // overloading virtual functions from SeqGradChanDriver
54 STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_const_programcxx . . $ SeqGradChanStandAlone#get_const_program(1ff6d6fa2aa15c17). (float strength, float matrixfactor) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
55 STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_onepoint_programcxx . . $ SeqGradChanStandAlone#get_onepoint_program(1ff6d6fa2aa15c17).(float strength, float matrixfactor) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
56 STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_delay_programcxx . . $ SeqGradChanStandAlone#get_delay_program(1ff6d6fa2aa15c17). (float strength, float matrixfactor) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
57 STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_wave_programcxx . . $ SeqGradChanStandAlone#get_wave_program(1ff6d6fa2aa15c17). (float strength, float matrixfactor) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
58 STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_trapez_programcxx . . $ SeqGradChanStandAlone#get_trapez_program(1ff6d6fa2aa15c17). (float strength, float matrixfactor) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
59 virtual STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_vector_programcxx . . $ SeqGradChanStandAlone#get_vector_program(d544804826fc990a). (float strength, float matrixfactor, int reordercount) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
60 svectorcxx . . $ svector# get_vector_commandscxx . . $ SeqGradChanStandAlone#get_vector_commands(84195da9b7fd990c).(const STD_stringcxx . . $ `tjutils/tjstd.h:144:9`!& iterator) const {return svectorcxx . . $ svector#svector(49f6e7a06ebc5aa8).();}
61 svectorcxx . . $ svector# get_reord_commandscxx . . $ SeqGradChanStandAlone#get_reord_commands(4e9ebb44b3c7c455).() const {return svectorcxx . . $ svector#svector(49f6e7a06ebc5aa8).();}
62 bool prep_constcxx . . $ SeqGradChanStandAlone#prep_const(6afd3a83b737c50e).(float strength, const fvectorcxx . . $ fvector#& strengthfactor, double gradduration);
63 bool prep_onepointcxx . . $ SeqGradChanStandAlone#prep_onepoint(6afd3a83b737c50e).(float strength, const fvectorcxx . . $ fvector#& strengthfactor, double gradduration);
64 bool prep_wavecxx . . $ SeqGradChanStandAlone#prep_wave(205df9b9ee9ea744).(float strength, const fvectorcxx . . $ fvector#& strengthfactor, double gradduration, const fvectorcxx . . $ fvector#& wave);
65 void update_wavecxx . . $ SeqGradChanStandAlone#update_wave(ebd80d31d9d07a9e).(const fvectorcxx . . $ fvector#& wave) {}
66 bool prep_vectorcxx . . $ SeqGradChanStandAlone#prep_vector(ed2e372dd678652c).(float strength, const fvectorcxx . . $ fvector#& strengthfactor, double gradduration, const fvectorcxx . . $ fvector#& gradvec, const iarraycxx . . $ iarray#& index_matrix, nestingRelationcxx . . $ nestingRelation# nr);
67 bool prep_vector_iterationcxx . . $ SeqGradChanStandAlone#prep_vector_iteration(dfa6e707f7696010).(unsigned int count);
68 bool prep_trapezcxx . . $ SeqGradChanStandAlone#prep_trapez(15a1489275694aca).(float strength, const fvectorcxx . . $ fvector#& strengthfactor, double ruptime, const fvectorcxx . . $ fvector#& rupshape, double consttime, double rdowntime, const fvectorcxx . . $ fvector#& rdownshape);
69 void eventcxx . . $ SeqGradChanStandAlone#event(70d07d5411367c53).(eventContextcxx . . $ eventContext#& context, double starttime) const;
70 float check_strengthcxx . . $ SeqGradChanStandAlone#check_strength(d2a77f88c0402a72).(float strength) const {return strength;}
71 SeqGradChanDrivercxx . . $ SeqGradChanDriver#* clone_drivercxx . . $ SeqGradChanStandAlone#clone_driver(951dbd7eabc264d4).() const {return new SeqGradChanStandAlonecxx . . $ SeqGradChanStandAlone#(*this);}
72
73 // overloading virtual functions from SeqDriverBase
74 odinPlatformcxx . . $ odinPlatform# get_driverplatformcxx . . $ SeqGradChanStandAlone#get_driverplatform(fb97baefed220f0e).() const {return standalonecxx . . $ standalone.;}
75
76 private:
77 void common_intcxx . . $ SeqGradChanStandAlone#common_int(49f6e7a06ebc5aa8).();
78 void common_prepcxx . . $ SeqGradChanStandAlone#common_prep(e38c37a193607945).(SeqGradPlotCurvecxx . . $ SeqGradPlotCurve#& gradcurve);
79
80 bool generate_constgradcxx . . $ SeqGradChanStandAlone#generate_constgrad(38c3ab79060159be).(SeqGradPlotCurvecxx . . $ SeqGradPlotCurve#& gradcurve, float strength, const fvectorcxx . . $ fvector#& strengthfactor, double gradduration);
81
82 SeqGradPlotCurvecxx . . $ SeqGradPlotCurve# curvecxx . . $ SeqGradChanStandAlone#curve.;
83
84 SeqGradPlotCurvecxx . . $ SeqGradPlotCurve#* veccurve_cachecxx . . $ SeqGradChanStandAlone#veccurve_cache.;
85 int current_veccxx . . $ SeqGradChanStandAlone#current_vec.;
86 };
87
88
89 //////////////////////////////////////////////////////////////////
90
91 /**
92 * @ingroup odinseq_internals
93 * The Standalone driver for parallel lists of gradient channel elements
94 */
95 class SeqGradChanParallelStandAlonecxx . . $ SeqGradChanParallelStandAlone# : public SeqGradChanParallelDrivercxx . . $ SeqGradChanParallelDriver# {
96
97 public:
98 SeqGradChanParallelStandAlonecxx . . $ SeqGradChanParallelStandAlone#SeqGradChanParallelStandAlone(49f6e7a06ebc5aa8).() {}
99
100 SeqGradChanParallelStandAlonecxx . . $ SeqGradChanParallelStandAlone#SeqGradChanParallelStandAlone(e7aa6ea55952ab79).(const SeqGradChanParallelStandAlonecxx . . $ SeqGradChanParallelStandAlone#& sgcpp) {}
101
102 // overloading virtual functions from SeqGradChanParallelDriver
103 bool prep_drivercxx . . $ SeqGradChanParallelStandAlone#prep_driver(96d4b954b8d5c4d1).(SeqGradChanListcxx . . $ SeqGradChanList#* chanlists[3]) const {return true;}
104 STD_stringcxx . . $ `tjutils/tjstd.h:144:9`! get_programcxx . . $ SeqGradChanParallelStandAlone#get_program(ba147859d9f035a0).(programContextcxx . . $ programContext#& context) const {return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;}
105 SeqGradChanParallelDrivercxx . . $ SeqGradChanParallelDriver#* clone_drivercxx . . $ SeqGradChanParallelStandAlone#clone_driver(1e6e5e8abe4d2043).() const {return new SeqGradChanParallelStandAlonecxx . . $ SeqGradChanParallelStandAlone#(*this);}
106
107 // overloading virtual functions from SeqDriverBase
108 odinPlatformcxx . . $ odinPlatform# get_driverplatformcxx . . $ SeqGradChanParallelStandAlone#get_driverplatform(fb97baefed220f0e).() const {return standalonecxx . . $ standalone.;}
109
110 };
111
112 #endif
113