[Insight-users] itkPointSetFileWriter?

Luis Ibanez luis.ibanez at kitware.com
Sat Jul 4 15:01:34 EDT 2009


Hi David,


You may want to take a look at

Insight/Code/Review
     itkVTKPolyDataReader.h
     itkVTKPolyDataReader.txx
     itkVTKPolyDataWriter.h
     itkVTKPolyDataWriter.txx


They will Write and Read VTK legacy files.

They have been used mostly with itk::Mesh
but they should work fine with itk::PointSet.


Please let us know if you find any problem,


     Thanks


        Luis


----------------------------
David Doria wrote:
> Is there an itkPointSetWriter? Or are you supposed to convert pointsets 
> to images using PointSetToImageFilter and then use itkImageWriter? I 
> have been using VTK and am just learning ITK so I am trying to draw 
> parallels... it seems like an itkImage is like a vtkStructuredGrid, and 
> an itkPointSet is like a vtkUnstructuredGrid/vtkPolyData. The reason I 
> am looking for an itkPointSetFileWriter is because there is a 
> vtkPolyDataWriter which I use to write unstructured 3d point sets.
> 
> Am I missing something? Or can someone explain how point clouds are 
> intended to be stored/retrieved with itk? I noticed in some examples 
> (i.e. ICP) that the points were just stored as ascii values in a .txt 
> file - is this the standard procedure?
> 
> Thanks,
> 
> David
> 
> 
> ------------------------------------------------------------------------
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list