ITK  5.0.0
Insight Segmentation and Registration Toolkit
WikiExamples/ImageProcessing/HammingWindowFunction.cxx
#include <itkImage.h>
int main(int, char*[])
{
using HammingWindowFunctionType = itk::Function::HammingWindowFunction<5>;
HammingWindowFunctionType hammingWindowFunction;
std::cout << "Value at 1.3: " << hammingWindowFunction(1.3) << std::endl;
return EXIT_SUCCESS;
}