[vtkusers] how to 3D surface stitching?

David Doria daviddoria+vtk at gmail.com
Thu Dec 3 14:14:10 EST 2009


On Thu, Dec 3, 2009 at 5:07 AM, Dongqing Chen
<dqchen at cvip.louisville.edu> wrote:
> Hello David:
>
>    Thanks for your info. It works well using the two examples you
> provided. Now I may ask do you know how to convert 3D height map (generated
> from 2D image using shape from shading) to the XML file?
>
>    Thank you.
>
> Best Wishes,
> -----------------------------------------------------------------------------
> Dongqing Chen, Ph.D.

What format is your data in? Plain text? What does it look like? If it
is simply "x y z" then you can use:
http://www.vtk.org/Wiki/Read_a_simple_%22xyz%22_file_of_points

If you want to do the reading very manually you can use:
http://www.vtk.org/Wiki/Read_a_plain_text_file_into_a_polydata

If the file is highly structured (delimited) you can use:
http://www.vtk.org/Wiki/Read_a_delimited_file_into_a_polydata

Hope this helps!

Thanks,

David



More information about the vtkusers mailing list