]> Creatis software - bbtk.git/blob - packages/std/src/bbstdMixingVectors.h
Added MixingVector box.
[bbtk.git] / packages / std / src / bbstdMixingVectors.h
1 #ifndef __bbstdMixingVectors_h_INCLUDED__
2 #define __bbstdMixingVectors_h_INCLUDED__
3 #include "bbstd_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
5 #include "iostream"
6
7 namespace bbstd
8 {
9
10 class bbstd_EXPORT MixingVectors
11  : 
12    public bbtk::AtomicBlackBox
13 {
14   BBTK_BLACK_BOX_INTERFACE(MixingVectors,bbtk::AtomicBlackBox);
15   BBTK_DECLARE_INPUT(In1,std::vector<double>);
16   BBTK_DECLARE_INPUT(In2,std::vector<double>);
17   BBTK_DECLARE_INPUT(In3,std::vector<double>);
18   BBTK_DECLARE_INPUT(In4,std::vector<double>);
19   BBTK_DECLARE_INPUT(In5,std::vector<double>);
20   BBTK_DECLARE_INPUT(In6,std::vector<double>);
21   BBTK_DECLARE_INPUT(In7,std::vector<double>);
22   BBTK_DECLARE_INPUT(In8,std::vector<double>);
23   BBTK_DECLARE_INPUT(In9,std::vector<double>);
24   BBTK_DECLARE_INPUT(In10,std::vector<double>);
25   BBTK_DECLARE_OUTPUT(Out,std::vector<double>);
26   BBTK_PROCESS(Process);
27   void Process();
28 };
29
30 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MixingVectors,bbtk::AtomicBlackBox);
31 BBTK_NAME("MixingVectors");
32 BBTK_AUTHOR("Claire Mouton");
33 BBTK_DESCRIPTION("Transforms a set of vectors of double into a single vector of double (starting by the first values of each vector, followed by the second values of each vector, etc.)");
34 BBTK_CATEGORY("std");
35 BBTK_INPUT(MixingVectors,In1,"1st input vector",std::vector<double>,"");
36 BBTK_INPUT(MixingVectors,In2,"2nd input vector",std::vector<double>,"");
37 BBTK_INPUT(MixingVectors,In3,"3rd input vector",std::vector<double>,"");
38 BBTK_INPUT(MixingVectors,In4,"4th input vector",std::vector<double>,"");
39 BBTK_INPUT(MixingVectors,In5,"5th input vector",std::vector<double>,"");
40 BBTK_INPUT(MixingVectors,In6,"6th input vector",std::vector<double>,"");
41 BBTK_INPUT(MixingVectors,In7,"7th input vector",std::vector<double>,"");
42 BBTK_INPUT(MixingVectors,In8,"8th input vector",std::vector<double>,"");
43 BBTK_INPUT(MixingVectors,In9,"9th input vector",std::vector<double>,"");
44 BBTK_INPUT(MixingVectors,In10,"10th input vector",std::vector<double>,"");
45 BBTK_OUTPUT(MixingVectors,Out,"Mixed vector",std::vector<double>,"");
46 BBTK_END_DESCRIBE_BLACK_BOX(MixingVectors);
47 }
48 // EO namespace bbstd
49
50 #endif // __bbstdMixingVectors_h_INCLUDED__
51