[Insight-users] Re: Streaming Classes

Luis Ibanez luis.ibanez@kitware.com
Thu, 30 Jan 2003 09:47:28 -0500


Hi Kumar,

We haven't defined a file format for
serializing classes like the vnl_vector
or the Array.

Probably the closest thing to serialization
at this point is the Print() method of each
class. However Print() is more oriented to
support debugging than to manage data storage.

You may want to come up with a file format
that fit your needs... or look at the support
in vnl for writing matrices in MatLab format.


   Luis


---------------------

kumar wrote:
> Hello Everyone
> I want to write a vnl_vector or itk::Array , Array2D to a file
> Are there any stream classes in itk  which assists  one to write them to 
> files
> 
> And are there  serialization concepts present in itk!!!
> 
> Thanks and Regards
> Kumar
>