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

Method SetWindowFunction

Imaging/Core/vtkImageSincInterpolator.cxx:212–220  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

210
211//------------------------------------------------------------------------------
212void vtkImageSincInterpolator::SetWindowFunction(int mode)
213{
214 mode = vtkMath::ClampValue(mode, VTK_LANCZOS_WINDOW, VTK_BLACKMAN_NUTTALL4);
215 if (this->WindowFunction != mode)
216 {
217 this->WindowFunction = mode;
218 this->Modified();
219 }
220}
221
222//------------------------------------------------------------------------------
223const char* vtkImageSincInterpolator::GetWindowFunctionAsString()

Calls 1

ModifiedMethod · 0.45

Tested by

no test coverage detected