ITK  4.8.0
Insight Segmentation and Registration Toolkit
SphinxExamples/src/Core/Common/MersenneTwisterRandomNumberGenerator/Code.cxx
int main(int, char*[])
{
GeneratorType::Pointer generator = GeneratorType::New();
generator->Initialize();
std::cout << generator->GetUniformVariate(0, 5) << std::endl;
return EXIT_SUCCESS;
}