[vtkusers] vtkScalarBar Title font issue

sahil6786 sahil6786 at gmail.com
Wed Dec 7 05:12:10 EST 2011


Hii philippe,
Im not explicitly setting any mapper to vtkScalarBar object.The default
mapper it uses is vtkMapper2D. Im trying to set font
by pScalarBarActor->GetTitleTextProperty()->SetFontSize(25);
Do you know how i can call SetMultipleConstrainedFontSize().

Thank you for your answer.

Regards,
Sahil

On Tue, Dec 6, 2011 at 2:29 PM, Philippe Pebay [via VTK] <
ml-node+s1045678n5051466h2 at n5.nabble.com> wrote:

> 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 <[hidden email]<http://user/SendEmail.jtp?type=node&node=5051466&i=0>
> > 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
>
> _______________________________________________
> 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
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051466.html
>  To unsubscribe from vtkScalarBar Title font issue, click here<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5051421&code=c2FoaWw2Nzg2QGdtYWlsLmNvbXw1MDUxNDIxfDU4ODIzNjI3MQ==>
> .
> NAML<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5055098.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111207/a5962908/attachment.htm>


More information about the vtkusers mailing list