[Insight-users] How to write the content of e.g. itkMatrix in TCL

Frank Lindseth Frank.Lindseth@sintef.no
Wed, 9 Apr 2003 13:18:21 +0200


Hi all,

Can somebody tell me how to write the content of the following objects 
(m,o,p)
to the command line in TCL: puts ?
(I wont to know the exact result of an registration for debugging 
purposes)

% package require InsightToolkit
1.2
% set t [ itk::create AffineTransform3 ]
% set m [$t GetMatrix]
% set o [$t GetOffset]
% set p [$t GetParameters]
% puts $o
_cxx0x3be9800

thanks