[vtkusers] How to process the "Delaunay3D" ?

Dominik Szczerba domi at vision.ee.ethz.ch
Sat Apr 8 14:57:08 EDT 2006


dont you need Update() on delaunay3d?
--ds

David Imboden wrote:
> I want to connect points with Delaunay3D. How to obtain a list of the points
> to be connected? 
> 
>  
> 
> How to process the "Delaunay3D" ?
> 
>  
> 
> I have made the following code but I obtain only the points and not the list
> to be connected. 
> 
>  
> 
> Thank you
> 
>  
> 
>  
> 
>  
> 
> [code]
> 
>       p->InsertNextPoint(0,0,0) ;
> 
>       p->InsertNextPoint(3,3,3) ;
> 
>       p->InsertNextPoint(50,50,50) ;
> 
>       p->InsertNextPoint(20,20,20) ;
> 
>  
> 
>       pd->SetPoints(p) ;
> 
>       delaunay3d->SetInput(pd) ;
> 
>  
> 
>       uGridW->SetInput(delaunay3d->GetOutput()) ;
> 
>  
> 
>       uGridW->SetFileName("test.txt") ;
> 
>       uGridW->Write() ;
> 
> [/code]
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

-- 
Dominik Szczerba, Dr.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list