| 268 | } |
| 269 | |
| 270 | bool mitk::DataNode::GetBoolProperty(const char *propertyKey, bool &boolValue, const mitk::BaseRenderer *renderer) const |
| 271 | { |
| 272 | mitk::BoolProperty::Pointer boolprop = dynamic_cast<mitk::BoolProperty *>(GetProperty(propertyKey, renderer)); |
| 273 | if (boolprop.IsNull()) |
| 274 | return false; |
| 275 | |
| 276 | boolValue = boolprop->GetValue(); |
| 277 | return true; |
| 278 | } |
| 279 | |
| 280 | bool mitk::DataNode::GetIntProperty(const char *propertyKey, int &intValue, const mitk::BaseRenderer *renderer) const |
| 281 | { |
no test coverage detected