[vtkusers] multiple vtkScalars in one dataset use lookuptable problem?

g00dioa g00dioa g00dioa at gmail.com
Sun Apr 22 07:58:03 EDT 2007


Hi,all
I use a dataset with multiple vtkScalars example "pressure" "density" or
others.
now I want to show color map which i select to show.but it always show the
first scalars.

i try to use

mapper.SetScalarRange(dataset.GetPointData
().GetScalars("density").GetRange());

but it dosn't work.the range set to "density" but the color also show
"pressure".

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070422/54aaa087/attachment.htm>


More information about the vtkusers mailing list