Flow Visualisation
IRenderer Class Referenceabstract

Abstract renderer class. More...

#include <IRenderer.h>

Inheritance diagram for IRenderer:

Public Member Functions

virtual ~IRenderer ()
 Virtual descructor to clean up. More...
 
virtual void createWindow (int screenWidth=STANDARD_SCREEN_WIDTH, int screenHeight=STANDARD_SCREEN_HEIGHT)=0
 Create a new window with specified sized. More...
 
virtual void initRenderer ()=0
 Initializes Renderer. More...
 
virtual void clear ()=0
 Clears screen buffer. More...
 
virtual void swapBuffers ()=0
 Swaps buffers;. More...
 

Protected Attributes

int m_screenWidth
 
int m_screenHeight
 

Detailed Description

Abstract renderer class.

Constructor & Destructor Documentation

virtual IRenderer::~IRenderer ( )
inlinevirtual

Virtual descructor to clean up.

Member Function Documentation

virtual void IRenderer::clear ( )
pure virtual

Clears screen buffer.

Implemented in SDLRenderer.

virtual void IRenderer::createWindow ( int  screenWidth = STANDARD_SCREEN_WIDTH,
int  screenHeight = STANDARD_SCREEN_HEIGHT 
)
pure virtual

Create a new window with specified sized.

Parameters
screenWidthWidth of the window
screenHeightHeight of the window

Implemented in SDLRenderer.

virtual void IRenderer::initRenderer ( )
pure virtual

Initializes Renderer.

Implemented in SDLRenderer.

virtual void IRenderer::swapBuffers ( )
pure virtual

Swaps buffers;.

Implemented in SDLRenderer.

Member Data Documentation

int IRenderer::m_screenHeight
protected
int IRenderer::m_screenWidth
protected

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