Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual void Impala::Visualization::SegmentationDocumentGuiAnno::HandleSaveConcepts ( String  fileName  )  [inline, virtual]

Reimplemented from Impala::Visualization::DataDocumentGui< DataDocT >.

Definition at line 304 of file SegmentationDocumentGuiAnno.h.

References Impala::Core::Database::RawDataSet::GetFilePath(), Impala::Core::VideoSet::SegmentationDocument::GetVideoSet(), ILOG_ERROR, ILOG_INFO, mConceptSet, mSegDoc, and Impala::Core::Database::DataDocument::SaveConcepts().

00305     {
00306         mConceptSet = fileName;
00307         if (mConceptSet.empty())
00308             return;
00309 #ifndef REPOSITORY_USED // Here comes the deprecated stuff
00310         String fName = mSegDoc->GetVideoSet()->GetFilePath("Annotations",
00311                                                            mConceptSet,
00312                                                            true, false);
00313         if (fName.empty())
00314         {
00315             ILOG_ERROR("Can't save concept file");
00316             return;
00317         }
00318         ILOG_INFO("Saving concepts in " << fileName);
00319         mSegDoc->SaveConcepts(fName);
00320 #else // REPOSITORY_USED
00321         mSegDoc->SaveConcepts(fileName);
00322 #endif // REPOSITORY_USED
00323     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:46:22 2010 for ImpalaSrc by  doxygen 1.5.1