Hello Carsten,

On 11.10.2013 13:12, Carsten Neumann wrote:

>>
>> Of course one could track all visited nodes of the branch but I see no
>> value in doing that.
>
> oh, it just seemed simpler to do and avoid having to worry about it
> again if something similar comes up in the future ;)
>
you are probably right :-)

>
> hmm, VisitSubTree just registers a callback with the IntersectAction
> when the it is being left, no?
>
only on entering but not on leaving.

>
> ok, sounds good to me, it's pretty close to what I was thinking of.
>
:-)

>
> ok, that is inelegant, on the other hand it is a six line callback.
>
yes, but who knows what changes...

>
> Anyway, I'm attaching a quick attempt at a patch that tracks the whole
> path from root to hit object and makes it available as IA::getHitPath().
>
excellent!


Best,
Johannes



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to