[vtk-developers] unicode stuff in VTK

Jeff Baumes jeff.baumes at kitware.com
Tue Nov 17 09:13:19 EST 2009


On Mon, Nov 16, 2009 at 11:25 AM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> Hi there,
>
>  Just wondering, what is the status of rendering of unicode text in
> VTK CVS now ?

You can do it at the low level (i.e. within a custom mapper) using
vtkQtLabelRenderStrategy. The only mapper that currently uses it is
vtkLabelPlacementMapper, which draws a set of labels from a dataset
preprocessed with vtkPointSetToLabelHierarchy. The example:

VTK/Examples/Infovis/Python/labels.py

is the best place to look for how to use it.

Jeff



More information about the vtk-developers mailing list