| 288 | } |
| 289 | |
| 290 | bool mitk::DataNode::GetFloatProperty(const char *propertyKey, |
| 291 | float &floatValue, |
| 292 | const mitk::BaseRenderer *renderer) const |
| 293 | { |
| 294 | mitk::FloatProperty::Pointer floatprop = dynamic_cast<mitk::FloatProperty *>(GetProperty(propertyKey, renderer)); |
| 295 | if (floatprop.IsNull()) |
| 296 | return false; |
| 297 | |
| 298 | floatValue = floatprop->GetValue(); |
| 299 | return true; |
| 300 | } |
| 301 | |
| 302 | bool mitk::DataNode::GetDoubleProperty(const char *propertyKey, |
| 303 | double &doubleValue, |
no test coverage detected