Re: [osg-users] why geode==null,please read my follow ing codes.Thanks。

2009-11-17 Thread Andre Simoes
Most of the types you're trying to handle are Nodes as superclass. Probably you'll have to use getNode for the case and than verify the class with dynamic_cast or className() that is a member from Node if you want to retrieve the class type. Andre Simoes 2009/11/17 Xiao Han osgfo...@tevs.eu

Re: [osg-users] why geode==null,please read my follow ing codes.Thanks。

2009-11-17 Thread Thrall, Bryan
Xiao Han wrote on Tuesday, November 17, 2009 10:13 AM: How can I get group's geodes? Thanks. The best way is to create a subclass of osg::NodeVisitor and override the visit(osg::Geode) function. There are lots of examples that do this, such as the osgcallback example. Wang Rui wrote: Hi