Adding Text to Polydata

Hi All,

I am interested in adding text to Polydata that I can write to a file. I see that I can use vtkTextSource and vtkVectorText objects that I can use.

I have seen examples where these objects are tied to actors and then added to the render window. That’s not what I am looking for. I want to be able to add the text to Polydata to that I can write it.

  1. Is there a way to position either of these objects in a coordinate system?

I figured I could create a vtkVectorText object and move it to a location using the vtkTransformPolydataFilter.