[vtkusers] How can i view the edges inside an UnstructuredGrid?

Yasser Bashir itk_at_stanford at yahoo.com
Thu Mar 4 14:19:55 EST 2004


 
Hi Longfei,
 
You can use the vtkClipVolume filter to genrerate a tetrahedral mesh
from an image in voxel space.  The output will be an unstructuredgrid
with tetrahedral cells.
 
vtkImageData* image = importer->GetOutput();

//VTK convert image to unstructured grid i.e. tetrahedrons.

cout << "\nClipping Volume"; 

clip = vtkClipVolume::New();

clip->SetInput(image); 

clip->SetValue(0);

clip->Update();

 

 

If this doesnt work for you, try vtkDelaunay3D.

 

Hope this helps.

 

Yasser.

 

-----Original Message-----
From: Longfei Cong [mailto:lfcong at nlpr.ia.ac.cn] 
Sent: Thursday, March 04, 2004 12:54 AM
To: Yasser Bashir
Subject: Re: [vtkusers] How can i view the edges inside an
UnstructuredGrid?



Hi Yasser Bashir£¬

 I am a beginer of VTk. Could you please help me with tetrahedral mesh
generation and give some example about tetrahedral mesh generation.
Thanks a lot!
 Best regards!





Hi,
 
Does any one know a way to display edges inside an unstrucutred grid
when viewing it in the wireframe mode?
 
I know i can extract edges and make them display separately but that
makes the scene very heavy.. 
 
Any help will be greatly appreciated.

Yasser



  _____  

Do you Yahoo!?
Yahoo! Search - Find  <http://search.yahoo.com/?fr=ad-mailsig-home> what
you’re looking for faster. 

= = = = = = = = = = = = = = = = = = = = = = 

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡

 
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Longfei Cong
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡lfcong at nlpr.ia.ac.cn
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-03-04
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040304/30f9f336/attachment.htm>


More information about the vtkusers mailing list