<DIV>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 ?>
<TBODY>
<TR>
<TD>
<DIV>I solved the prob. myself yesterday. I should update the pipeline first. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Sorry for not reading the document more carefully!</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luke<BR></DIV></TD></TR></TBODY></TABLE><BR><BR><B><I>Luke Hua &lt;luke_qz@yahoo.com&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>I tried to set the output of vtkContourFilter to vtkCellLocator, but got error &nbsp;"No cells to subdivide". I checked the source it seams the output dataset vtkContourFilter has 0 number of cells. What's wrong?</DIV>
<DIV>&nbsp;</DIV>
<DIV>this-&gt;cont=vtkContourFilter::New();<BR>&nbsp; cont-&gt;SetInput(vol);<BR>&nbsp; cont-&gt;SetValue(0,30);<BR>&nbsp; cont-&gt;SetNumberOfContours(1);</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; vtkCellLocator *cellLocator = vtkCellLocator::New();<BR>&nbsp; cellLocator-&gt;SetDataSet(cont-&gt;GetOutput());<BR>&nbsp; cellLocator-&gt;BuildLocator();<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Exclusive Video Premiere - <A href="http://launch.yahoo.com/video/?1093432&amp;fs=1&amp;redirectURL=http://launch.yahoo.com/promos/britneyspears/">Britney Spears</A></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Exclusive Video Premiere - <a href="http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yahoo.com/promos/britneyspears/">Britney Spears</a>