| 272 | // algorithm to fill the output from the input. |
| 273 | |
| 274 | void vtkImageMapToColors::ThreadedRequestData(vtkInformation* vtkNotUsed(request), |
| 275 | vtkInformationVector** inputVector, vtkInformationVector* vtkNotUsed(outputVector), |
| 276 | vtkImageData*** inData, vtkImageData** outData, int outExt[6], int id) |
| 277 | { |
| 278 | vtkDataArray* outArray = outData[0]->GetPointData()->GetScalars(); |
| 279 | vtkCharArray* maskArray = |
| 280 | vtkArrayDownCast<vtkCharArray>(inData[0][0]->GetPointData()->GetArray("vtkValidPointMask")); |
| 281 | vtkDataArray* inArray = this->GetInputArrayToProcess(0, inputVector); |
| 282 | |
| 283 | // Working method |
| 284 | vtkImageMapToColorsExecute( |
| 285 | this, inData[0][0], inArray, maskArray, outData[0], outArray, outExt, id, this->NaNColor); |
| 286 | } |
| 287 | |
| 288 | //------------------------------------------------------------------------------ |
| 289 | void vtkImageMapToColors::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected