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

Impala::Visualization::View::View ( OGLWND *  oglWnd,
int  x,
int  y,
int  imW,
int  imH,
double  scale,
bool  texturing,
bool  noTexScaling,
bool  keepDispImage,
OglGui::ViewListener listener = 0 
) [inline]

Definition at line 21 of file View.h.

References InitOGLIMAGE(), mOglIm, mPointerDrag, mPointerX, mTexturing, OglGui::View::mView2D, and sTags.

00023                                            :
00024          OglGui::View(oglWnd, InitOGLIMAGE(imW, imH, texturing, noTexScaling,
00025                                           keepDispImage), x, y, scale*imW,
00026                      scale*imH, listener)
00027     {
00028 // RvB: Experiment: Note strange things happen when noTexScaling and texturing true
00029 //        texturing = true;
00030 //        noTexScaling = true;
00031         //OGLIMAGE* oglIm = InitOGLIMAGE(imW, imH, texturing, noTexScaling,
00032         //                               keepDispImage);
00033 
00034         viewSys.SetZoom(mView2D, scale, scale);
00035         viewSys.SetTags(mView2D, sTags);
00036         //viewSys.SetUpsideDown(mView2D, 1);
00037         if (mTexturing)
00038             viewSys.SetTexturing(mView2D, 1);
00039 
00040         oglSys.ReleaseOglImage(mOglIm); // mOglIm was set by InitOGLIMAGE
00041         mOglIm = 0;
00042 
00043         mPointerX = -1;
00044         mPointerDrag = false;
00045     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:50:55 2010 for ImpalaSrc by  doxygen 1.5.1