[vtkusers] converting .obj to .vtp
David Doria
daviddoria at gmail.com
Wed Aug 28 07:37:20 EDT 2013
On Wed, Aug 28, 2013 at 12:43 AM, Greg Hanowski <greg at tekknow.net> wrote:
> David,
> ReadOBJ looks good but unfortunately WriteVTP appears to be only a demo of
> how to write 10 points in .vtp format, not an entire model.
> Any other ideas?
> Greg
vtkXMLPolyDataWriter takes a vtkPolyData as its input (through
SetInputData or SetInputConnection). vtkOBJReader produces a
vtkPolyData (through it's GetOutput or GetOutputPort). You can connect
the two directly.
David
More information about the vtkusers
mailing list