Definition at line 1647 of file RotorBrowser.h. References depth, Impala::Visualization::RotorBrowser::RotorViewCache::FindViewFor(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetCenter(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetDepth(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetName(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetRelative(), Impala::Visualization::RotorBrowser::RotorViewCache::GetViews(), Impala::Visualization::RotorBrowser::ThreadClusterSelector::GetVisibleShots(), Impala::Visualization::RotorBrowser::ThreadClusterSelector::IsActive(), mActiveContext, mAutoStills, mCache, mClusterSelector, ShowHideStill(), STILLS_ACTIVE, STILLS_ALL, STILLS_CENTER, STILLS_NEARCENTER, and STILLS_NONE. Referenced by StartStills(), and StopStills(). 01648 { 01649 if (mAutoStills == STILLS_NONE) 01650 return; 01651 01652 RotorView* v; 01653 String cName = mActiveContext->GetName(); 01654 if (mClusterSelector->IsActive()) 01655 { 01656 std::vector<int> shots = mClusterSelector->GetVisibleShots(); 01657 for (int i=0; i<shots.size(); i++) 01658 if (v = mCache->FindViewFor(cName,shots[i])) 01659 ShowHideStill(v,start); 01660 return; 01661 } 01662 01663 if (mAutoStills == STILLS_CENTER) 01664 { 01665 if (v = mCache->FindViewFor(cName,mActiveContext->GetCenter())) 01666 ShowHideStill(v,start); 01667 } 01668 if (mAutoStills == STILLS_NEARCENTER) 01669 { 01670 for (int i=-2; i<=+2; i++) 01671 if(v=mCache->FindViewFor(cName,mActiveContext->GetRelative(i))) 01672 ShowHideStill(v,start); 01673 } 01674 if (mAutoStills == STILLS_ACTIVE) 01675 { 01676 int depth = mActiveContext->GetDepth(); 01677 for (int i = -depth; i<= depth; i++) 01678 if(v=mCache->FindViewFor(cName,mActiveContext->GetRelative(i))) 01679 ShowHideStill(v,start); 01680 } 01681 if (mAutoStills == STILLS_ALL) 01682 { 01683 RotorViewList views = mCache->GetViews(); 01684 RotorViewList::const_iterator i; 01685 for (i=views.begin(); i != views.end(); i++) 01686 if ((*i)->IsCurrentlyShown()) 01687 ShowHideStill(*i,start); 01688 } 01689 }
Here is the call graph for this function:
|