I tried to do totrial "Finding and Manipulating a Switch and DOF Node".I
download the code for findNodeVisitor class and copy the source from tutorial
which is publicated on site. In code from site it is used:
......
findNodeVisitor findNode("sw1");
tankTwoGroup->accept(findNode);
osgSim::MultiSwitch* tankSwitch = NULL; tankSwitch = dynamic_cast
<osgSim::MultiSwitch*> (findNode.getFirst());
but method getFirst() of class findNodeVisitor doesn't exist. I tried do this
but it gave me error because of impossible cast of type:
osg::Node* findNodeVisitor::getFirst()
{
return foundNodeList._Myfirst;
}
---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel
bargains._______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/