16 #ifndef ConstantFunction_h
17 #define ConstantFunction_h
19 #include <pointing/transferfunctions/TransferFunction.h>
33 bool disableSubPixelation;
35 int previousMouseRawX;
36 int previousMouseRawY;
37 float previousMouseXRemainder;
38 float previousMouseYRemainder;
48 void applyi(
int dxMickey,
int dyMickey,
int *dxPixel,
int *dyPixel,
49 TimeStamp::inttime timestamp=TimeStamp::undef) ;
50 void applyd(
int dxMickey,
int dyMickey,
double *dxPixel,
double *dyPixel,
51 TimeStamp::inttime =TimeStamp::undef) ;
53 URI
getURI(
bool expanded=
false)
const ;
void applyd(int dxMickey, int dyMickey, double *dxPixel, double *dyPixel, TimeStamp::inttime=TimeStamp::undef)
apply The main method of the class which applies the transfer function.
Definition: ConstantFunction.cpp:105
The ConstantFunction class implements the transfer function with a constant gain factor computed taki...
Definition: ConstantFunction.h:28
The PointingDevice class is used to represent Pointing Devices connected to the computer or pseudo-de...
Definition: PointingDevice.h:36
DisplayDevice class is used to represent the displays connected to the computer.
Definition: DisplayDevice.h:31
URI getURI(bool expanded=false) const
getURI The method constructs URI corresponding to the type and parameters of the transfer function...
Definition: ConstantFunction.cpp:115
void clearState(void)
Method which clears the current state of the device to be the default one (without any remainders or ...
Definition: ConstantFunction.cpp:56
void applyi(int dxMickey, int dyMickey, int *dxPixel, int *dyPixel, TimeStamp::inttime timestamp=TimeStamp::undef)
apply The main method of the class which applies the transfer function.
Definition: ConstantFunction.cpp:64
The TransferFunction class is an abstract class that creates an object of its concrete subclasses...
Definition: TransferFunction.h:38