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

virtual void OglGui::ViewerPointCloud::ReshapeFunc ( int  w,
int  h 
) [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 449 of file ViewerPointCloud.h.

References mOldH, mOldW, mPtDocX, and mPtDocY.

00450     {
00451         float   diffX = mPtDocX - (mOldW/2.f);
00452         float   diffY = mPtDocY - (mOldH/2.f);
00453 
00454         mPtDocX = diffX + w/2.f; 
00455         mPtDocY = diffY + h/2.f;
00456         mOldW = w;
00457         mOldH = h;
00458     }


Generated on Fri Mar 19 12:10:06 2010 for ImpalaSrc by  doxygen 1.5.1