+ vtkIdType id3Gts(it3->Next());
+ vtkAdjacentVertexIterator *it3Gts(vtkAdjacentVertexIterator::New());//geo types in fields !
+ g2->GetAdjacentVertices(id3Gts,it3Gts);
+ QString toolTipName2(name2);
+ while(it3Gts->HasNext())
+ {
+ vtkIdType idGt(it3Gts->Next());
+ std::string gtName((const char *)verticesNames2->GetValue(idGt));
+ toolTipName2=QString("%1\n- %2").arg(toolTipName2).arg(QString(gtName.c_str()));
+ }
+ item2->setData(0,Qt::ToolTipRole,toolTipName2);
+ it3Gts->Delete();