Definition at line 395 of file AllFramesTLineVideo.h. References Impala::Core::Database::DataDocument::GetConcept(), Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathAnnotation(), Impala::Core::Database::RawDataSet::GetLocator(), Impala::Core::VideoSet::SegmentationDocument::GetVideoSet(), Impala::Core::Table::AnnotationTable::MakeFromFile(), mAnnoTables, mConceptAnnotations, mSegDoc, Impala::Core::Database::DataDocument::NrConcepts(), and Impala::QUID_CLASS_FRAME. Referenced by Init(). 00396 { 00397 AnnotationTable *anno; 00398 00399 for (int i=0; i<mSegDoc->NrConcepts(); i++) 00400 { 00401 anno = 0; 00402 Core::VideoSet::VideoSet* vidSet = mSegDoc->GetVideoSet(); 00403 #ifndef REPOSITORY_USED // Here comes the deprecated stuff 00404 std::string fName = vidSet->GetFilePathAnnotation 00405 (QUID_CLASS_FRAME, mConceptAnnotations, 00406 mSegDoc->GetConcept(i)+".tab", false, false); 00407 if (fName.empty()) 00408 printf("No annotions for %s\n", mSegDoc->GetConcept(i).c_str()); 00409 else 00410 anno = Core::Table::AnnotationTable::MakeFromFile 00411 (mSegDoc->GetConcept(i), fName, vidSet->GetDatabase()); 00412 #else // REPOSITORY_USED 00413 typedef Persistency::AnnotationTableLocator AnnoLoc; 00414 AnnoLoc loc(vidSet->GetLocator(), QUID_CLASS_FRAME, 00415 mConceptAnnotations, mSegDoc->GetConcept(i)); 00416 anno = Persistency::AnnotationTableRepository().Get(loc); 00417 #endif // REPOSITORY_USED 00418 if (anno) 00419 mAnnoTables.push_back(anno); 00420 } 00421 }
Here is the call graph for this function:
|