LibreOffice Module slideshow (master) 1
|
#include <config_lgpl.h>
#include <epoxy/gl.h>
#include <glm/gtc/type_ptr.hpp>
#include <o3tl/safeint.hxx>
#include <sal/types.h>
#include <limits>
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
struct | TransitionSettings |
class | TransitionScene |
class | OGLTransitionImpl |
OpenGL 3D Transition class. More... | |
class | SceneObject |
struct | Vertex |
class | Primitive |
This class is a list of Triangles that will share Operations, and could possibly share. More... | |
Typedefs | |
typedef std::vector< Primitive > | Primitives_t |
typedef std::vector< std::shared_ptr< SceneObject > > | SceneObjects_t |
typedef std::vector< std::shared_ptr< Operation > > | Operations_t |
typedef std::vector<std::shared_ptr<Operation> > Operations_t |
Definition at line 69 of file TransitionImpl.hxx.
typedef std::vector<Primitive> Primitives_t |
Definition at line 67 of file TransitionImpl.hxx.
typedef std::vector<std::shared_ptr<SceneObject> > SceneObjects_t |
Definition at line 68 of file TransitionImpl.hxx.
std::shared_ptr< OGLTransitionImpl > makeDiamond | ( | ) |
2D replacements
Definition at line 1261 of file TransitionImpl.cxx.
References TransitionSettings::mbUseMipMapEntering, and TransitionSettings::mbUseMipMapLeaving.
std::shared_ptr< OGLTransitionImpl > makeDissolve | ( | ) |
Definition at line 1596 of file TransitionImpl.cxx.
References TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, and Slide.
std::shared_ptr< OGLTransitionImpl > makeFadeSmoothly | ( | ) |
Definition at line 1338 of file TransitionImpl.cxx.
References TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, and Slide.
std::shared_ptr< OGLTransitionImpl > makeFadeThroughColor | ( | bool | white = false | ) |
Definition at line 1391 of file TransitionImpl.cxx.
References TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, and Slide.
std::shared_ptr< OGLTransitionImpl > makeFallLeaving | ( | ) |
Definition at line 712 of file TransitionImpl.cxx.
References makeRotateAndScaleDepthByWidth(), TransitionSettings::mbUseMipMapEntering, and Slide.
std::shared_ptr< OGLTransitionImpl > makeGlitter | ( | ) |
Definition at line 2047 of file TransitionImpl.cxx.
References createHexagon(), x, and y.
std::shared_ptr< OGLTransitionImpl > makeHelix | ( | sal_uInt16 | nRows | ) |
Definition at line 1059 of file TransitionImpl.cxx.
References i, and makeSRotate().
std::shared_ptr< OGLTransitionImpl > makeHoneycomb | ( | ) |
Definition at line 2247 of file TransitionImpl.cxx.
References fdiv(), TransitionSettings::mnRequiredGLVersion, Primitive::pushTriangle(), x, and y.
std::shared_ptr< OGLTransitionImpl > makeInsideCubeFaceToLeft | ( | ) |
Definition at line 691 of file TransitionImpl.cxx.
References makeRotateAndScaleDepthByWidth(), and Slide.
std::shared_ptr< OGLTransitionImpl > makeIris | ( | ) |
Definition at line 782 of file TransitionImpl.cxx.
References i, makeSRotate(), makeSTranslate(), TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, Primitive::Operations, Primitive::pushTriangle(), Slide, t, x, and y.
std::shared_ptr< OGLTransitionImpl > makeNByMTileFlip | ( | sal_uInt16 | n, |
sal_uInt16 | m | ||
) |
Definition at line 1105 of file TransitionImpl.cxx.
References Primitive::getVertex(), m, makeSRotate(), n, Primitive::Operations, Primitive::pushTriangle(), vec(), x, and y.
Referenced by makeRevolvingCircles().
std::shared_ptr< OGLTransitionImpl > makeNewsflash | ( | ) |
Definition at line 2265 of file TransitionImpl.cxx.
References makeSRotate(), makeSScale(), makeSTranslate(), and Slide.
std::shared_ptr< OGLTransitionImpl > makeOutsideCubeFaceToLeft | ( | ) |
Definition at line 670 of file TransitionImpl.cxx.
References makeRotateAndScaleDepthByWidth(), and Slide.
std::shared_ptr< OGLTransitionImpl > makeRevolvingCircles | ( | sal_uInt16 | nCircles, |
sal_uInt16 | nPointsOnCircles | ||
) |
now we know there is at least two circles the first will always be a full circle the last will always be the outer shell of the slide with a circle hole
Definition at line 947 of file TransitionImpl.cxx.
References clamp(), i, makeNByMTileFlip(), makeSRotate(), Primitive::Operations, Primitive::pushTriangle(), and randNormVectorInXYPlane().
std::shared_ptr< OGLTransitionImpl > makeRipple | ( | ) |
Definition at line 1924 of file TransitionImpl.cxx.
References TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, and Slide.
std::shared_ptr< OGLTransitionImpl > makeRochade | ( | ) |
Definition at line 894 of file TransitionImpl.cxx.
References h, makeRotateAndScaleDepthByWidth(), makeSEllipseTranslate(), makeSScale(), makeSTranslate(), Slide, and w.
std::shared_ptr< OGLTransitionImpl > makeStatic | ( | ) |
Definition at line 1546 of file TransitionImpl.cxx.
References TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, and Slide.
std::shared_ptr< OGLTransitionImpl > makeTurnAround | ( | ) |
Definition at line 732 of file TransitionImpl.cxx.
References makeRotateAndScaleDepthByWidth(), makeSScale(), makeSTranslate(), and Slide.
std::shared_ptr< OGLTransitionImpl > makeTurnDown | ( | ) |
Definition at line 761 of file TransitionImpl.cxx.
References makeSRotate(), makeSTranslate(), TransitionSettings::mbUseMipMapLeaving, and Slide.
std::shared_ptr< OGLTransitionImpl > makeVenetianBlinds | ( | bool | vertical, |
int | parts | ||
) |
Definition at line 1269 of file TransitionImpl.cxx.
References i, makeRotateAndScaleDepthByHeight(), makeRotateAndScaleDepthByWidth(), makeSRotate(), n, p, and Slide.
std::shared_ptr< OGLTransitionImpl > makeVortex | ( | ) |
Definition at line 1842 of file TransitionImpl.cxx.
References fdiv(), TransitionSettings::mbUseMipMapEntering, TransitionSettings::mbUseMipMapLeaving, TransitionSettings::mnRequiredGLVersion, Slide, x, and y.