1 #ifndef __GeodeFinder_h 2 #define __GeodeFinder_h 5 #ifdef HAS_OPENSCENEGRAPH 6 #include <osg/NodeVisitor> 7 #include <osg/Transform> 18 class GeodeFinder :
public osg::NodeVisitor {
30 GeodeFinder(osg::Node &searchNode);
35 void apply(osg::Node &searchNode);
39 osg::Geode* getFirst();
42 std::vector<osg::Geode*>& getNodeList();
46 std::vector<osg::Geode*> m_found_geode_set;
47 std::vector<osg::NodePath*> m_found_geode_path_set;
56 #endif // __GeodeFinder_h