[vtkusers] How to handle camera to travel inside a tube or endoscopic view

Prashanth Udupa prashanth.udupa at gmail.com
Thu Feb 1 02:04:46 EST 2007


Hi Vaibhav,

I had worked on a similar problem a couple of months back. One of
the methods I considered was this, may be I took the longer route.

There are some algorithms on the Net called CenterLine Algorithms.
http://adsabs.harvard.edu/abs/1999SPIE.3660..225B might be interesting
to you. Using these algorithms you can pass a line through the center of
the colon and then you can move vtkCamera along that line.

Best Regards,
Prashanth

On 2/1/07, vaibhav agarwal <vaibhav_19842002 at yahoo.co.in> wrote:
> Hi,
>
> (i am sorry to resend this mail as my previous mail
> hasn't reach on the mailing list in 3 days)
>
> I am trying to simulate a medical data. I have the
> colon, it is a tube kind of structure. I have
> generated the axis of this complex structure. The tube
> like structure is hollow inside.
>
> Now what i want, i want my camera to move along the
> direction of axis. So basically there would be two
> directions forward and backword along the axis, which
> i want to bind to two keys.
>
> How should i go about this problem? Any suggestion,
> pointers or help is warmly welcomed.
>
> vaibhav
>
>
>
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>


-- 
Thanks and Warm Regards,
Prashanth N Udupa
     EMail:      prashanth.udupa at gmail.com
     Website: http://www.prashanthudupa.com
     LJ: http://prashanthudupa.livejournal.com/



More information about the vtkusers mailing list