[vtkusers] Need Help !!!

David Doria daviddoria at gmail.com
Tue Jul 2 08:20:43 EDT 2013


On Tue, Jul 2, 2013 at 8:15 AM, rahul indoria <rahulindoria5 at gmail.com> wrote:
> Hi,
>     I am trying to use this example using .vtp file not using .vtk file
> (which is given for downloading in the example), if there is any possibility
> to use .vtp file with this example?
>
> One more thing is that, if we can convert the downloading .vtk (as given in
> example) file into .vtp file, and then, how will we use it in the given
> example.
>
> If we cannot convert this .vtk file into .vtp file, then could you please
> suggest me some .vtp file which can be use in the example:
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation

Just read the vtp with a vtkXMLPolyDataReader:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadPolyData

David



More information about the vtkusers mailing list