<!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> </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> </DIV>
<DIV>The codes of isosurface generation is here:</DIV>
<DIV> //create isofurface using contour
filter<BR> m_vtkContours->SetInput(m_vtkImageData);<BR> m_vtkContours->GenerateValues(1,
m_iValue,
m_iValue);<BR> m_vtkContoursMapper->SetInput(m_vtkContours->GetOutput());<BR> m_vtkContoursMapper->SetScalarRange(1,
1);<BR> m_vtkContoursActor->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> </DIV>
<DIV>Steven</DIV></BODY></HTML>