Example #1
0
NodePtr PhysicsGeometryFinder::operator() (NodePtr root)
{
    _found=NullFC;

    traverse(root, osgTypedMethodFunctor1ObjPtrCPtrRef(
        this, 
        &PhysicsGeometryFinder::check));

    return _found;
}
 NodePtr operator() (NodePtr root, std::string name)
 {
     _name=&name;
     _found=NullFC;
     
     traverse(root, osgTypedMethodFunctor1ObjPtrCPtrRef(
                         this, 
                         &NamedNodeFinder::check));
     
     return _found;
 }