Blame view

src/ParamOutputImpl/Plot/SauvaudProperties.hh 1.73 KB
793c4351   Hacene SI HADJ MOHAND   creation de class...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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"
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace plot {

    class SauvaudProperties : public SpectroProperties {
    public:

        SauvaudProperties() : SpectroProperties(),_rightDim(0),_hasYleftAxis(true) {

        }

        SauvaudProperties(const SpectroProperties& orig) : SpectroProperties(orig) {

        }

        SauvaudProperties(const SauvaudProperties& orig) : SpectroProperties(orig) {

        }
b0205fd9   Hacene SI HADJ MOHAND   plot ok reste que...
33
34
35
36
37
38
39
40
41
42
43
44
        
        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;
        }
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

        virtual ~SauvaudProperties() {

        }

        int getRightDim() {
            return _rightDim;
        }

        void setRightDim(int dim) {
            _rightDim = dim;
        }

        bool hasYleftAxis() const {
            return _hasYleftAxis;
        }

        void setYAxis(bool hasYAxis) {
            _hasYleftAxis = hasYAxis;
        }
793c4351   Hacene SI HADJ MOHAND   creation de class...
65
        
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
66
    private:
793c4351   Hacene SI HADJ MOHAND   creation de class...
67
        
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
68
69
70
71
        /***/
        int _rightDim;

        bool _hasYleftAxis;
793c4351   Hacene SI HADJ MOHAND   creation de class...
72
        
5f13f59c   Hacene SI HADJ MOHAND   in progress worki...
73
    };
793c4351   Hacene SI HADJ MOHAND   creation de class...
74

793c4351   Hacene SI HADJ MOHAND   creation de class...
75
76
77

} /* namespace plot */
#endif /* SAUVAUDPROPERTIES_HH */