[vtkusers] question about class vtkPolyDataReader

Peter Spring meancity at gmail.com
Mon Jan 29 04:18:01 EST 2007


i did not download the file you attached. but i can give u some info.
vtk data can either be in binary format or in ASCII format.

if it is in ASCII format, u can simply use notepad to open it and
kinda readable.

but if it is in binary, then ...

ok , i wonder if you generate the test.vtk by yourself or u download
from somewhere
if you generate it from by urself, then please give polydatawriter
more time to let it generate complete dataset. sometimes people just
close the generating program fast and the program is not able to
generate complete dataset. and when reading in the incomplete dataset,
it shows some error...

i am not how to know whether the data set is completed or not. but one
way i do i keep on probing the file size of the vtk data while i am
generating it. if the file size no more change then i assume the
generation is completed..... stupid way huh? :P

hope it helps..




On 1/26/07, yuan luo <nirvanaforu at hotmail.com> wrote:
> Hi there:
>    I dont know why I always got some error message "unrecognizable file
> type" when I tried to read the following file? What I did is trying to use
> vtkPolyDataReader to read the file only with float point numbers (as the
> attachment "test.vtk"). Is there anything wrong? What exact data format
> about .vtk file? where can I find the description about it? Anyone has an
> idea about it. Thanks a lot, guys!
>
> Best Regards,
> Tomy
>
> _________________________________________________________________
> >From predictions to trailers, check out the MSN Entertainment Guide to the
> Academy Awards(r)
> http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>



More information about the vtkusers mailing list