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

virtual void Impala::Core::VideoSet::VxsDocument::LoadBookmarked ( std::string  fileName  )  [inline, virtual]

Definition at line 373 of file VxsDocument.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get5(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get6(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get7(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn9(), Impala::Core::Database::DataDocument::GetDataSet(), Impala::Core::Database::RawDataSet::GetFileId(), mBookmarked, mBookmarkedFileName, Impala::Core::Table::TableVxs::ReadVxsFile(), and Impala::Core::Table::Table::Size().

Referenced by Impala::Core::VideoSet::MakeVxsDocument().

00374     {
00375         mBookmarkedFileName = fileName;
00376         mBookmarked->ReadVxsFile(fileName);
00377         Database::RawDataSet* dataSet = GetDataSet();
00378         for (int i=0 ; i<mBookmarked->Size() ; i++)
00379         {
00380             int fileId = dataSet->GetFileId(mBookmarked->Get6(i),
00381                                             mBookmarked->Get7(i),
00382                                             mBookmarked->Get5(i));
00383             mBookmarked->GetColumn9()->Set(i, fileId);
00384         }
00385         /* todo done?
00386         std::vector<CxVxRectZ> vrList;
00387         CxFxReadVxRectZ(std::back_inserter(vrList), fileName);
00388         for (int i=0 ; i<vrList.size() ; i++)
00389         {
00390             int id;
00391             if (HasShots())
00392             {
00393                 CxString shotName = vrList[i].mExtra;
00394                 int shotId = mShots->GetSegmentId(shotName);
00395                 int startIdx = mShots->GetFirstKeyframeId(shotId);
00396                 int endIdx = startIdx + mShots->GetNrKeyframes(shotId);
00397                 int frameNr = vrList[i].mStartFrame;
00398                 int frameId = mKeyframes->GetFrameId(frameNr, startIdx, endIdx);
00399                 vrList[i].mExtra = CxMakeString(frameId);
00400                 id = shotId;
00401             }
00402             else
00403             {
00404                 id = vrList[i].mStartFrame;
00405             }
00406             mBookmarked->AddIdWithAny(id, vrList[i]);
00407         }
00408         */
00409     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:18 2011 for ImpalaSrc by  doxygen 1.5.1