updated to fit for VTK6

Hi JC, 

Could you merge this update into Slicer:master?

Thanks,

Liangjia