[IGSTK-Developers] IGSTK transform

Patrick Cheng cheng at isis.georgetown.edu
Mon Feb 7 12:20:05 EST 2011


Hi Zein,

1. Yes

You can do:
this->m_Transform = new Transform(*t);

or

/** Set the content of the transformation from a vtkMatrix4x4.
  */
void ImportTransform( vtkMatrix4x4 & matrix );


2. Yes

igstk::Transform transform;
transform.SetToIdentity( igstk::TimeStamp::GetLongestPossibleTime() );
cylinder->RequestSetTransformAndParent( transform, m_GUI->View );

Patrick

On 2/7/2011 10:17 AM, Zein Salah wrote:
> Hello,
> I have two questions about igstk::transform
> 1. Is it possible to initialize (or set ) a transform with a
> transformation matrix?
> 2. Is it possible to define a transform who never expires druring the
> life time of the program? e.g a tool calibration transfrom?
> Thanks,
> Zein
>
>
>
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers



More information about the IGSTK-Developers mailing list