[vtkusers] ScalarRange of vtkContourFilter?

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue May 13 11:33:03 EDT 2003


>>>>> "MS" == Marcus Stojek <stojek at part-gmbh.de> writes:

    MS> Hi, I have an unstructured grid with scalar point data. I want
    MS> to show the geometry colorshaded (MapperSurf) PLUS colored
    MS> contourlines (contourMapper).  My problem is that no matter
    MS> what values minvalue and maxvalue have, the contour lines are
    MS> always colorcoded between 0 and 1. Because the printout of
    MS> vtkContourFilter shows that the values calculated by
    MS> GenerateValues() are correct, I guess there is something wrong
    MS> with the Input for ContourFilter.  (vtk 4.0, Python 2.2,
    MS> Windows NT)

Perhaps you did not set the Range on the lookup table?
self.lut.SetRange(...)

cheers,
prabhu



More information about the vtkusers mailing list