------------------------------------------------------------------------------ This method is passed a input and output data, and executes the filter algorithm to fill the output from the input. It just executes a switch statement to call the correct function for the datas data types.
| 255 | // It just executes a switch statement to call the correct function for |
| 256 | // the datas data types. |
| 257 | void vtkImageThreshold::ThreadedRequestData(vtkInformation* vtkNotUsed(request), |
| 258 | vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector* vtkNotUsed(outputVector), |
| 259 | vtkImageData*** inData, vtkImageData** outData, int outExt[6], int id) |
| 260 | { |
| 261 | switch (inData[0][0]->GetScalarType()) |
| 262 | { |
| 263 | vtkTemplateMacro(vtkImageThresholdExecute1( |
| 264 | this, inData[0][0], outData[0], outExt, id, static_cast<VTK_TT*>(nullptr))); |
| 265 | default: |
| 266 | vtkErrorMacro(<< "Execute: Unknown input ScalarType"); |
| 267 | return; |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | //------------------------------------------------------------------------------ |
| 272 | void vtkImageThreshold::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected