| 70 | } |
| 71 | |
| 72 | void mitk::LabelSetImageToSurfaceFilter::GenerateData() |
| 73 | { |
| 74 | Image::ConstPointer inputImage = this->GetInput(); |
| 75 | if (inputImage.IsNull()) |
| 76 | return; |
| 77 | |
| 78 | mitk::Surface *outputSurface = this->GetOutput(); |
| 79 | if (!outputSurface) |
| 80 | return; |
| 81 | |
| 82 | AccessFixedDimensionByItk_1(inputImage, InternalProcessing, 3, outputSurface); |
| 83 | } |
| 84 | |
| 85 | template <typename TPixel, unsigned int VDimension> |
| 86 | void mitk::LabelSetImageToSurfaceFilter::InternalProcessing(const itk::Image<TPixel, VDimension> *input, |