cctw
0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
cctw-code
cctwlib
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
7
class
CctwTransformInterface
:
public
CctwObject
8
{
9
Q_OBJECT
10
public
:
11
CctwTransformInterface
(QString
name
, QObject *parent);
12
13
public
slots:
14
15
virtual
bool
hasInverse
()
const
= 0;
16
17
virtual
CctwDoubleVector3D
forward
(
CctwDoubleVector3D
d) = 0;
18
// Transform from input to output space coordinates
19
virtual
CctwDoubleVector3D
inverse
(
CctwDoubleVector3D
q) = 0;
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
CctwObject
Definition:
cctwobject.h:9
CctwTransformInterface::CctwTransformInterface
CctwTransformInterface(QString name, QObject *parent)
Definition:
cctwtransforminterface.cpp:3
CctwObject::name
QString name
Definition:
cctwobject.h:32
cctwvector3d.h
CctwTransformInterface::forward
virtual CctwDoubleVector3D forward(CctwDoubleVector3D d)=0
CctwTransformInterface::inverse
virtual CctwDoubleVector3D inverse(CctwDoubleVector3D q)=0
cctwobject.h
CctwTransformInterface
Definition:
cctwtransforminterface.h:7
CctwVector3D< double >
CctwTransformInterface::hasInverse
virtual bool hasInverse() const =0
Generated on Thu Mar 17 2016 15:17:36 for cctw by
1.8.10