[Insight-users] class to read a particular vtk volume file format

Luca Ramundo luca.ramundo at hotmail.it
Fri Mar 13 05:14:16 EDT 2009




Good morning to everybody.. 
I just realized that itk::VTKPolyDataReader can't read vtk volume file 
generated by 3d slicer, because they are in this format:

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA

POINTS 1133020 float
199.136 -150.881 -239.5 199.622 -151.367 -239.5 198.65 -151.367 -239.5 
199.136 -151.853 -239.5 -25.7835 66.3319 -237.304 -25.3113 66.777 -236.915
....
TRIANGLE_STRIPS 445653 3330447

5 3 1 157 1004315 1004323 

4 1004312 1004317 2 1004316

....
POINT_DATA 1133020
NORMALS Normals float
0.595081 0.790784 0.143313 0.705415 -0.692988 0.148853 -0.552367 -0.827869 0.0975907 
0.699426 -0.699448 0.146886 0.326156 0.151973 -0.93302 0.428621 0.361994 -0.827795 
0.630414 -0.0941555 
....

while itk::VTKPolyDataReader research for polygons line! :-(

Does it exist a class reader for my particular type of file?





Organizza, modifica e condividi le tue foto.  Scarica Raccolta foto!
_________________________________________________________________
Scopri le keyword più cercate della settimana!
http://clk.atdmt.com/GBL/go/136430524/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090313/aff02dd7/attachment-0001.htm>


More information about the Insight-users mailing list