[vtkusers] vtkScalarBar Title font issue

Philippe Pebay philippe.pebay at kitware.com
Tue Dec 6 03:59:10 EST 2011


Hello Sahil,

The size is set by vtkTextMapper::SetMultipleConstrainedFontSize() in order
to fix the scalar bar size and orientation.

Best regards,
Philippe

On Tue, Dec 6, 2011 at 9:37 AM, sahil6786 <sahil6786 at gmail.com> wrote:

> I have created a vtkScalarBarActor object and rendered it on a window. But
> when i try to change the size of the scalarbar title by
> scalarBar->GetTitleTextProperty()->SetFontSize(25)..the size doesnt change
> at all. What will be the problem?
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051421.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>



-- 
Philippe Pébay
Directeur de la Visualisation et du Calcul Haute Performance
Kitware SAS
26 rue Louis Guérin
69100 Villeurbanne
France
+33 (0)4.37.45.04.15
http://www.kitware.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111206/cc0fb719/attachment.htm>


More information about the vtkusers mailing list