<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>any help would be appreciated.</DIV>
<DIV> </DIV>
<DIV>The relevant section is shown below</DIV>
<DIV>I am trying to contour two different sets of scalar point attributes, stored on the same grid, but it always produces 2 contours of the one set of scalar data (In this case since both isovalues are the same just the one contour is seen)</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>sonam</DIV>
<DIV> </DIV>
<DIV>$octreeSource SetScalarsName "psf1"</DIV>
<DIV>$octreeSource Update</DIV>
<DIV> </DIV>
<DIV>vtkContourFilter cf<BR> cf SetInput [$octreeSource GetOutput]<BR> cf SetValue 0 0<BR> vtkPolyDataMapper contoursMapper<BR> contoursMapper SetInput [cf GetOutput]<BR> vtkActor contours<BR> contours SetMapper contoursMapper<BR> </DIV>
<DIV>
<DIV>$octreeSource SetScalarsName "psf2"</DIV>
<DIV>$octreeSource Update</DIV></DIV>
<DIV><BR>vtkContourFilter cf2<BR> cf2 SetInput [$octreeSource GetOutput]<BR> cf2 SetValue 0 0<BR> vtkPolyDataMapper contoursMapper2<BR> contoursMapper2 SetInput [cf2 GetOutput]<BR> vtkActor contours2<BR> contours2 SetMapper contoursMapper2<BR><BR> </DIV><p><br><hr size=1>
Find local movie times and trailers on <a href="http://au.rd.yahoo.com/mail/tagline/*http://au.movies.yahoo.com" target=_blank><b>Yahoo! Movies.</b></a><br>