ITK  4.8.0
Insight Segmentation and Registration Toolkit
WikiExamples/Morphology/BinaryBallStructuringElement.cxx
#include "itkImage.h"
int main(int, char *[])
{
typedef itk::BinaryBallStructuringElement<float, 2> StructuringElementType;
StructuringElementType structuringElement;
structuringElement.SetRadius(5);
structuringElement.CreateStructuringElement();
return EXIT_SUCCESS;
}