// // Parameters.hpp // Parameters // // Created by Baranyai David on 2018. 06. 30.. // Copyright © 2018. Baranyai David. All rights reserved. // #ifndef Parameters_hpp #define Parameters_hpp #include #include #include #include #include #include class Parameters { public: static Parameters *GetInstance(); double GetMaterial(int, int, int); //Get by coordinates double GetMaterial(int); //Get by index std::vector GetMaterialList(); //Get the whole vector double GetListSize(); ~Parameters(); private: Parameters(); static Parameters *instance; std::ifstream file; double energy; double shape; //Shape dimension double length_x; double length_y; double length_z; //Voxel double n_x; double n_y; double n_z; std::vector material; }; #endif /* Parameters_hpp */