vtk How to dynamic input character?

like the title, I want to input some annotation on the slicer of the vtkImageData. But I do not know how to do?