[vtkusers] building cells from points

Mike Jackson imikejackson at gmail.com
Mon Apr 16 08:06:35 EDT 2007


 From memory....

vtkDelaunay3D* delaunay = vtkDelaunay3D::New();
delaunay.Set.....(); // Set all your input variables

vtkPolyData *PolyData = delaunay.getOutputPort();

Or something close to that...
--  
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Apr 16, 2007, at 4:25 AM, G.Gao at cs.ucl.ac.uk wrote:

> It may be a very old question but I still couldn't find a proper  
> solution. My question is rather simple: how to build cells within a  
> polydata object, which contains only a list of points. I have tried  
> to trianglurise the points by using the function vtkDelaunay3D.  
> However, its output is an vtkAlgorithmOutput. I have no idea how to  
> convert a vtkAlgorithmOutput to a polydata.
>
> Cheers
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on- 
> topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list