[vtkusers] vtkTextActor position

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Fri Mar 19 06:07:06 EDT 2010


Sorry, this alters the text size, not the *position *of the actor.
What I need is a fixed position on a normalized viewport or normalized 
display.

Am 17.03.2010 14:33, schrieb KS Jothybasu:
> Try,
>
> textactor.SetTextScaleModeToViewport()
>
> Jothy
>
> On Wed, Mar 17, 2010 at 1:19 PM, Sebastian Gatzka 
> <sebastian.gatzka at stud.tu-darmstadt.de 
> <mailto:sebastian.gatzka at stud.tu-darmstadt.de>> wrote:
>
>     Hello world.
>
>     How can I manage to set relative coordinates to the vtkTextActor
>     position?
>     If I alter the size of my windows I want the text to keep it
>     position relative to the display.
>
>     Ideas?
>     Sebastian
>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100319/3659a1bc/attachment.htm>


More information about the vtkusers mailing list