#include <Renderer.h>
Inheritance diagram for LUVis::Renderer:
Public Member Functions | |
Renderer () | |
~Renderer (void) | |
virtual void | Render () |
render Methode | |
void | renderTexturedQuad (Flow^flow) |
void | renderTexturedQuad (Flow^flow, bool is3D) |
void | renderTexturedQuad (float sizeX, float sizeY) |
void | renderTexture (Texture2D^tex, float sizeX, float sizeY) |
virtual void | Resize (GLsizei width, GLsizei height) |
resize methode | |
void | CheckFrameBufferStatus () |
helperfunction to check framebuffer status | |
void | destroy () |
destroys all textures and shaderprograms | |
Interactor | GetInteractor () |
void | SetInteractor (Interactor^_Interactor) |
bool | GetActive () |
float | GetAlpha () |
void | SetIndexChanged (int index) |
int | GetIndexChanged () |
virtual void | Update () |
virtual void | Update (System::Object^arg0) |
Protected Member Functions | |
void | add (Texture^text) |
void | add (ShaderProgram^prog) |
Protected Attributes | |
bool | bActive |
float | fAlpha |
int | iIndexChanged |
Private Attributes | |
ArrayList | TextureList |
Arraylist where all textures are stored. | |
ArrayList | ShaderList |
Arraylist where all ShaderPrograms are stored. | |
Interactor | mInteractor |
Renderer::Renderer | ( | ) |
Renderer::~Renderer | ( | void | ) |
void Renderer::add | ( | ShaderProgram^ | prog | ) | [protected] |
adds a Shaderprogram to renderer
prog | Shader Program |
void Renderer::add | ( | Texture^ | text | ) | [protected] |
void Renderer::CheckFrameBufferStatus | ( | ) |
helperfunction to check framebuffer status
void Renderer::destroy | ( | ) |
destroys all textures and shaderprograms
bool Renderer::GetActive | ( | ) |
float Renderer::GetAlpha | ( | ) |
int Renderer::GetIndexChanged | ( | ) |
Interactor Renderer::GetInteractor | ( | ) |
void Renderer::Render | ( | ) | [virtual] |
render Methode
Reimplemented in LUVis::RendererArrowPlot, LUVis::RendererBackground, LUVis::RendererCoordSystem, LUVis::RendererGridTexture, LUVis::RendererGrid, LUVis::RendererTexture, LUVis::RendererDebug, LUVis::RendererParameter, and LUVis::RendererStreamLines.
void Renderer::renderTexture | ( | Texture2D^ | tex, | |
float | sizeX, | |||
float | sizeY | |||
) |
void Renderer::renderTexturedQuad | ( | float | sizeX, | |
float | sizeY | |||
) |
void Renderer::renderTexturedQuad | ( | Flow^ | flow, | |
bool | is3D | |||
) |
void Renderer::renderTexturedQuad | ( | Flow^ | flow | ) |
void Renderer::Resize | ( | GLsizei | width, | |
GLsizei | height | |||
) | [virtual] |
resize methode
Reimplemented in LUVis::RendererArrowPlot, LUVis::RendererBackground, LUVis::RendererCoordSystem, LUVis::RendererGridTexture, LUVis::RendererGrid, LUVis::RendererTexture, LUVis::RendererDebug, LUVis::RendererParameter, and LUVis::RendererStreamLines.
void Renderer::SetIndexChanged | ( | int | index | ) |
void Renderer::SetInteractor | ( | Interactor^ | _Interactor | ) |
void Renderer::Update | ( | System::Object^ | arg0 | ) | [virtual] |
Reimplemented in LUVis::RendererArrowPlot, LUVis::RendererBackground, LUVis::RendererDebug, LUVis::RendererParameter, and LUVis::RendererStreamLines.
void Renderer::Update | ( | ) | [virtual] |
bool LUVis::Renderer::bActive [protected] |
float LUVis::Renderer::fAlpha [protected] |
int LUVis::Renderer::iIndexChanged [protected] |
Interactor LUVis::Renderer::mInteractor [private] |
ArrayList LUVis::Renderer::ShaderList [private] |
Arraylist where all ShaderPrograms are stored.
ArrayList LUVis::Renderer::TextureList [private] |
Arraylist where all textures are stored.