LibreOffice Module slideshow (master) 1
Classes | Typedefs | Functions
TransitionImpl.hxx File Reference
#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>
Include dependency graph for TransitionImpl.hxx:
This graph shows which files directly or indirectly include this file:

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< PrimitivePrimitives_t
 
typedef std::vector< std::shared_ptr< SceneObject > > SceneObjects_t
 
typedef std::vector< std::shared_ptr< Operation > > Operations_t
 

Functions

std::shared_ptr< OGLTransitionImplmakeOutsideCubeFaceToLeft ()
 
std::shared_ptr< OGLTransitionImplmakeInsideCubeFaceToLeft ()
 
std::shared_ptr< OGLTransitionImplmakeNByMTileFlip (sal_uInt16 n, sal_uInt16 m)
 
std::shared_ptr< OGLTransitionImplmakeRevolvingCircles (sal_uInt16 nCircles, sal_uInt16 nPointsOnCircles)
 
std::shared_ptr< OGLTransitionImplmakeHelix (sal_uInt16 nRows)
 
std::shared_ptr< OGLTransitionImplmakeFallLeaving ()
 
std::shared_ptr< OGLTransitionImplmakeTurnAround ()
 
std::shared_ptr< OGLTransitionImplmakeTurnDown ()
 
std::shared_ptr< OGLTransitionImplmakeIris ()
 
std::shared_ptr< OGLTransitionImplmakeRochade ()
 
std::shared_ptr< OGLTransitionImplmakeVenetianBlinds (bool vertical, int parts)
 
std::shared_ptr< OGLTransitionImplmakeStatic ()
 
std::shared_ptr< OGLTransitionImplmakeDissolve ()
 
std::shared_ptr< OGLTransitionImplmakeVortex ()
 
std::shared_ptr< OGLTransitionImplmakeRipple ()
 
std::shared_ptr< OGLTransitionImplmakeGlitter ()
 
std::shared_ptr< OGLTransitionImplmakeHoneycomb ()
 
std::shared_ptr< OGLTransitionImplmakeNewsflash ()
 
std::shared_ptr< OGLTransitionImplmakeDiamond ()
 2D replacements More...
 
std::shared_ptr< OGLTransitionImplmakeFadeSmoothly ()
 
std::shared_ptr< OGLTransitionImplmakeFadeThroughColor (bool white=false)
 

Typedef Documentation

◆ Operations_t

typedef std::vector<std::shared_ptr<Operation> > Operations_t

Definition at line 69 of file TransitionImpl.hxx.

◆ Primitives_t

typedef std::vector<Primitive> Primitives_t

Definition at line 67 of file TransitionImpl.hxx.

◆ SceneObjects_t

typedef std::vector<std::shared_ptr<SceneObject> > SceneObjects_t

Definition at line 68 of file TransitionImpl.hxx.

Function Documentation

◆ makeDiamond()

std::shared_ptr< OGLTransitionImpl > makeDiamond ( )

2D replacements

Definition at line 1261 of file TransitionImpl.cxx.

References TransitionSettings::mbUseMipMapEntering, and TransitionSettings::mbUseMipMapLeaving.

◆ makeDissolve()

std::shared_ptr< OGLTransitionImpl > makeDissolve ( )

◆ makeFadeSmoothly()

std::shared_ptr< OGLTransitionImpl > makeFadeSmoothly ( )

◆ makeFadeThroughColor()

std::shared_ptr< OGLTransitionImpl > makeFadeThroughColor ( bool  white = false)

◆ makeFallLeaving()

std::shared_ptr< OGLTransitionImpl > makeFallLeaving ( )

◆ makeGlitter()

std::shared_ptr< OGLTransitionImpl > makeGlitter ( )

Definition at line 2047 of file TransitionImpl.cxx.

References createHexagon(), x, and y.

◆ makeHelix()

std::shared_ptr< OGLTransitionImpl > makeHelix ( sal_uInt16  nRows)

Definition at line 1059 of file TransitionImpl.cxx.

References i, and makeSRotate().

◆ makeHoneycomb()

std::shared_ptr< OGLTransitionImpl > makeHoneycomb ( )

◆ makeInsideCubeFaceToLeft()

std::shared_ptr< OGLTransitionImpl > makeInsideCubeFaceToLeft ( )

Definition at line 691 of file TransitionImpl.cxx.

References makeRotateAndScaleDepthByWidth(), and Slide.

◆ makeIris()

std::shared_ptr< OGLTransitionImpl > makeIris ( )

◆ makeNByMTileFlip()

std::shared_ptr< OGLTransitionImpl > makeNByMTileFlip ( sal_uInt16  n,
sal_uInt16  m 
)

◆ makeNewsflash()

std::shared_ptr< OGLTransitionImpl > makeNewsflash ( )

Definition at line 2265 of file TransitionImpl.cxx.

References makeSRotate(), makeSScale(), makeSTranslate(), and Slide.

◆ makeOutsideCubeFaceToLeft()

std::shared_ptr< OGLTransitionImpl > makeOutsideCubeFaceToLeft ( )

Definition at line 670 of file TransitionImpl.cxx.

References makeRotateAndScaleDepthByWidth(), and Slide.

◆ makeRevolvingCircles()

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().

◆ makeRipple()

std::shared_ptr< OGLTransitionImpl > makeRipple ( )

◆ makeRochade()

std::shared_ptr< OGLTransitionImpl > makeRochade ( )

◆ makeStatic()

std::shared_ptr< OGLTransitionImpl > makeStatic ( )

◆ makeTurnAround()

std::shared_ptr< OGLTransitionImpl > makeTurnAround ( )

◆ makeTurnDown()

std::shared_ptr< OGLTransitionImpl > makeTurnDown ( )

◆ makeVenetianBlinds()

std::shared_ptr< OGLTransitionImpl > makeVenetianBlinds ( bool  vertical,
int  parts 
)

◆ makeVortex()

std::shared_ptr< OGLTransitionImpl > makeVortex ( )