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

void OglGui::ChangingToDemo::ToStack (  )  [inline, protected]

Definition at line 188 of file ChangingToDemo.h.

References mDuration, mDurExtra, mode, OglGui::ChangingToView::MoveTo(), mRotDurationExtra, OglGui::ChangingToView::RotateTo(), OglGui::sChNrViews, OglGui::sChViews, OglGui::sChXRot, OglGui::sChYRot, and OglGui::sChZRot.

Referenced by SelectMode(), and WindowKeyboardEvent().

00189     {
00190         mode = 4;
00191         for (int j=0; j<sChNrViews; j++)
00192         {
00193             OGLVIEW3D* v3D = sChViews[j]->GetOGLVIEW3D();
00194             view3DSys.SetRotation(v3D,0,0,0);
00195             int duration = mDuration + j*mDurExtra;
00196             float rad = DEG2RAD(j*(360.f/sChNrViews));
00197             float off = (j%(sChNrViews-1)) ? 0 : 0.5;
00198             float n = (sChNrViews-j)/20.;
00199             sChViews[j]->MoveTo(n + off, -n + off, -33 + j/5., duration);
00200             sChViews[j]->RotateTo(sChXRot, sChYRot, sChZRot, duration + mRotDurationExtra);
00201         }
00202     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:13 2011 for ImpalaSrc by  doxygen 1.5.1