SauvaudProperties.hh
1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: SauvaudProperties.hh
* Author: hacene
*
* Created on January 3, 2022, 10:36 AM
*/
#ifndef SAUVAUDPROPERTIES_HH
#define SAUVAUDPROPERTIES_HH
#include "SpectroProperties.hh"
namespace plot {
class SauvaudProperties : public SpectroProperties {
public:
SauvaudProperties() : SpectroProperties(),_rightDim(0) {
}
SauvaudProperties(const SpectroProperties& orig) : SpectroProperties(orig) {
}
SauvaudProperties(const SauvaudProperties& orig) : SpectroProperties(orig) {
}
AMDA::Common::ParameterIndexComponentList getIndexesByIndex(int index, int dim)
{
AMDA::Common::ParameterIndexComponentList res;
int index_;
for(auto paramIndex : SpectroProperties:: _indexList){
index_ = dim ==0 ? paramIndex.getDim1Index() : paramIndex.getDim2Index();
if(index_ == index)
res.push_back(paramIndex);
}
return res;
}
virtual ~SauvaudProperties() {
}
int getRightDim() {
return _rightDim;
}
void setRightDim(int dim) {
_rightDim = dim;
}
int getLastIndex(){
return _lastIndex;
}
void setLastIndex(int lastIndex){
_lastIndex= lastIndex;
}
private:
/***/
int _rightDim;
int _lastIndex;
};
} /* namespace plot */
#endif /* SAUVAUDPROPERTIES_HH */