[IGSTK-Users] Camera positioning and orientation based on Spatial Object

Aswin Mathews aswinjohn at gmail.com
Thu May 22 11:09:56 EDT 2008


Hi,

I want to bind my View to a Spatial Object. That is, I want the Camera
position and orientation to be a function of the Transform of a particular
spatial object. Essentially, this is to give the surgeon the view at the end
of a catheter.

I was thinking of adding the lines to igstkView::RefreshRender(). Is there a
better / less painful way to achieve this?

How about a m_CameraTransform variable in igstkView which can be bound to a
igstkSpatialObject:m_Transform (using some Request function) which is then
automatically taken into consideration during igstkView::RefreshRender() ?

Any help is appreciated.
Thanks,

Aswin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20080522/56846cc9/attachment.html>


More information about the IGSTK-Users mailing list