[Insight-developers] FW: Creating new transform IO

Michael Stauffer (Circular Logic) mstauff at verizon.net
Tue Nov 16 20:24:11 EST 2010


Hi again,

Sorry, I see now that the read/write is done via separate TransformIO
classes, e.g. itkMatlabTransformIO. But overall, it seems the new
"WithFactory" method is the way to go?

Cheers,
Michael 

>-----Original Message-----
>From: Michael Stauffer (Circular Logic) [mailto:mstauff at verizon.net] 
>Sent: Tuesday, November 16, 2010 8:07 PM
>To: ITK-dev-list (insight-developers at itk.org)
>Subject: Creating new transform IO
>
>ITK 4
>Hi,
>
>I need to add IO for a couple new transform classes that don't 
>have conventional members. The older code looks hardcoded for 
>just the basic transform members. 
>
>Should I use 
>Code/Review/itkTransformFile[Reader|Writer]WithFactory? How do 
>I do this? Looking at itkMatlabTransformIOFactory and 
>itkTxtTransformIOFactory, I don't see how to override a Read 
>or Write routine, or similar. Is there any documentation on 
>this apart from the source files? Thanks.
>
>Cheers,
>Michael



More information about the Insight-developers mailing list