17 #ifndef ANATOMICALSTRUCTURECOLORPRESETS_H_HEADER
18 #define ANATOMICALSTRUCTURECOLORPRESETS_H_HEADER
20 #include <vtkXMLParser.h>
37 Category(std::string value, std::string scheme, std::string name) : codeValue(value), codeScheme(scheme), codeName(name){}
48 Modifier(std::string value, std::string scheme, std::string name) : codeValue(value), codeScheme(scheme), codeName(name){}
55 Type(std::string value, std::string scheme, std::string name) : codeValue(value), codeScheme(scheme), codeName(name){}
62 bool LoadPreset(
const std::string& fileName);
63 Category GetCategory(
const std::string& name);
64 Type GetType(
const std::string& name);
65 Color GetColor(
const std::string& name);
66 std::map<std::string, Category>
const GetCategoryPresets();
67 std::map<std::string, Type>
const GetTypePresets();
68 std::map<std::string, Color>
const GetColorPresets();
69 void NewPresets(std::map<std::string, Category>& newCategory, std::map<std::string, Type>& newType, std::map<std::string, Color>& newColor);
78 void StartElement (
const char *elementName,
const char **atts)
override;
84 std::string ReadXMLStringAttribute(
const std::string& name,
const char **atts);
86 static const std::string PRESET;
87 static const std::string CATEGORY;
88 static const std::string TYPE;
89 static const std::string MODIFIER;
90 static const std::string COLOR;
91 static const std::string CODE_VALUE;
92 static const std::string CODE_SCHEME;
93 static const std::string CODE_NAME;
95 static const std::string COLOR_R;
96 static const std::string COLOR_G;
97 static const std::string COLOR_B;
99 std::string m_presetName;
100 std::map<std::string, Category> m_Category;
101 std::map<std::string, Type> m_Type;
102 std::map<std::string, Color> m_Color;
103 std::string m_XmlFileName;
DataCollection - Class to facilitate loading/accessing structured data.
Type(std::string value, std::string scheme, std::string name)
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
Modifier(std::string value, std::string scheme, std::string name)
Category(std::string value, std::string scheme, std::string name)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.