Definition at line 119 of file ChangingToDemo.h. References OglGui::View::GetOGLVIEW3D(), mDuration, mDurExtra, mode, OglGui::ChangingToView::MoveTo(), mRotDurationExtra, OglGui::ChangingToView::RotateTo(), OglGui::sChNrRows, OglGui::sChNrViews, OglGui::sChViews, OglGui::sChXRot, OglGui::sChYRot, and OglGui::sChZRot. Referenced by Init(), SelectMode(), and WindowKeyboardEvent(). 00120 { 00121 mode = 0; 00122 for (int j=0; j<sChNrViews; j++) 00123 { 00124 int row = j % sChNrRows; 00125 int col = j / sChNrRows; 00126 int s = -sChNrRows/2; 00127 if (col%2) row = sChNrRows - row -1; 00128 OGLVIEW3D* v3D = sChViews[j]->GetOGLVIEW3D(); 00129 int duration = mDuration + j*mDurExtra; 00130 view3DSys.SetRotation(v3D,0,0,0); 00131 sChViews[j]->MoveTo(s+1.1*row, s+1.1*col, -20, duration); 00132 sChViews[j]->RotateTo(sChXRot, sChYRot, sChZRot, duration + mRotDurationExtra); 00133 } 00134 }
Here is the call graph for this function: ![]()
|