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

Function vtkImageThresholdExecute1

Imaging/Core/vtkImageThreshold.cxx:239–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237//------------------------------------------------------------------------------
238template <class T>
239void vtkImageThresholdExecute1(
240 vtkImageThreshold* self, vtkImageData* inData, vtkImageData* outData, int outExt[6], int id, T*)
241{
242 switch (outData->GetScalarType())
243 {
244 vtkTemplateMacro(vtkImageThresholdExecute(
245 self, inData, outData, outExt, id, static_cast<T*>(nullptr), static_cast<VTK_TT*>(nullptr)));
246 default:
247 vtkGenericWarningMacro("Execute: Unknown input ScalarType");
248 return;
249 }
250}
251
252//------------------------------------------------------------------------------
253// This method is passed a input and output data, and executes the filter

Callers 1

ThreadedRequestDataMethod · 0.85

Calls 2

vtkImageThresholdExecuteFunction · 0.85
GetScalarTypeMethod · 0.45

Tested by

no test coverage detected