MCPcopy Create free account
hub / github.com/Kitware/VTK / ThreadedRequestData

Method ThreadedRequestData

Imaging/Core/vtkImageMapToColors.cxx:274–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272// algorithm to fill the output from the input.
273
274void 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//------------------------------------------------------------------------------
289void vtkImageMapToColors::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 5

GetScalarsMethod · 0.45
GetPointDataMethod · 0.45
GetArrayMethod · 0.45

Tested by

no test coverage detected