transformationEvent6D.h

Go to the documentation of this file.
00001 #ifndef TRANSFORMATION6DEVENT_H
00002 #define TRANSFORMATION6DEVENT_H
00003 
00004 #include <QtCore/QEvent>
00005 
00006 #include <BALL/VIEW/INPUT/deviceEvent.h>
00007 #include <BALL/MATHS/vector3.h>
00008 
00009 namespace BALL
00010 {
00011   namespace VIEW
00012   {
00013     class TransformationEvent6D : public DeviceEvent
00014     {
00015       public:
00016         TransformationEvent6D(InputDeviceDriver* dev, double x, double y, double z, 
00017                                                       double a, double b, double c);
00018 
00019         const Vector3& getTranslation() { return translation_; }
00020         const Vector3& getRotation() { return rotation_; }
00021       private:
00022         Vector3 translation_;
00023         Vector3 rotation_;
00024     };
00025   }
00026 }
00027 
00028 #endif //TRANSFORMATION6DEVENT_H
00029