Definition at line 1734 of file RotorBrowser.h. References Impala::Visualization::RotorBrowser::RotorView::DisableVideoStills(), Impala::Visualization::RotorBrowser::RotorView::EnableVideoStills(), Impala::Visualization::RotorBrowser::RotorViewCache::FindViewFor(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetCenter(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetName(), Impala::Visualization::RotorBrowser::RotorView::GetVideoStillsEnabled(), Impala::Visualization::RotorBrowser::ThreadClusterSelector::GetVisibleShots(), Impala::Visualization::RotorBrowser::ThreadClusterSelector::IsActive(), mActiveContext, mCache, mClusterSelector, mDocument, and ShowStatusStr(). Referenced by StdKeyboardFunc(). 01735 { 01736 RotorView* v; 01737 String cName = mActiveContext->GetName(); 01738 if (mClusterSelector->IsActive()) 01739 { // start playing all video's at once. 01740 std::vector<int> shots = mClusterSelector->GetVisibleShots(); 01741 for (int i=0; i<shots.size(); i++) 01742 { 01743 if (!(v = mCache->FindViewFor(cName,shots[i]))) 01744 continue; 01745 if (v->GetVideoStillsEnabled()) 01746 v->DisableVideoStills(); 01747 else 01748 v->EnableVideoStills(mDocument); 01749 } 01750 return; 01751 } 01752 01753 if (v = mCache->FindViewFor(cName,mActiveContext->GetCenter())) 01754 { 01755 bool enabled = v->GetVideoStillsEnabled(); 01756 if (enabled) 01757 v->DisableVideoStills(); 01758 else 01759 v->EnableVideoStills(mDocument); 01760 ShowStatusStr("Center shot video player",!enabled); 01761 } 01762 }
Here is the call graph for this function:
|