[vtkusers] vtkCaptionActor2D text orientation

Jesús Spí­nola jspinola at gmail.com
Thu Mar 29 07:36:06 EDT 2007


Hi,

I'm using vtkCaptionActor2D to make annotations over images with
vtkImageViewer2. Sometimes is needed to make this annotations with a
different orientation rather than the usual "Left to Right" way, for example
upside-down in right to left way, or vertically in bottom to up way or
viceversa.

I figured this can be done getting the vtkTextProperty and then setting the
orientation with the SetOrientation method. The fact is the text is always
displayed in the usual left-to-right way. I've tried with 0, 90, 180 and 270
degrees and it always displays with the same orientation.

Do I have to take into account another parameters to show the text in the
desired orientation? How can I achieve this?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070329/e3f059b9/attachment.htm>


More information about the vtkusers mailing list