diff --git a/examples/osgblendequation/osgblendequation.cpp b/examples/osgblendequation/osgblendequation.cpp index 84e3a61a9..a22e16863 100644 --- a/examples/osgblendequation/osgblendequation.cpp +++ b/examples/osgblendequation/osgblendequation.cpp @@ -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; diff --git a/examples/osgcatch/osgcatch.cpp b/examples/osgcatch/osgcatch.cpp index 8e3adf75d..21e3aa999 100644 --- a/examples/osgcatch/osgcatch.cpp +++ b/examples/osgcatch/osgcatch.cpp @@ -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; diff --git a/examples/osgdelaunay/osgdelaunay.cpp b/examples/osgdelaunay/osgdelaunay.cpp index db232d55f..78610ceda 100644 --- a/examples/osgdelaunay/osgdelaunay.cpp +++ b/examples/osgdelaunay/osgdelaunay.cpp @@ -734,11 +734,6 @@ public: return false; } - virtual void accept(osgGA::GUIEventHandlerVisitor& v) - { - v.visit(*this); - } - osg::Node *_scene; osgProducer::Viewer &viewer; int iview; diff --git a/examples/osgforest/osgforest.cpp b/examples/osgforest/osgforest.cpp index 8eb4c90bc..63b160945 100644 --- a/examples/osgforest/osgforest.cpp +++ b/examples/osgforest/osgforest.cpp @@ -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; diff --git a/examples/osggeodemo/osggeodemo.cpp b/examples/osggeodemo/osggeodemo.cpp index 206497769..e0a5f1533 100644 --- a/examples/osggeodemo/osggeodemo.cpp +++ b/examples/osggeodemo/osggeodemo.cpp @@ -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;}; diff --git a/examples/osgkeyboard/osgkeyboard.cpp b/examples/osgkeyboard/osgkeyboard.cpp index 3d909437d..96ee3e536 100644 --- a/examples/osgkeyboard/osgkeyboard.cpp +++ b/examples/osgkeyboard/osgkeyboard.cpp @@ -365,11 +365,6 @@ public: return false; } } - - virtual void accept(osgGA::GUIEventHandlerVisitor& v) - { - v.visit(*this); - } osg::ref_ptr _keyboardModel; diff --git a/examples/osglogicop/osglogicop.cpp b/examples/osglogicop/osglogicop.cpp index 2d43fe17a..74dd6d440 100644 --- a/examples/osglogicop/osglogicop.cpp +++ b/examples/osglogicop/osglogicop.cpp @@ -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; diff --git a/examples/osgmovie/osgmovie.cpp b/examples/osgmovie/osgmovie.cpp index f524a64ee..4ef228d0a 100644 --- a/examples/osgmovie/osgmovie.cpp +++ b/examples/osgmovie/osgmovie.cpp @@ -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; diff --git a/examples/osgoccluder/osgoccluder.cpp b/examples/osgoccluder/osgoccluder.cpp index f7d4c4084..f75236195 100644 --- a/examples/osgoccluder/osgoccluder.cpp +++ b/examples/osgoccluder/osgoccluder.cpp @@ -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(); diff --git a/examples/osgphotoalbum/osgphotoalbum.cpp b/examples/osgphotoalbum/osgphotoalbum.cpp index 1cdcd70a9..4755ff810 100644 --- a/examples/osgphotoalbum/osgphotoalbum.cpp +++ b/examples/osgphotoalbum/osgphotoalbum.cpp @@ -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; diff --git a/examples/osgpoints/osgpoints.cpp b/examples/osgpoints/osgpoints.cpp index b2f7005b5..c45f9db28 100644 --- a/examples/osgpoints/osgpoints.cpp +++ b/examples/osgpoints/osgpoints.cpp @@ -63,11 +63,6 @@ public: } return false; } - - virtual void accept(osgGA::GUIEventHandlerVisitor& v) - { - v.visit(*this); - } float getPointSize() const diff --git a/examples/osgsequence/osgsequence.cpp b/examples/osgsequence/osgsequence.cpp index d9e2164b9..0a45d5c31 100644 --- a/examples/osgsequence/osgsequence.cpp +++ b/examples/osgsequence/osgsequence.cpp @@ -191,9 +191,6 @@ public: return false; } - // accept visits - virtual void accept(osgGA::GUIEventHandlerVisitor&) {} - private: osg::ref_ptr _seq; }; diff --git a/examples/osgsimplifier/osgsimplifier.cpp b/examples/osgsimplifier/osgsimplifier.cpp index 32d30de54..0facbbfcf 100644 --- a/examples/osgsimplifier/osgsimplifier.cpp +++ b/examples/osgsimplifier/osgsimplifier.cpp @@ -46,11 +46,6 @@ public: return false; } - virtual void accept(osgGA::GUIEventHandlerVisitor& v) - { - v.visit(*this); - } - private: unsigned int& _flag; diff --git a/examples/osgstereoimage/osgstereoimage.cpp b/examples/osgstereoimage/osgstereoimage.cpp index 00bffdf6b..3f13b1e13 100644 --- a/examples/osgstereoimage/osgstereoimage.cpp +++ b/examples/osgstereoimage/osgstereoimage.cpp @@ -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; diff --git a/examples/osgtesselate/osgtesselate.cpp b/examples/osgtesselate/osgtesselate.cpp index 5b153dff8..57747efbe 100644 --- a/examples/osgtesselate/osgtesselate.cpp +++ b/examples/osgtesselate/osgtesselate.cpp @@ -732,11 +732,6 @@ public: } return false; } - - virtual void accept(osgGA::GUIEventHandlerVisitor& v) - { - v.visit(*this); - } osg::Node *_scene; diff --git a/examples/osgvolume/osgvolume.cpp b/examples/osgvolume/osgvolume.cpp index 240817997..1466683ba 100644 --- a/examples/osgvolume/osgvolume.cpp +++ b/examples/osgvolume/osgvolume.cpp @@ -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;