How can we simulate barrel and pincushion distortion using VTK camera?

Any suggestion is great, thanks!