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

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

Definition at line 174 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().

00175     {
00176         mode = 2;
00177         for (int j=0; j<sChNrViews; j++)
00178         {
00179             OGLVIEW3D* v3D = sChViews[j]->GetOGLVIEW3D();
00180             view3DSys.SetRotation(v3D,0,0,0);
00181             int duration = mDuration + j*mDurExtra;
00182             float rad = DEG2RAD(j*(4*360.)/sChNrViews);
00183             sChViews[j]->MoveTo( (j/16)*sin(rad), (j/16)*cos(rad), -22+j/1000., duration);
00184             sChViews[j]->RotateTo(sChXRot, sChYRot, sChZRot, duration + mRotDurationExtra);
00185         }
00186     }

Here is the call graph for this function:


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