[vtkusers] vtkUnstructuredGrid coloring by PointData
    Luke J West 
    ljw at noc.soton.ac.uk
       
    Thu Oct  4 03:39:53 EDT 2007
    
    
  
Hi,
I have a vtkUnstructuredGrid that contains a number of named PointData fields
but no matter what I try, it always comes out a uniform colour.
How do I select the pointdata field to display, please?
I'm using Grid->SelectColorArray("Temperature") and Mapper->SetScalarRange(...)
Maybe someone has a snippet I can crib?
Thanks,
Luke
-----------------------------------------------------------------------
National Oceanography Centre, Southampton :: http://www.noc.soton.ac.uk
    
    
More information about the vtkusers
mailing list