<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Zein,<br>
<br>
here you are: <br>
<blockquote
cite="mid:AANLkTinx45YbTLaRkWj7LKXE1fUfEe992Pq6notQD1Vq@mail.gmail.com"
type="cite">
<div>1. Is it possible to initialize (or set ) a transform with a
transformation matrix? </div>
<div> </div>
</blockquote>
<br>
vtkSmartPointer<vtkMatrix4x4> matrix =
vtkSmartPointer<vtkMatrix4x4>::New();<br>
matrix->Identity();<br>
// set matrix values here<br>
yourTransform.ImportTransform( *matrix.GetPointer() );<br>
<br>
<blockquote
cite="mid:AANLkTinx45YbTLaRkWj7LKXE1fUfEe992Pq6notQD1Vq@mail.gmail.com"
type="cite">
<div>2. Is it possible to define a transform who never expires
druring the life time of the program? e.g a tool calibration
transfrom?</div>
</blockquote>
igstk::Transform identity;<br>
identity.SetToIdentity(igstk::TimeStamp::GetLongestPossibleTime());<br>
// set transform data here ...<br>
<br>
best regards,<br>
sebastian<br>
<blockquote
cite="mid:AANLkTinx45YbTLaRkWj7LKXE1fUfEe992Pq6notQD1Vq@mail.gmail.com"
type="cite">
<div> </div>
<div>Thanks,</div>
<div>Zein </div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
IGSTK-Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IGSTK-Developers@public.kitware.com">IGSTK-Developers@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers</a></pre>
</blockquote>
<br>
</body>
</html>