[vtkusers] Convert Unstructured Grid to Structured Points

Álvaro González Lorente sapito_verbenero at hotmail.com
Tue Apr 13 08:49:59 EDT 2010


Hello,

I am new to VTK, and I was hoping someone could help me 
out with my problem.

I am trying to convert an unstructured grid 
into an structured points vtk format, so I was wondering which 
option would be the wisest. I have read about the vtkGenericProbeFilter 
and vtkImageDataGeometryFilter, but I still dont know how to make them 
work.

What I have so far is my unstructured grid:

       
 reader = vtk.vtkUnstructuredGridReader()
        
reader.SetFileName("file")
        reader.Update()
        
       
 unsgrid = reader.GetOutput()

How should I proceed now?

Thanks in advance!
 		 	   		  
_________________________________________________________________
¡Citas! ¡Ligues! ¿Salimos? ¿Cómo es tu pareja ideal? Búscala en el sitio nº1… ¡Regístrate ya!
http://contactos.es.msn.com/?mtcmk=015352
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100413/b097d7f5/attachment.htm>


More information about the vtkusers mailing list