| 54 | } |
| 55 | |
| 56 | void mitk::MaskImageFilter::GenerateInputRequestedRegion() |
| 57 | { |
| 58 | Superclass::GenerateInputRequestedRegion(); |
| 59 | |
| 60 | mitk::Image *output = this->GetOutput(); |
| 61 | mitk::Image *input = this->GetInput(); |
| 62 | mitk::Image *mask = this->GetMask(); |
| 63 | if ((output->IsInitialized() == false) || (mask == nullptr) || (mask->GetTimeGeometry()->CountTimeSteps() == 0)) |
| 64 | return; |
| 65 | |
| 66 | input->SetRequestedRegionToLargestPossibleRegion(); |
| 67 | mask->SetRequestedRegionToLargestPossibleRegion(); |
| 68 | |
| 69 | GenerateTimeInInputRegion(output, input); |
| 70 | } |
| 71 | |
| 72 | void mitk::MaskImageFilter::GenerateOutputInformation() |
| 73 | { |
nothing calls this directly
no test coverage detected