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

void OglGui::Carousel3D::TitledCapture ( strconst  str,
int  x,
int  y,
int  w,
int  h 
) [inline]

Definition at line 121 of file Carousel3D.h.

References AddCaptureView(), IndexOf(), mOglViews, and OglImCapture().

00122     {
00123         int idx = IndexOf(str);
00124         if (idx == -1)
00125             AddCaptureView(str, x, y, w, h);
00126         else
00127         {
00128             OglImCapture(mOglViews[idx]->im, x, y, w, h);
00129             CheckOglImageChanged(mOglViews[idx]->im);
00130             for (int i=0; i<mOglViews.size(); i++)
00131             {
00132                 OGLVIEW3D*  oglV3D  = mOglViews[i];
00133                 OGLIMAGE*   im      = oglV3D->im; 
00134                 oglV3D->w = (w/(float)h);
00135                 oglV3D->h = 1;
00136                 float tW = im->noTexScaling ? im->texW : im->w;
00137                 float tH = im->noTexScaling ? im->texH : im->h;
00138                 float zX = (oglV3D->w)*(tW/im->w);
00139                 float zY = (oglV3D->h)*(tH/im->h);
00140                 view3DSys.SetZoom(oglV3D,zX,zY);
00141             }
00142         }
00143     }

Here is the call graph for this function:


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