Definition at line 2454 of file RotorBrowser.h. References Impala::Visualization::RotorBrowser::RotorBrowserContext::GetDirection(), M_PI, mActiveContext, mActiveHorizontal, mBrowseMode, mBusyManaging, mContexts, MODE_ROTORBROWSER, and Impala::Visualization::RotorBrowser::RotorBrowserContext::SetDirection(). Referenced by AddContext(), ManageRotorContexts(), RemoveContext(), SwitchToContext(), and SwitchToNextContext(). 02455 { 02456 if (mBusyManaging || mBrowseMode != MODE_ROTORBROWSER) 02457 return; 02458 02459 if (mActiveHorizontal) 02460 mActiveContext->SetDirection(0.0); 02461 02462 double cDi = M_PI / ((double)mContexts.size()+1); 02463 double cD = mActiveContext->GetDirection() + cDi; 02464 RotorBrowserContextList::const_iterator context; 02465 for (context=mContexts.begin(); context!=mContexts.end(); context++) 02466 { 02467 (*context)->SetDirection(cD); 02468 cD += cDi; 02469 } 02470 }
Here is the call graph for this function:
|