| 24 | namespace |
| 25 | { |
| 26 | void PrepareInput(vtkImageData* groupImage) |
| 27 | { |
| 28 | // The vtkImageData wraps an MITK-owned buffer via SetVoidArray; in-place edits do |
| 29 | // not bump the wrapper's MTime. Force VTK to treat the data as modified so the |
| 30 | // pipeline re-executes against the current contents. |
| 31 | if (auto* scalars = groupImage->GetPointData()->GetScalars()) |
| 32 | scalars->Modified(); |
| 33 | |
| 34 | groupImage->Modified(); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | mitk::MultiLabelSurfaceNetsExtractor::MultiLabelSurfaceNetsExtractor() |
no test coverage detected