[vtkusers] How can I get fixed-size text at a position in world space?

David Lonie david.lonie at kitware.com
Tue Apr 25 09:49:36 EDT 2017


Recent versions of VTK include vtkBillboardTextActor3D, which should
do what you're asking. Older versions of VTK have vtkTextActor, which
draws in an overlay, but can be anchored to a world coordinate by
manipulating the object returned by GetPositionCoordinate.

HTH,
Dave

On Tue, Apr 25, 2017 at 1:49 AM, alanwsx <wushx6 at gmail.com> wrote:
> Same question here. Did you figure out how to do it?
>
> Thanks,
> Shangxuan
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/How-can-I-get-fixed-size-text-at-a-position-in-world-space-tp4576921p5742970.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers


More information about the vtkusers mailing list