[vtkusers] vtkLabelPlacer - Turkish Characters
Murat Aydın
murat.aydin at netcad.com.tr
Tue Oct 6 08:52:16 EDT 2009
I am using vtk. 5.4 . There is no vtkUnicodeStringArray and
vtkUnicodeString classes in this version. We are not using QT.
is it possible to built vtk with VTK_USE_QT and then use it in winforms
applications?
Kind Regards
murat aydin
----- Original Message -----
From: "Jeff Baumes" <jeff.baumes at kitware.com>
To: "Murat Aydın" <murat.aydin at netcad.com.tr>
Cc: <vtkusers at vtk.org>
Sent: Tuesday, October 06, 2009 3:43 PM
Subject: Re: [vtkusers] vtkLabelPlacer - Turkish Characters
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