| 429 | } |
| 430 | |
| 431 | void mitk::DataNode::SetFloatProperty(const char *propertyKey, |
| 432 | float floatValue, |
| 433 | const mitk::BaseRenderer *renderer /*=nullptr*/) |
| 434 | { |
| 435 | if (dynamic_cast<DoubleProperty *>(this->GetProperty(propertyKey, renderer)) != nullptr) |
| 436 | { |
| 437 | MITK_WARN << "Setting float property " << propertyKey |
| 438 | << " although a double property with the same name already exists"; |
| 439 | } |
| 440 | GetPropertyList(renderer)->SetProperty(propertyKey, mitk::FloatProperty::New(floatValue)); |
| 441 | } |
| 442 | |
| 443 | void mitk::DataNode::SetDoubleProperty(const char *propertyKey, double doubleValue, const mitk::BaseRenderer *renderer) |
| 444 | { |
nothing calls this directly
no test coverage detected