108 Qt3DCore::QEntity* p3DEntityParent)
113 QList<QStandardItem*> itemList = this->
findChildren(Data3DTreeModelItemTypes::HemisphereItem);
115 bool hemiItemFound =
false;
118 for(
int j = 0; j < itemList.size(); ++j) {
120 if(pHemiItem->data(Data3DTreeModelItemRoles::SurfaceHemi).toInt() == tSurface.
hemi()) {
121 hemiItemFound =
true;
123 if(tAnnotation.
hemi() == tSurface.
hemi()) {
124 pReturnItem = pHemiItem->
addData(tSurface, tAnnotation, p3DEntityParent);
136 if(tAnnotation.
hemi() == tSurface.
hemi()) {
137 pReturnItem = pHemiItem->
addData(tSurface, tAnnotation, p3DEntityParent);
142 QList<QStandardItem*> list;
144 list <<
new QStandardItem(pHemiItem->toolTip());
145 this->appendRow(list);