| 441 | } |
| 442 | |
| 443 | void mitk::DataNode::SetDoubleProperty(const char *propertyKey, double doubleValue, const mitk::BaseRenderer *renderer) |
| 444 | { |
| 445 | if (dynamic_cast<FloatProperty *>(this->GetProperty(propertyKey, renderer)) != nullptr) |
| 446 | { |
| 447 | MITK_WARN << "Setting double property " << propertyKey |
| 448 | << " although a float property with the same name already exists"; |
| 449 | } |
| 450 | GetPropertyList(renderer)->SetProperty(propertyKey, mitk::DoubleProperty::New(doubleValue)); |
| 451 | } |
| 452 | |
| 453 | void mitk::DataNode::SetStringProperty(const char *propertyKey, |
| 454 | const char *stringValue, |
nothing calls this directly
no test coverage detected