[vtkusers] Writing point cloud to .vtk using MATLAB

David Doria daviddoria at gmail.com
Wed Sep 14 12:26:56 EDT 2011


On Wed, Sep 14, 2011 at 12:21 PM, rakesh patil
<prakeshofficial at gmail.com> wrote:
> Hi,
>
> As mentioned in the pdf file
>
> http://www.vtk.org/VTK/img/file-formats.pdf
>
> There must be some scalar values for the POINT_DATA. Check for the example
> on page number 8 in that file. Your code only writes the x,y,z points in the
> file. Scalar values should follow after POINT_DATA.
>
> Hope that helps.
>
> Regards
> Rakesh Patil

Haluk,

Once you get this working I highly encourage you to post your solution here:

http://www.vtk.org/Wiki/VTK/Tutorials

as this seems like a pretty reasonable thing for other people to want
to do as well.

David



More information about the vtkusers mailing list