<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Dear all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to update the isosurface generated from a vtkImageData when I 
change the it.</DIV>
<DIV>My problem is: I changed the scalar value of some points in the ImageData, 
but the isosurface remains unchanged.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The codes of isosurface generation is here:</DIV>
<DIV>&nbsp;//create isofurface using contour 
filter<BR>&nbsp;m_vtkContours-&gt;SetInput(m_vtkImageData);<BR>&nbsp;m_vtkContours-&gt;GenerateValues(1, 
m_iValue, 
m_iValue);<BR>&nbsp;m_vtkContoursMapper-&gt;SetInput(m_vtkContours-&gt;GetOutput());<BR>&nbsp;m_vtkContoursMapper-&gt;SetScalarRange(1, 
1);<BR>&nbsp;m_vtkContoursActor-&gt;SetMapper(m_vtkContoursMapper);<BR></DIV>
<DIV>but I don't which function should be used to update the isosurface when 
m_vtkImageData changed.</DIV>
<DIV>Thanks a lot!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Steven</DIV></BODY></HTML>