Removed deprecated GUIEventHandler method

This commit is contained in:
Robert Osfield 2006-10-05 14:32:39 +00:00
parent 51aade98cc
commit d40e12a27b
16 changed files with 1 additions and 57 deletions

View File

@ -45,8 +45,6 @@ public:
META_Object(osgBlendEquationApp,TechniqueEventHandler);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -506,8 +506,6 @@ public:
META_Object(osgStereImageApp,GameEventHandler);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -734,11 +734,6 @@ public:
return false;
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
osg::Node *_scene;
osgProducer::Viewer &viewer;
int iview;

View File

@ -145,8 +145,6 @@ public:
META_Object(osgforestApp,TechniqueEventHandler);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&, osg::Object*, osg::NodeVisitor*);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -41,11 +41,7 @@ public:
return false;
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
inline float getMouseX(void) {return mouse_x;};
inline float getMouseY(void) {return mouse_y;};

View File

@ -365,11 +365,6 @@ public:
return false;
}
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
osg::ref_ptr<KeyboardModel> _keyboardModel;

View File

@ -60,8 +60,6 @@ public:
META_Object(osglogicopApp,TechniqueEventHandler);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -46,8 +46,6 @@ public:
void set(osg::Node* node);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa, osg::Object*, osg::NodeVisitor* nv);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -32,11 +32,6 @@ class OccluderEventHandler : public osgGA::GUIEventHandler
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
void addPoint(const osg::Vec3& pos);
void endOccluder();

View File

@ -567,8 +567,6 @@ public:
void set(Album* album, float timePerSlide, bool autoSteppingActive);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -63,11 +63,6 @@ public:
}
return false;
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
float getPointSize() const

View File

@ -191,9 +191,6 @@ public:
return false;
}
// accept visits
virtual void accept(osgGA::GUIEventHandlerVisitor&) {}
private:
osg::ref_ptr<osg::Sequence> _seq;
};

View File

@ -46,11 +46,6 @@ public:
return false;
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
private:
unsigned int& _flag;

View File

@ -36,8 +36,6 @@ public:
void set(osg::Switch* sw, float offsetX, float offsetY, osg::TexMat* texmatLeft, osg::TexMat* texmatRight, float timePerSlide, bool autoSteppingActive);
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void getUsage(osg::ApplicationUsage& usage) const;

View File

@ -732,11 +732,6 @@ public:
}
return false;
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
osg::Node *_scene;

View File

@ -714,11 +714,6 @@ class FollowMouseCallback : public osgGA::GUIEventHandler, public osg::StateSet:
}
return false;
}
virtual void accept(osgGA::GUIEventHandlerVisitor& v)
{
v.visit(*this);
}
bool _updateTransparency;
bool _updateAlphaCutOff;