OpenShot Library | libopenshot  0.3.3
Public Member Functions | Protected Member Functions | List of all members
openshot::RendererBase Class Referenceabstract

This is the base class of all Renderers in libopenshot. More...

#include <RendererBase.h>

Inheritance diagram for openshot::RendererBase:
[legend]

Public Member Functions

virtual void OverrideWidget (int64_t qwidget_address)=0
 Allow manual override of the QWidget that is used to display. More...
 
void paint (const std::shared_ptr< openshot::Frame > &frame)
 Paint(render) a video Frame. More...
 

Protected Member Functions

virtual void render (std::shared_ptr< QImage > image)=0
 
 RendererBase ()
 
virtual ~RendererBase ()
 

Detailed Description

This is the base class of all Renderers in libopenshot.

Renderers are responsible for rendering images of a video onto a display device.

Definition at line 30 of file RendererBase.h.

Constructor & Destructor Documentation

◆ RendererBase()

RendererBase::RendererBase ( )
protected

Definition at line 16 of file RendererBase.cpp.

◆ ~RendererBase()

RendererBase::~RendererBase ( )
protectedvirtual

Definition at line 20 of file RendererBase.cpp.

Member Function Documentation

◆ OverrideWidget()

virtual void openshot::RendererBase::OverrideWidget ( int64_t  qwidget_address)
pure virtual

Allow manual override of the QWidget that is used to display.

Implemented in VideoRenderer.

Referenced by openshot::QtPlayer::SetQWidget().

◆ paint()

void RendererBase::paint ( const std::shared_ptr< openshot::Frame > &  frame)

Paint(render) a video Frame.

Definition at line 24 of file RendererBase.cpp.

◆ render()

virtual void openshot::RendererBase::render ( std::shared_ptr< QImage >  image)
protectedpure virtual

Implemented in VideoRenderer.

Referenced by paint().


The documentation for this class was generated from the following files: