]> Creatis software - gdcm.git/search
vtkgdcmSerieViewer shows an example for using user supplied function.