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

Method ThreadedExecute

Imaging/Core/vtkImageCast.cxx:107–118  ·  view source on GitHub ↗

------------------------------------------------------------------------------ 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.

Source from the content-addressed store, hash-verified

105// It just executes a switch statement to call the correct function for
106// the regions data types.
107void 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//------------------------------------------------------------------------------
121void vtkImageCast::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 2

vtkImageCastExecuteFunction · 0.85
GetScalarTypeMethod · 0.45

Tested by

no test coverage detected