<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>