<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Zein,<br>
<br>
Based on your description, I am not sure if this is problem of the
igstk code or the the way calibration transform is being setup. <br>
<br>
To verify the code, you can call <b>GetCalibrationTransform()</b>
to verify the input.<br>
<br>
tool->SetCalibrationTransform( toolCalibrationTransform );<br>
igstk::Transform toolCalibrationTransform;<br>
toolCalibrationTransform = tool->GetCalibrationTransform();<br>
<br>
When you say the <b>rotation is not correct</b>, probably it's
because the assumption of the tool local coordinate system is wrong.<br>
For instance, you might think the long axis of the tool is Z, but in
fact it's not.<br>
<br>
Here is the graph representing coordinate system assumptions used in
IGSTK (IGSTK: The Book, page 139). It's a good reference.<br>
<br>
<img src="cid:part1.04040108.01000008@isis.georgetown.edu" alt=""><br>
<br>
<br>
On 2/24/2011 9:44 AM, Zein Salah wrote:
<blockquote
cite="mid:AANLkTimAoNmrCbcDXpRNyg1_33xT2OLHnvVVrnNxLz6t@mail.gmail.com"
type="cite"><font size="2">The program works but the calibration
transform is not not really accurate ( there is a deviation in
the rotation</font></blockquote>
</body>
</html>