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

void Impala::Application::DemoCamera2d::SetCurDemo ( std::string  d  ) 

Definition at line 406 of file mainDemoCamera2d.cpp.

References curDemo, curInvList, demo, DemoCompInv(), DemoE(), DemoEinv(), DemoNJet(), DemoRGB(), DemoRGBinv(), DemoSource(), nrDemo, and oglWnd.

Referenced by mainDemoCamera2d(), and Impala::Application::DemoCamera2d::WindowCamera2d::MouseFunc().

00407 {
00408     curInvList.clear();
00409     if (oglWnd)
00410         oglWnd->DeleteViewers();
00411 
00412     for (int i=0 ; i<nrDemo ; i++)
00413         if (demo[i] == d)
00414             curDemo = i;
00415 
00416     switch (curDemo) {
00417     case 0: DemoSource(); break;
00418     case 1: DemoNJet(); break;
00419     case 2: DemoE(); break;
00420     case 3: DemoEinv(); break;
00421     case 4: DemoRGB(); break;
00422     case 5: DemoRGBinv(); break;
00423     case 6: DemoCompInv(); break;
00424     default: DemoCompInv(); break;
00425     }
00426 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:39:09 2010 for ImpalaSrc by  doxygen 1.5.1