[vtkusers] Any way to set the scalar range of a vtkDataSetMapper automatically?

Alaeddin A. Aydiner aydiner at empc22.ece.uiuc.edu
Tue Jan 29 12:57:05 EST 2002


Hello,

I'd like my scalar range to dynamically change according to the minimum and
maximum of scalar data.

vtkDataSetMapper fieldMapper
        fieldMapper SetInput [reader GetOutput]
        fieldMapper SetLookupTable sigmaTable
        fieldMapper SetScalarRange 0.0 0.14 <--- Static setting

Is it possible to set it dynamically in Tcl or Python?

I am using the cvs version that is going to become version 4.0. Thanks.

-- 
#################################################################
Alaeddin Ahmet AYDINER    377 CCEM Everitt Laboratory MC 702
Office Tel: 217 333 0434  Electrical & Computer Eng. Dept. UIUC 
#################################################################



More information about the vtkusers mailing list