/* * 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 */