Shaders Class Reference

#include <Shaders.h>

Collaboration diagram for Shaders:
[legend]

List of all members.

Public Member Functions

void init ()
void setPixelUniforms ()

Static Public Member Functions

static ShadersgetInstance ()

Public Attributes

GLenum transferFunction_program
GLenum color_program
GLenum arrow_program
GLenum backfaces_program
GLenum frontfaces_program


Detailed Description

Class, which handles the shader stuff.

Member Function Documentation

Shaders * Shaders::getInstance (  )  [static]

Returns an instance of this class.

Returns:
An instance of this class.

void Shaders::init (  ) 

Compiles the Shaders to make them available for rendering.

void Shaders::setPixelUniforms (  ) 

Sets some uniforms before rendering


Member Data Documentation

GLenum Shaders::transferFunction_program

The shader-program to render the transferfunction.

GLenum Shaders::color_program

The shader-program to render the 2D slices.

GLenum Shaders::arrow_program

The shader-program to render the arrows

GLenum Shaders::backfaces_program

The shader-program to render the backfaces of the volume cube.

GLenum Shaders::frontfaces_program

The shader-program to render the frontfaces of the volume cube.


The documentation for this class was generated from the following files:
Generated on Sun Jan 20 12:10:08 2008 for FlowVis by  doxygen 1.5.4