------------------------------------------------------------------------------ This method is passed a input and output region, 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 regions data types.
| 105 | // It just executes a switch statement to call the correct function for |
| 106 | // the regions data types. |
| 107 | void vtkImageCast::ThreadedExecute( |
| 108 | vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) |
| 109 | { |
| 110 | switch (inData->GetScalarType()) |
| 111 | { |
| 112 | vtkTemplateMacro( |
| 113 | vtkImageCastExecute(this, inData, outData, outExt, id, static_cast<VTK_TT*>(nullptr))); |
| 114 | default: |
| 115 | vtkErrorMacro(<< "Execute: Unknown input ScalarType"); |
| 116 | return; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | //------------------------------------------------------------------------------ |
| 121 | void vtkImageCast::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected