From: Ahmed Nawar (Ahmed.Nawar_at_bibalex.org)
Date: Thu Jan 03 2008 - 00:28:31 CST

Dear All

My question very technical.
Please I need the answer from VMD Programmers.

In displaydevice.c :line 548

// just check to see if the position is in a box centered on our
// pointer. The pointer position should already be transformed.
            inRegion = (pntpos[0] >= fminX && pntpos[0] <= fmaxX &&
                        pntpos[1] >= fminY && pntpos[1] <= fmaxY &&
                        pntpos[2] >= fminZ && pntpos[2] <= fmaxZ);

The comment say "The pointer position should already be transformed."

I tried to trace the code And I found that
the input position to the function is get from the real wand position and no transformation happened.
But freevr picking done correctly.

So please,I want to know Where is this transformation happed in the code or How?
and how i can get the real and the transformed pointer position.

Thanks,

Ahmed Nawar