[vtkusers] vtkOrientationMarkerWidget: how to modify the color of the x y z labels?
John Platt
jcplatt at dsl.pipex.com
Wed Mar 26 18:19:50 EDT 2008
Hi, have you tried
vtkTextProperty* axisXLabelTextProperty = vtkTextProperty::New();
axisXLabelTextProperty->SetFontFamilyToArial();
axisXLabelTextProperty->SetColor( 1.0, 0.0, 0.0 );
axisXLabelTextProperty->SetFontSize( 12 );
axisXLabelTextProperty->ShadowOn();
myAxesActor->GetXAxisCaptionActor2D()->SetCaptionTextProperty(
axisXLabelTextProperty );
axisXLabelTextProperty->Delete();
John.
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of Jean-Do Barnichon
Sent: 26 March 2008 21:36
To: vtkusers at vtk.org
Subject: [vtkusers] vtkOrientationMarkerWidget: how to modify the color
of the x y z labels?
Hi,
the vtkOrientationMarkerWidget shows an orientation marker with 3 axes
labelled x y z.
The question is simple:
is it possible to modify the color of the x y z labels (white by
default), or at least
to show these labels using a shadowed font?
Thanks,
J-D
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list