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

int Impala::Core::VideoSet::Mpeg7Doc::ReplaceAnnotationEx ( String  annotation,
String  shotName,
int  aFrame,
int  startFrame,
int  endFrame,
double  relevance,
double  confidence 
) [inline]

Definition at line 91 of file Mpeg7Doc.h.

References FindShot(), mAnnotation, mConfidence, mEndFrame, mRelevance, mShotName, and mStartFrame.

Referenced by Impala::Visualization::SegmentationDocumentGuiAnno::DoAnno(), and ReplaceAnnotation().

00094     {
00095         int idx = FindShot(aFrame);
00096         if (idx == -1)
00097         {
00098             mAnnotation.push_back(annotation);
00099             mShotName.push_back(shotName);
00100             mStartFrame.push_back(startFrame);
00101             mEndFrame.push_back(endFrame);
00102             mRelevance.push_back(relevance);
00103             mConfidence.push_back(confidence);
00104         }
00105         else
00106         {   // assume only one kind of annotation
00107             mShotName[idx] = shotName;
00108             mStartFrame[idx] = startFrame;
00109             mEndFrame[idx] = endFrame;
00110             mRelevance[idx] = relevance;
00111             mConfidence[idx] = confidence;
00112         }
00113         return idx;
00114     }

Here is the call graph for this function:


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