[vtkusers] Re: fixed-size labels in 3D

Luca Pallozzi Lavorante lplavorante at gmail.com
Mon May 14 10:50:04 EDT 2007


Sorry for my last post. It was incorrect. vtkCaptionActor2D provides
fized-size labels.
The problems is that the labels cannot be occluded by other objects in the
world (depending on the viewer position, see example
Hybrid/Testing/Tcl/TestCaptionActor.tcl). Is it possible to do that?

  Thanks

    Luca

On 5/14/07, Luca Pallozzi Lavorante <lplavorante at gmail.com> wrote:
>
> Hi everybody,
> I´d like to visualize labels with text information in 3D space. I verified
> that vtkCaptionActor2D can do it.
> My question is, can the label be fixed in size as I zoom in/out my scene?
> Could somebody give me an advice on how to do that?
> Should I use a vtkFollower instance? But in this case, how to rescale the
> label "automatically"?
>
> Thank you
>
>     Luca
>
> P.S. : vtkTextActor provides a Scaled option, but the text is not
> positioned in the 3D world.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070514/0ab25459/attachment.htm>


More information about the vtkusers mailing list