[vtkusers] color legend based on vtklookuptable

Jothy jothybasu at gmail.com
Thu Apr 22 05:58:40 EDT 2010


Use vtkScalarBarActor

Jothy

On Thu, Apr 22, 2010 at 10:56 AM, rashedk <rashed.vtk at googlemail.com> wrote:
>
> I am using a vtklookuptable to color an actor (polygonal data) based on its
> point scalars. I want to display a color legend which tells what color
> corresponds to which scalar value. This is such an essential requirement in
> most visualizations. I have looked at vtkLegendBoxActor but how do I use
> this or any other class to draw a color bar legend preferably like the one
> seen in the attached image (with a color-gradient)
> http://old.nabble.com/file/p28326662/color_gradient_bar.png
>
> Any help appreciated.
>
> Rashed.
> --
> View this message in context: http://old.nabble.com/color-legend-based-on-vtklookuptable-tp28326662p28326662.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
>



More information about the vtkusers mailing list