16 #ifndef AGXOSG_GUIEVENTADAPTER_H
17 #define AGXOSG_GUIEVENTADAPTER_H
22 #include <osgGA/GUIEventHandler>
31 class GuiEventAdapter;
32 class GUIActionAdapter;
49 virtual bool handle(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& );
50 using osgGA::GUIEventHandler::handle;
Class for inserting mouse and keyboard event from OSG into agxSDK::Simulation.
bool handleUpdate(osgGA::GUIEventAdapter::EventType eventType, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &)
bool handleKeyboard(osgGA::GUIEventAdapter::EventType eventType, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &)
GuiEventAdapter(agxSDK::Simulation *simulation)
bool handleMouseMove(osgGA::GUIEventAdapter::EventType eventType, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &)
virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &)
virtual ~GuiEventAdapter()
bool handleMouse(osgGA::GUIEventAdapter::EventType eventType, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &)
Base class for inserting mouse and keyboard event into agxSDK::Simulation.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.