13 #ifndef mitkLevelWindowPreset_h
14 #define mitkLevelWindowPreset_h
19 #include <vtkXMLParser.h>
30 bool LoadPreset(std::string fileName);
31 double getLevel(std::string name);
32 double getWindow(std::string window);
33 std::map<std::string, double> &getLevelPresets();
34 std::map<std::string, double> &getWindowPresets();
35 void newPresets(std::map<std::string, double> newLevel, std::map<std::string, double> newWindow);
44 void StartElement(
const char *elementName,
const char **atts)
override;
51 std::string ReadXMLStringAttribut(std::string name,
const char **atts);
53 static const std::string PRESET;
54 std::map<std::string, double> m_Level;
55 std::map<std::string, double> m_Window;
56 std::string m_XmlFileName;