[vtkusers] Display outlined text with VTK

Allie Vacanti allison.vacanti at kitware.com
Wed Aug 23 09:37:36 EDT 2017


Outlined text is not available in VTK. You may want to play with the
background color/opacity settings and maybe a drop shadow (see
vtkTextProperties) to increase visibility on noisy backgrounds.

HTH,
Allie

On Wed, Aug 23, 2017 at 5:25 AM, Simon Esneault
<simon.esneault at gmail.com> wrote:
> Hello community,
>
> Does anyone know a way to display an outlined text with VTK ?
> In order to get a result like this :
> https://i.stack.imgur.com/BdGB7.png
>
> We use a lot of text actor to display information on top of CT scan images,
> and sometimes it's hard to find a proper text color that makes the text very
> readable on top of an images with high intensity changes.
> An outlined text could be a good solution to display a clear text, whatever
> the underlying image is (like VLC does with subtitles ^^)
>
> Any idea ?
>
> Thanks
>
> Simon
>
> --
> ------------------------------------------------------------------
> Simon Esneault
> Rennes, France
> ------------------------------------------------------------------
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtkusers mailing list