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

void Impala::Application::Repository::DoCopySegmentation (  ) 

Definition at line 665 of file mainRepository.cpp.

References Impala::CmdOptions::GetBool(), Impala::CmdOptions::GetInstance(), GetSegmentationLocator(), GetVideoSet(), and ILOG_VAR.

Referenced by mainRepository().

00666 {
00667     ILOG_VAR(Impala.Application.Repository.DoCopySegmentation);
00668     CmdOptions& options = CmdOptions::GetInstance();
00669 
00670     SegmentationLocator loc1 = GetSegmentationLocator(options, true);
00671     VideoSet* vidSet = GetVideoSet(options, true);
00672     Segmentation* seg = SegmentationRepository().Get(loc1, vidSet);
00673 
00674     SegmentationLocator loc2 = GetSegmentationLocator(options, false);
00675     if (options.GetBool("sync"))
00676         SegmentationRepository().Sync(loc2, seg);
00677     else
00678         SegmentationRepository().Add(loc2, seg);
00679     delete seg;
00680     delete vidSet;
00681 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:46 2011 for ImpalaSrc by  doxygen 1.5.1