| 198 | } |
| 199 | |
| 200 | void mitk::Label::SetVisible(bool visible) |
| 201 | { |
| 202 | mitk::BoolProperty *property = dynamic_cast<mitk::BoolProperty *>(GetProperty("visible")); |
| 203 | if (property != nullptr) |
| 204 | // Update Property |
| 205 | property->SetValue(visible); |
| 206 | else |
| 207 | // Create new Property |
| 208 | SetBoolProperty("visible", visible); |
| 209 | } |
| 210 | |
| 211 | bool mitk::Label::GetVisible() const |
| 212 | { |