| 1513 | } |
| 1514 | |
| 1515 | void QmitkSlicesInterpolator::OnActiveLabelChanged(mitk::Label::PixelType) |
| 1516 | { |
| 1517 | m_FeedbackNode->SetData(nullptr); |
| 1518 | m_InterpolatedSurfaceNode->SetData(nullptr); |
| 1519 | |
| 1520 | if (m_Watcher.isRunning()) |
| 1521 | m_Watcher.waitForFinished(); |
| 1522 | |
| 1523 | if (m_3DInterpolationEnabled) |
| 1524 | { |
| 1525 | m_SurfaceInterpolator->Modified(); |
| 1526 | } |
| 1527 | |
| 1528 | if (m_2DInterpolationEnabled) |
| 1529 | { |
| 1530 | m_FeedbackNode->SetData(nullptr); |
| 1531 | this->OnInterpolationActivated(true); |
| 1532 | |
| 1533 | m_LastSNC->SendSlice(); |
| 1534 | } |
| 1535 | mitk::RenderingManager::GetInstance()->RequestUpdateAll(); |
| 1536 | this->UpdateVisibleSuggestion(); |
| 1537 | } |
| 1538 | |
| 1539 | void QmitkSlicesInterpolator::CheckSupportedImageDimension() |
| 1540 | { |
no test coverage detected