osg::Node* TeslaManage::findOsgNodeByName(QString &nodeNme) { osg::Node* findNode = NULL; std::vector<osg::Node*>::iterator vec_iter; for (vec_iter = allOsgNode.begin();vec_iter != allOsgNode.end();++vec_iter) { osg::Node *node_index = *vec_iter; if (QString::fromStdString(node_index->getName())==nodeNme) { //findNode = node_index; return node_index; } } return findNode; }