#ifndef Settings_H #define Settings_H #include "global.h" #include "bond.h" #include namespace Vipster{ template struct Setting{ using ValueType = T; std::string name; T val; }; struct Settings{ Setting overlap{"Check for overlapping atoms", true}; Setting atRadVdW{"Atom radius VdW", false}; Setting atRadFac{"Atom radius factor", bohrrad}; Setting bondRad{"Bond radius", bohrrad}; Setting showCell{"Show cell", true}; Setting antialias{"Antialiasing", true}; Setting perspective{"Perspective projection", false}; Setting rotCom{"Rotate around center of mass", false}; Setting animstep{"Animation step (ms)", 100}; Setting selCol{"Selection color", ColVec{0, 0, 80, 80}}; Setting milCol{"Miller-plane color", ColVec{130, 0, 0, 80}}; Setting posCol{"Positive-isovalue color", ColVec{255, 0, 0, 155}}; Setting negCol{"Negative-isovalue color", ColVec{0, 0, 255, 155}}; }; extern const Settings settings; } #endif // Settings_H