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

OGLIMAGE* Impala::Visualization::View::InitOGLIMAGE ( int  imW,
int  imH,
bool  texturing,
bool  noTexScaling,
bool  keepDispImage 
) [inline, protected]

Definition at line 267 of file View.h.

References InitOGLIMAGE(), mKeepDispImage, mNoTexScaling, mOglIm, mTexturing, MyOglImdataDestroyFunc(), and MyOglImdataFunc().

Referenced by InitOGLIMAGE(), and View().

00269     {
00270         mTexturing = texturing;
00271         mNoTexScaling = noTexScaling;
00272         mKeepDispImage = keepDispImage;
00273 
00274         mOglIm = oglSys.OglImage(GL_RGB, imW, imH);
00275         mOglIm->imDataFunc = MyOglImdataFunc;
00276         mOglIm->onDestroy = MyOglImdataDestroyFunc;
00277         if (mNoTexScaling)
00278             mOglIm->noTexScaling = 1;
00279         Array2dVec3UInt8* ar =
00280             Core::Array::ArrayCreate<Array2dVec3UInt8>(imW, imH, 0, 0);
00281         mOglIm->imageHandle = ar;
00282         return mOglIm;
00283 
00284     }

Here is the call graph for this function:


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