[Insight-users] TransformFileReader

Vincent Garcia vincent.garcia at inria.fr
Thu May 12 07:55:57 EDT 2011


Hi, 

I'm trying to read a transformation from a file and I have a little probleme. 
I use the object itk::TransformFileReader to read the file and I get the transformation as follow: 

typedef itk::TransformFileReader TransformReaderType; 
typedef TransformReaderType::TransformListType TransformListType; 
typedef TransformReaderType::TransformType BaseTransformType; 

TransformListType * list = reader->GetTransformList(); 
BaseTransformType::Pointer transform = list->front(); 

Using transform->GetNameOfClass(), I know what is the transformation class corresponds to the transfom object. 
In my case, it's a AffineTransform. However, how do I know if this transform is coded on float or on double? 

Thanks, 

Vincent Garcia 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110512/40143dff/attachment-0001.htm>


More information about the Insight-users mailing list