LibreOffice Module slideshow (master) 1
|
This class is to be derived to make any operation (transform) you may need in order to construct your transitions. More...
#include <Operation.hxx>
Public Member Functions | |
virtual | ~Operation () |
Operation (const Operation &)=delete | |
Operation & | operator= (const Operation &)=delete |
virtual void | interpolate (glm::mat4 &matrix, double t, double SlideWidthScale, double SlideHeightScale) const =0 |
this is the function that is called to give the Operation to OpenGL. More... | |
Protected Member Functions | |
Operation (bool bInterpolate, double nT0, double nT1) | |
Protected Attributes | |
bool | mbInterpolate |
Should this operation be interpolated . More... | |
double | mnT0 |
time to begin the transformation More... | |
double | mnT1 |
time to finish the transformation More... | |
This class is to be derived to make any operation (transform) you may need in order to construct your transitions.
Definition at line 38 of file Operation.hxx.
|
inlinevirtual |
Definition at line 41 of file Operation.hxx.
|
delete |
|
inlineprotected |
Definition at line 73 of file Operation.hxx.
|
pure virtual |
this is the function that is called to give the Operation to OpenGL.
t | time from t = 0 to t = 1 |
SlideWidthScale | width of slide divided by width of window |
SlideHeightScale | height of slide divided by height of window |
Implemented in SRotate, SScale, STranslate, SEllipseTranslate, RotateAndScaleDepthByWidth, and RotateAndScaleDepthByHeight.
|
protected |
Should this operation be interpolated .
If TRUE, the transform will smoothly move from making no difference from t = 0.0 to mnT0 to being completely transformed from t = mnT1 to 1. If FALSE, the transform will be ineffectual from t = 0 to mnT0, and completely transformed from t = mnT0 to 1.
Definition at line 48 of file Operation.hxx.
Referenced by SRotate::interpolate(), SScale::interpolate(), STranslate::interpolate(), SEllipseTranslate::interpolate(), RotateAndScaleDepthByWidth::interpolate(), and RotateAndScaleDepthByHeight::interpolate().
|
protected |
time to begin the transformation
Definition at line 52 of file Operation.hxx.
Referenced by SRotate::interpolate(), SScale::interpolate(), STranslate::interpolate(), SEllipseTranslate::interpolate(), RotateAndScaleDepthByWidth::interpolate(), and RotateAndScaleDepthByHeight::interpolate().
|
protected |
time to finish the transformation
Definition at line 56 of file Operation.hxx.
Referenced by SRotate::interpolate(), SScale::interpolate(), STranslate::interpolate(), SEllipseTranslate::interpolate(), RotateAndScaleDepthByWidth::interpolate(), and RotateAndScaleDepthByHeight::interpolate().