[vtkusers] vtkLabelPlacer - Turkish Characters

Jeff Baumes jeff.baumes at kitware.com
Tue Oct 6 08:43:27 EDT 2009


First, you will need to build VTK with VTK_USE_QT on. You can use
vtkUnicodeStringArray which holds instances of vtkUnicodeString.
vtkUnicodeString has methods for storing strings from UTF-8 and
UTF-16.

I don't know the version of VTK you are using, but the best approach
is to use the new vtkLabelPlacementMapper which is in the latest
development CVS. Details on how to use it are here:

http://www.kitware.com/InfovisWiki/index.php/Labels

Alternatively, you may use the vtkQtLabelRenderStrategy directly to
render unicode strings.

Jeff

2009/10/6 Murat Aydın <murat.aydin at netcad.com.tr>:
> Hi,
>
> How can i display Turkish Characters with vtkLabelPlacer? Is there a way to
> set character encoding ?
>
> Kind Regards,
>
> murat aydin
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.baumes at kitware.com



More information about the vtkusers mailing list