Definition at line 276 of file SegmentationDocumentGuiAnno.h. References Impala::Core::Database::DataDocument::GetConcept(), Impala::Core::Database::RawDataSet::GetFilePath(), Impala::Core::VideoSet::SegmentationDocument::GetVideoSet(), HandleNewConcept(), Impala::Core::Database::DataDocument::HasConcepts(), ILOG_ERROR, Impala::Core::Database::DataDocument::LoadConcepts(), Impala::Visualization::DataDocumentGui< DataDocT >::mConceptField, mConceptSet, mSegDoc, Impala::Core::Database::DataDocument::SetConcept(), and OglGui::TextField::SetText(). Referenced by HandleConceptsFromFile(). 00277 { 00278 mConceptSet = fileName; 00279 if (mConceptSet.empty()) 00280 return; 00281 #ifndef REPOSITORY_USED // Here comes the deprecated stuff 00282 String fName = mSegDoc->GetVideoSet()->GetFilePath("Annotations", 00283 mConceptSet, 00284 false, false); 00285 if (fName.empty()) 00286 { 00287 ILOG_ERROR("Can't load concept file"); 00288 return; 00289 } 00290 mSegDoc->LoadConcepts(fName); 00291 #else // REPOSITORY_USED 00292 mSegDoc->LoadConcepts(fileName); 00293 #endif // REPOSITORY_USED 00294 if (mSegDoc->HasConcepts()) 00295 { 00296 mSegDoc->SetConcept(0); 00297 mConceptField->SetText(mSegDoc->GetConcept()); 00298 if (handleNew) 00299 HandleNewConcept(); 00300 } 00301 }
Here is the call graph for this function:
|