Visualization::TaoOpenGL::IRenderer Class Reference

renderer and controller in one. More...

Inherited by Visualization::TaoOpenGL::OGLRenderer2D, Visualization::TaoOpenGL::OGLRenderer3D, Visualization::TaoOpenGL::OGLRenderer3D2, and Visualization::TaoOpenGL::OGLTestRenderer.

List of all members.

Public Member Functions

abstract void Init ()
 This method is called when switched to this render it should enable all states and textures it needs and load shaders.
abstract void Render ()
 this method gets called when a new render is neeeded.
abstract void SetupMatrices ()
 Initializes the Projection matrix, gets called whenever window is resized.
abstract void CleanUp ()
 Gets called on the current renderer, when the user switches to next renderer.

Properties

int Height [get]
 Current RenderTarget Height.
int Width [get]
 Current RenderTarget Width.
bool IsNewFileContext [get]
 returns true (one time only) if a new file has been loaded and resets itself in the same call.


Detailed Description

renderer and controller in one.


Member Function Documentation

abstract void Visualization::TaoOpenGL::IRenderer::CleanUp (  )  [pure virtual]

Gets called on the current renderer, when the user switches to next renderer.

Implemented in Visualization::TaoOpenGL::OGLRenderer2D, Visualization::TaoOpenGL::OGLRenderer3D, Visualization::TaoOpenGL::OGLRenderer3D2, and Visualization::TaoOpenGL::OGLTestRenderer.

abstract void Visualization::TaoOpenGL::IRenderer::Init (  )  [pure virtual]

This method is called when switched to this render it should enable all states and textures it needs and load shaders.

Implemented in Visualization::TaoOpenGL::OGLRenderer2D, Visualization::TaoOpenGL::OGLRenderer3D, Visualization::TaoOpenGL::OGLRenderer3D2, and Visualization::TaoOpenGL::OGLTestRenderer.

abstract void Visualization::TaoOpenGL::IRenderer::Render (  )  [pure virtual]

abstract void Visualization::TaoOpenGL::IRenderer::SetupMatrices (  )  [pure virtual]


Property Documentation

int Visualization::TaoOpenGL::IRenderer::Height [get, protected]

Current RenderTarget Height.

bool Visualization::TaoOpenGL::IRenderer::IsNewFileContext [get, protected]

returns true (one time only) if a new file has been loaded and resets itself in the same call.

int Visualization::TaoOpenGL::IRenderer::Width [get, protected]

Current RenderTarget Width.


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

Generated on Wed Dec 17 00:00:44 2008 for Visualization LU by  doxygen 1.5.7.1