COMP: fix VTK 6 compilation errors

Change SetInput to SetInputData in Logic class.
Kept backward compatibility for VTK5 through version check.
Merge pull request #40 from naucoin/FixVTK6Compilation

COMP: fix VTK 6 compilation errors