The EyePointCalcViewCallback class.
More...
#include <gls_eyepoint.h>
|
typedef void(T::* | MethodType) (int viewWidth, int viewHeight, GlsEyePoint *thisEye, double &rval1, double &rval2) |
| Typedef for the callback function pointer.
|
|
|
T * | _container |
| The object which contains the method to call.
|
|
MethodType | _method |
| The callback method function pointer.
|
|
template<class T>
class disti::EyePointCalcViewCallback< T >
The EyePointCalcViewCallback class.
◆ EyePointCalcViewCallback()
Construct a new EyePointCalcViewCallback object.
- Parameters
-
container | The object containing the callback method. |
method | The callback function pointer to call. |
◆ Call()
void Call |
( |
int |
viewWidth, |
|
|
int |
viewHeight, |
|
|
GlsEyePoint * |
thisEye, |
|
|
double & |
rval1, |
|
|
double & |
rval2 |
|
) |
| |
|
inlineoverridevirtual |
The callback method interface, used for custom user callbacks to configure the eyepoint's view.
- Parameters
-
viewWidth | The view width in pixels. |
viewHeight | The view height in pixels. |
thisEye | The GlsEyePoint associated with this callback. |
rval1 | Returned user defined value. |
rval2 | Another returned user defined value. |
Implements EyePointCalcViewCallbackBase.
The documentation for this class was generated from the following file: