[IGSTK-Developers] IGSTK transform
sebastian ordas
sebastian.ordas at gmail.com
Mon Feb 7 10:30:32 EST 2011
Hi Zein,
here you are:
> 1. Is it possible to initialize (or set ) a transform with a
> transformation matrix?
vtkSmartPointer<vtkMatrix4x4> matrix = vtkSmartPointer<vtkMatrix4x4>::New();
matrix->Identity();
// set matrix values here
yourTransform.ImportTransform( *matrix.GetPointer() );
> 2. Is it possible to define a transform who never expires druring the
> life time of the program? e.g a tool calibration transfrom?
igstk::Transform identity;
identity.SetToIdentity(igstk::TimeStamp::GetLongestPossibleTime());
// set transform data here ...
best regards,
sebastian
> Thanks,
> Zein
>
>
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20110207/b58864ac/attachment-0001.html>
More information about the IGSTK-Developers
mailing list