fshake3d  0.0.1
FreeformDensity3DSurfaceEditor
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
scene_PlaneSensor.hpp
Go to the documentation of this file.
00001 #ifndef SCENE_PLANE_SENSOR_HPP
00002 #define SCENE_PLANE_SENSOR_HPP
00003 
00004 #include "math.hpp"
00005 #include "ui_Event.hpp"
00006 #include "scene_Control3D.hpp"
00007 
00008 class DragSensor : public Control3D
00009 {
00010 public:
00011   virtual void onEvent(Event& e);
00012   virtual bool dragRayBegin(const Rayd& r);
00013   virtual void dragRayUpdate(const Rayd& r);
00014   virtual void dragDeltaUpdate(Vec2d& delta);
00015 };
00016 
00017 class PlaneSensor : public Control3D
00018 {
00019 public:
00020   virtual void onEvent(Event& e);
00021   virtual bool dragRayBegin(const Rayd& r) = 0;
00022   virtual void dragRayUpdate(const Rayd& r) = 0;
00023   virtual void dragDeltaUpdate(Vec2d& delta) = 0;
00024 };
00025 
00026 #endif // SCENE_PLANE_SENSOR_HPP