Loading...
Searching...
No Matches
transformationEvent6D.h
Go to the documentation of this file.
#ifndef TRANSFORMATION6DEVENT_H
#define TRANSFORMATION6DEVENT_H
#include <QtCore/QEvent>
#include <BALL/VIEW/INPUT/deviceEvent.h>
#include <BALL/MATHS/vector3.h>
namespace BALL
{
namespace VIEW
{
class TransformationEvent6D : public DeviceEvent
{
public:
TransformationEvent6D(InputDeviceDriver* dev, double x, double y, double z,
double a, double b, double c);
const Vector3& getTranslation() { return translation_; }
const Vector3& getRotation() { return rotation_; }
private:
Vector3 translation_;
Vector3 rotation_;
};
}
}
#endif //TRANSFORMATION6DEVENT_H
BALL::VIEW::DeviceEvent::DeviceEvent
DeviceEvent(EventsIDs type, InputDeviceDriver *device)
BALL::VIEW::InputDeviceDriver
Definition inputDeviceDriver.h:19
BALL::VIEW::TransformationEvent6D::TransformationEvent6D
TransformationEvent6D(InputDeviceDriver *dev, double x, double y, double z, double a, double b, double c)
BALL::VIEW::TransformationEvent6D::getRotation
const Vector3 & getRotation()
Definition transformationEvent6D.h:20
BALL::VIEW::TransformationEvent6D::getTranslation
const Vector3 & getTranslation()
Definition transformationEvent6D.h:19
deviceEvent.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::Vector3
TVector3< float > Vector3
Definition vector3.h:1084
vector3.h