| 105 | } |
| 106 | |
| 107 | bool mitk::Annotation::GetIntProperty(const std::string &propertyKey, int &intValue) const |
| 108 | { |
| 109 | mitk::IntProperty::Pointer intprop = dynamic_cast<mitk::IntProperty *>(GetProperty(propertyKey)); |
| 110 | if (intprop.IsNull()) |
| 111 | return false; |
| 112 | |
| 113 | intValue = intprop->GetValue(); |
| 114 | return true; |
| 115 | } |
| 116 | |
| 117 | bool mitk::Annotation::GetFloatProperty(const std::string &propertyKey, float &floatValue) const |
| 118 | { |