| 346 | } |
| 347 | |
| 348 | void mitk::AffineBaseDataInteractor3D::DeselectObject(StateMachineAction *, InteractionEvent *) |
| 349 | { |
| 350 | DataNode::Pointer node = this->GetDataNode(); |
| 351 | |
| 352 | if (node.IsNull()) |
| 353 | return; |
| 354 | |
| 355 | mitk::ColorProperty::Pointer selectedColor = |
| 356 | dynamic_cast<mitk::ColorProperty *>(node->GetProperty(deselectedColorPropertyName)); |
| 357 | if (selectedColor.IsNotNull()) |
| 358 | { |
| 359 | node->GetPropertyList()->SetProperty("color", selectedColor); |
| 360 | } |
| 361 | |
| 362 | RenderingManager::GetInstance()->RequestUpdateAll(); |
| 363 | |
| 364 | return; |
| 365 | } |
| 366 | |
| 367 | void mitk::AffineBaseDataInteractor3D::InitTranslate(StateMachineAction *, InteractionEvent *interactionEvent) |
| 368 | { |
nothing calls this directly
no test coverage detected