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

std::vector<OGLIMAGE*> Impala::Application::SDash::IdentificationPane::GetPositives ( bool  doClear = false  )  [inline]

Definition at line 331 of file IdentificationPane.h.

References ClearPositives(), OglGui::OglWindow::GetOGLWND(), mPositivesViewStrip, and Impala::Application::DemoCamera2d::oglWnd.

Referenced by AddPositive().

00332     {
00333         LIST*    obj;
00334         OGLVIEW* oglView;
00335         OGLWND*  oglWnd = mPositivesViewStrip->GetOGLWND();
00336         std::vector<OGLIMAGE*> result;
00337         ForAllElements(obj, oglWnd->objectList)
00338         {
00339             oglView = (OGLVIEW*) obj->info;
00340             // result.push_back(oglView->im);
00341             // RvB: OGLIMAGES are refCounted. Replaced line above
00342             // with next two lines. GetImage increases refCount
00343             OGLIMAGE* im = viewSys.GetImage(oglView);
00344             result.push_back(im);
00345         }
00346 
00347         if (doClear)
00348             ClearPositives();
00349         return result;
00350     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:49:15 2010 for ImpalaSrc by  doxygen 1.5.1