[vtkusers] Problem: vtkcontourfilter and vtkcelllocator
Luke Hua
luke_qz at yahoo.com
Wed Oct 29 17:09:32 EST 2003
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?
this->cont=vtkContourFilter::New();
cont->SetInput(vol);
cont->SetValue(0,30);
cont->SetNumberOfContours(1);
vtkCellLocator *cellLocator = vtkCellLocator::New();
cellLocator->SetDataSet(cont->GetOutput());
cellLocator->BuildLocator();
---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031029/aac94c48/attachment.htm>
More information about the vtkusers
mailing list