[vtkusers] Lookup-Tabels and their range

David E DeMarle dave.demarle at kitware.com
Thu Mar 4 17:21:59 EST 2010


You have complete control over the lookup table.
See:
vtkLookupTable::SetNumberOfTableValues()
and
vtkLookupTable::SetTableValue (vtkIdType indx, double r, double g,
double b, double a=1.0)

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Thu, Mar 4, 2010 at 4:56 PM, Sebastian Gatzka
<sebastian.gatzka at stud.tu-darmstadt.de> wrote:
> Hello world.
>
>
>
> Me again. Can I assign different scalar intervals to discrete lookup table
> entries?
>
> The example is rather simple:
>
> I want the lookup-table to display scalars ranging from 1 to 10 in white,
> from 11 to 15 in blue and from 16 to 22 in green.
>
> (Actual intervals and colors may vary!)
>
>
>
> Any ideas?
>
>
>
> Sebastian
>
> _______________________________________________
> 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