17 #ifndef LEVELWINDOWPRESET_H_HEADER
18 #define LEVELWINDOWPRESET_H_HEADER
23 #include <vtkXMLParser.h>
34 bool LoadPreset(std::string fileName);
35 double getLevel(std::string name);
36 double getWindow(std::string window);
37 std::map<std::string, double> &getLevelPresets();
38 std::map<std::string, double> &getWindowPresets();
39 void newPresets(std::map<std::string, double> newLevel, std::map<std::string, double> newWindow);
48 void StartElement(
const char *elementName,
const char **atts)
override;
55 std::string ReadXMLStringAttribut(std::string name,
const char **atts);
57 static const std::string PRESET;
58 std::map<std::string, double> m_Level;
59 std::map<std::string, double> m_Window;
60 std::string m_XmlFileName;
DataCollection - Class to facilitate loading/accessing structured data.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.