[vtkusers] vtkCornerAnnotation

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


Ok. Instead of the vtkTextActor I will use a vtkCornerAnnotation.
Which is exactly what I wanted to have!

Can anybody tell me how I can stop the vtkCornerAnnotation from changing 
its size if I alter the text?
I just want it to have fixed text size and font, and fixed size itself!

Am 19.03.2010 11:07, schrieb Sebastian Gatzka:
> 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
>>
>>
>
> _______________________________________________
> 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
>
> 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/7af84202/attachment.htm>


More information about the vtkusers mailing list