[vtkusers] simple scalar bar question.....

jarv0075 jarv0075 at umn.edu
Tue Jul 13 15:04:28 EDT 2004


The order your values are displayed are in accordance to the order they are
in your lookup table.  So if you would like to reverse them, just reverse
your lookup table.


On 13 Jul 2004, nikhil butala wrote:
> --0-902519565-1089741581=:32351
> Content-Type: text/plain; charset=us-ascii
> 
> Dear VTK Users,
>  
>                  In my application, By default VTK assigns red color to
> 0(zero) value and blue color to the maximum value in scalar bar. 
> Does anyone know a simple method to reverse this. i.e. give blue color to
> zero value and red to maximum value??
>  
> thanks,
> Nikhil Butala
> 
> --0-902519565-1089741581=:32351
> Content-Type: text/html; charset=us-ascii
> 
> <DIV>Dear VTK Users,</div>
> <DIV> </div>
> <DIV>            
>      In
> my application, By default VTK assigns red color to 0(zero) value and
blue
> color to the maximum value in scalar bar. </div>
> <DIV>Does anyone know a simple method to reverse this. i.e. give blue
color
> to zero value and red to maximum value??</div>
> <DIV> </div>
> <DIV>thanks,</div>
> <DIV>Nikhil Butala</div>
> --0-902519565-1089741581=:32351--
> 
---------------------------------------
 Timothy R. Jarvis                   
---------------------------------------
Graduate Research Assistant 
International Neuroimaging Consortium
VA Medical Center
612-467-2619
http://www.neurovia.umn.edu
---------------------------------------




More information about the vtkusers mailing list