[vtkusers] vtkCaptionActor2D text orientation

Jesús Spí­nola jspinola at gmail.com
Mon Apr 2 10:32:59 EDT 2007


I agree with your opinion Phillip, but your reply doesn't answer my
question... I was not asking for performance, I'm using 2D text actors and I
want to change their orientation... I want to know if this is possible

On 3/30/07, Philip Schuchardt <ohc at vt.edu> wrote:
>
> My experience with the caption actors that is that they fairly limited and
> annoying because the text changes size with different lengths.  I feel
> that
> the vtkTextActor's are fairly slow because of anti-aliasing(In 5.0 you
> can't
> turn anti-aliasing off :( ).  If you try to add lots of text actors,
> preformace will drop considerably.
>
> Philip Schuchardt
>
> On Thursday 29 March 2007 7:36 am, Jesús Spí­nola wrote:
> > 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!
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the 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/20070402/f423e492/attachment.htm>


More information about the vtkusers mailing list