like you do this in c++. static_cast<Pos...Tran.>(parent) != NULL you found it, otherwise
parent = parent->getParent(i)



2006/5/20, Matthias Ferch < [EMAIL PROTECTED]>:
hi! the situation is the following:

i have a pointer to a geode, and i know that one of its parents is a
positionattitudetransform. i need a pointer to this transform. so what i
need to do is create a pointer which points to the parent of this geode,
check if it's a positionattitudetransform, if yes then return, otherwise
get the next parent etc.. right? how can i do this in osg? all my
attempts failed :( thanks!
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to