cctw  0.2.1
cctwtransforminterface.h
Go to the documentation of this file.
1 #ifndef CCTWTRANSFORMINTERFACE_H
2 #define CCTWTRANSFORMINTERFACE_H
3 
4 #include "cctwobject.h"
5 #include "cctwvector3d.h"
6 
8 {
9  Q_OBJECT
10 public:
11  CctwTransformInterface(QString name, QObject *parent);
12 
13 public slots:
14 
15  virtual bool hasInverse() const = 0;
16 
18  // Transform from input to output space coordinates
20  // Back transform from output to input space coordinates
21 
22  virtual CctwDoubleVector3D forward(double x, double y, double z);
23  virtual CctwDoubleVector3D inverse(double x, double y, double z);
24 };
25 
26 #endif // CCTWTRANSFORMINTERFACE_H
CctwTransformInterface(QString name, QObject *parent)
QString name
Definition: cctwobject.h:32
virtual CctwDoubleVector3D forward(CctwDoubleVector3D d)=0
virtual CctwDoubleVector3D inverse(CctwDoubleVector3D q)=0
virtual bool hasInverse() const =0