29 #ifndef INTERACTIVE_OBJECT_H 30 #define INTERACTIVE_OBJECT_H 32 #include <boost/shared_ptr.hpp> 33 #include <boost/weak_ptr.hpp> 39 class ViewportMouseEvent;
55 virtual const QCursor&
getCursor()
const = 0;
63 #endif // INTERACTIVE_OBJECT_H virtual void enableInteraction(bool enable)=0
virtual void handleMouseEvent(ViewportMouseEvent &event)=0
virtual bool isInteractive()=0
Abstract base class of things in the scene which handle mouse events.
boost::shared_ptr< InteractiveObject > InteractiveObjectPtr
virtual const QCursor & getCursor() const =0
boost::weak_ptr< InteractiveObject > InteractiveObjectWPtr
virtual ~InteractiveObject()