| 278 | } |
| 279 | |
| 280 | bool mitk::DataNode::GetIntProperty(const char *propertyKey, int &intValue, const mitk::BaseRenderer *renderer) const |
| 281 | { |
| 282 | mitk::IntProperty::Pointer intprop = dynamic_cast<mitk::IntProperty *>(GetProperty(propertyKey, renderer)); |
| 283 | if (intprop.IsNull()) |
| 284 | return false; |
| 285 | |
| 286 | intValue = intprop->GetValue(); |
| 287 | return true; |
| 288 | } |
| 289 | |
| 290 | bool mitk::DataNode::GetFloatProperty(const char *propertyKey, |
| 291 | float &floatValue, |
no test coverage detected