[vtkusers] Unicode support for Axis Titles and Labels in vtkCubeAxesActor2D

Butterfly ninarock at list.ru
Fri Feb 3 06:35:28 EST 2017


Hello everybody,

I successfully visualize unicode text using other vtk actors, but can not do
the same with vtkCubeAxesActor2D. I see the symbols, but they are not
correct. Is this not implemented yet?

				vtkSmartPointer<vtkCubeAxesActor2D> axes =
vtkSmartPointer<vtkCubeAxesActor2D>::New();

				axes->GetAxisTitleTextProperty()->SetFontFamily(VTK_FONT_FILE);
				axes->GetAxisTitleTextProperty()->SetFontFile(unicodeFontFilePath);

				axes->GetAxisLabelTextProperty()->SetFontFamily(VTK_FONT_FILE);
				axes->GetAxisLabelTextProperty()->SetFontFile(unicodeFontFilePath);

                                axes->SetXLabel(unicodeString);

Many thanks in advance!



--
View this message in context: http://vtk.1045678.n5.nabble.com/Unicode-support-for-Axis-Titles-and-Labels-in-vtkCubeAxesActor2D-tp5742039.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list