[vtkusers] VtkAxesActor Problem
Aashish Chaudhary
aashish.chaudhary at kitware.com
Tue Apr 19 11:30:01 EDT 2011
Try this
axesActor->GetXAxisCaptionActor2D()->GetTextActor()->SetScaledText(vtkTextActor::TEXT_SCALE_MODE_NONE);
axesActor->GetXAxisCaptionActor2D()->GetTextActor()->GetTextProperty()->SetFontSize(100);
Hope it helps..
On Mon, Apr 18, 2011 at 1:28 PM, Fabrizio De Stefani
<deste.fabrizio at gmail.com> wrote:
> I have tried something like
>
> axes = vtkSmartPointer<vtkAxesActor>::New();
>
> axes->SetTotalLength(10,10,10);
>
> axes->GetXAxisCaptionActor2D()->GetCaptionTextProperty()->SetFontSize(1);
>
> but last instruction seems to have no effect on the label dimension, it is
> stille huge
>
>
> Thanks,
> Fabrizio
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
More information about the vtkusers
mailing list