[vtkusers] best way to export a surface and reload it
João Domingos
joao.sousa.domingos at gmail.com
Thu May 24 14:10:40 EDT 2012
Hey all,
I have a closed surface, basically an elipse, defined by:
cf = vtk.vtkContourFilter
cf.SetInputConnection(surf.GetOutputPort())
cf.SetNumberOfContours(0)
cf.SetValue(0,0)
How can I export this cf surface to a file and how can I read it on
later and simply use it, just as if I had created it?
I took a look at teh vtkOBJExporter and vtkOBJReader, but this saves a
vtkrenderwindow... not a surface.
Big thanks in advance,
Joao
More information about the vtkusers
mailing list