[osg-users] Retrieving information about other nodes

Peter Gebauer peter.gebauer at stockholm.bostream.se
Wed Aug 1 11:35:09 PDT 2007


Hello!

Every Node attached to a Group will return the Group's it belongs to using 
the getParents method. Each group has a getNumChildren and getChild method 
from which you can get all the children.
Get the parent (i.e Group) and you have the children (Node's).

I haven't find a convenient getChildren method for the Group though. No idea 
why.

/Peter


On 2007-08-01 (Wed) 18:36, Franclin Foping wrote:
> Hi ,
>  I have got for my scene garph. A root (Group) and 3 children nodes. 
>  I wrote the update callback for the first children. 
>  My question is to know how in that callback I can send or ask information to the two other nodes?
>  Kind regards, 
>  Franclin
> 
>        
> ---------------------------------
>  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list