Added derived reqiestRedraw() and requestContinueUpdate() methods for

debugging purposes.
This commit is contained in:
Robert Osfield 2004-06-02 14:13:11 +00:00
parent 7f94839e94
commit 344beecede
2 changed files with 12 additions and 2 deletions

View File

@ -113,8 +113,8 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction
/** Dispatch the cull and draw for each of the Camera's for this frame.*/
virtual void frame();
virtual void requestRedraw() {}
virtual void requestContinuousUpdate(bool) {}
virtual void requestRedraw();
virtual void requestContinuousUpdate(bool);
virtual void requestWarpPointer(float x,float y);

View File

@ -824,6 +824,16 @@ void Viewer::selectCameraManipulator(unsigned int no)
if (_keyswitchManipulator.valid()) _keyswitchManipulator->selectMatrixManipulator(no);
}
void Viewer::requestRedraw()
{
osg::notify(osg::INFO)<<"Viewer::requestRedraw() called"<<std::endl;
}
void Viewer::requestContinuousUpdate(bool flag)
{
osg::notify(osg::INFO)<<"Viewer::requestContinuousUpdate("<<flag<<") called"<<std::endl;
}
void Viewer::requestWarpPointer(float x,float y)
{
if (_kbmcb.valid())