------------------------------------------------------------------------------ This method is passed an 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.
| 137 | // executes a switch statement to call the correct function for the |
| 138 | // datas data types. |
| 139 | void vtkImageFoo::ThreadedRequestData(vtkInformation*, vtkInformationVector**, |
| 140 | vtkInformationVector*, vtkImageData*** inData, vtkImageData** outData, int outExt[6], int id) |
| 141 | { |
| 142 | void* inPtr = inData[0][0]->GetScalarPointerForExtent(outExt); |
| 143 | int inType = inData[0][0]->GetScalarType(); |
| 144 | switch (inType) |
| 145 | { |
| 146 | vtkTemplateMacro( |
| 147 | vtkImageFooExecute1(this, inData[0][0], static_cast<VTK_TT*>(inPtr), outData[0], outExt, id)); |
| 148 | default: |
| 149 | vtkErrorMacro("Unknown input scalar type " << inType); |
| 150 | return; |
| 151 | } |
| 152 | } |
| 153 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected