[vtkusers] multiple vtkScalars in one dataset use lookuptable problem?
Dominik Szczerba
domi at vision.ee.ethz.ch
Sun Apr 22 08:59:39 EDT 2007
Study SetActiveScalars, SetColorArray and
SetScalarModeToUseCell/Point/FieldData.
Dominik
On Sunday 22 April 2007 13:58, g00dioa g00dioa wrote:
> 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
--
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
More information about the vtkusers
mailing list