<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> </DIV>
<DIV>Sorry for not reading the document more carefully!</DIV>
<DIV> </DIV>
<DIV> Luke<BR></DIV></TD></TR></TBODY></TABLE><BR><BR><B><I>Luke Hua <luke_qz@yahoo.com></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 "No cells to subdivide". I checked the source it seams the output dataset vtkContourFilter has 0 number of cells. What's wrong?</DIV>
<DIV> </DIV>
<DIV>this->cont=vtkContourFilter::New();<BR> cont->SetInput(vol);<BR> cont->SetValue(0,30);<BR> cont->SetNumberOfContours(1);</DIV>
<DIV> </DIV>
<DIV> vtkCellLocator *cellLocator = vtkCellLocator::New();<BR> cellLocator->SetDataSet(cont->GetOutput());<BR> cellLocator->BuildLocator();<BR></DIV>
<DIV> </DIV>
<DIV> </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></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>