[vtkusers] How to put a legend box?

Benjamin Frigan frigan at itap.physik.uni-stuttgart.de
Mon Feb 1 09:32:00 EST 2010


Hex,
by the way, is it possible to render the symbols in the legend box? When
I create a sphere, it shows only a circle in the box.


Ben



David Doria schrieb:
> On Mon, Feb 1, 2010 at 5:24 AM, Rakesh Patil <rakeshthp at in.com> wrote:
>   
>> Hello,
>>
>> I want to display a legend box ... The legend should be an arrow. One big
>> arrow and one small arrow along with the smallest and the largest length of
>> the arrow. How do i do this..??
>>
>> Thanks
>>
>>     
>
> The problem was that he was trying to put different sized symbols in
> the legend box. Rakesh, the legend actor automatically resizes the
> symbols, as we discussed in the last thread about this. Different
> sized symbols in a legend is probably not a good idea, hence why
> they've written the code as such. You'll probably either want to dig
> into the code of the actor or find a different way (maybe color?) to
> indicate which arrows are which.
>
> Thanks,
>
> David
> _______________________________________________
> 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
>
>
>   




More information about the vtkusers mailing list