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

virtual void OglGui::ViewerPointCloud::KeyboardFunc ( int  c,
int  state 
) [inline, virtual]

Reimplemented from OglGui::Window.

Reimplemented in Impala::Application::MediaTable::TableViewerPointCloud.

Definition at line 561 of file ViewerPointCloud.h.

References OglGui::Window::KeyboardFunc(), mAllMouseMotion, mAnimation, mCacheHits, mCacheMisses, OglGui::OglWindow::mOglWnd, and mStarted.

Referenced by OglGui::ViewerPointCloudNavigator::KeyboardFunc().

00562     {
00563         if (c == 's')
00564             oglSys.SetAlwaysDraw(mOglWnd, mStarted = !mStarted);
00565         if (c == 'M')
00566             oglSys.SetAllMouseMotion(mOglWnd, mAllMouseMotion=!mAllMouseMotion);
00567         if (c == 'a')
00568             mAnimation = !mAnimation;
00569         if (c == 'c')
00570             printf("Hits %d Misses %d\n", mCacheHits, mCacheMisses);
00571         Window::KeyboardFunc(c, state);
00572     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:27:17 2011 for ImpalaSrc by  doxygen 1.5.1