HDR Class Reference

#include <HDR.h>

Collaboration diagram for HDR:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HDR (int width_in, int height_in, int filter_levels=5)
 ~HDR ()
void blur (PHsurface *sources, PHsurface *dests, int count, Direction dir)
void init ()
void drawBegin ()
void drawEnd ()
void setFilterLevel (int filter_level_in)
void setBlurLevel (int blur_level_in)
void drawOpen ()
void drawClear ()
void drawClose ()
void setViewSize (int width_in, int height_in)
void clear ()

Public Attributes

PHsurface scene
int buffer_width
int buffer_height
int view_width
int view_height

Protected Attributes

PHsurface window
PHsurface pass0 [HDR_FILTER_MAX]
PHsurface pass1 [HDR_FILTER_MAX]
PHsurface mblur [HDR_BLUR_MAX]
GLuint sphereVerts
GLuint sphereFaces
GLuint blitProg
GLuint combineProg
GLuint filterProg
GLuint hiPassProg
int blur_step
float * kernel
bool initialized
bool buffer_open
int filter_levels
int blur_levels


Constructor & Destructor Documentation

HDR::HDR ( int  width_in,
int  height_in,
int  filter_levels = 5 
)

HDR::~HDR (  ) 

Here is the call graph for this function:


Member Function Documentation

void HDR::blur ( PHsurface sources,
PHsurface dests,
int  count,
Direction  dir 
)

Here is the call graph for this function:

void HDR::init (  ) 

Here is the call graph for this function:

void HDR::drawBegin (  ) 

Here is the call graph for this function:

void HDR::drawEnd (  ) 

Here is the call graph for this function:

void HDR::setFilterLevel ( int  filter_level_in  ) 

Here is the call graph for this function:

void HDR::setBlurLevel ( int  blur_level_in  ) 

Here is the call graph for this function:

void HDR::drawOpen (  ) 

Here is the call graph for this function:

void HDR::drawClear (  ) 

Here is the call graph for this function:

void HDR::drawClose (  ) 

Here is the call graph for this function:

void HDR::setViewSize ( int  width_in,
int  height_in 
)

Here is the call graph for this function:

void HDR::clear (  ) 

Here is the call graph for this function:


Member Data Documentation

PHsurface HDR::window [protected]

PHsurface HDR::pass0[HDR_FILTER_MAX] [protected]

PHsurface HDR::pass1[HDR_FILTER_MAX] [protected]

PHsurface HDR::mblur[HDR_BLUR_MAX] [protected]

GLuint HDR::sphereVerts [protected]

GLuint HDR::sphereFaces [protected]

GLuint HDR::blitProg [protected]

GLuint HDR::combineProg [protected]

GLuint HDR::filterProg [protected]

GLuint HDR::hiPassProg [protected]

int HDR::blur_step [protected]

float* HDR::kernel [protected]

bool HDR::initialized [protected]

bool HDR::buffer_open [protected]

int HDR::filter_levels [protected]

int HDR::blur_levels [protected]


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

Generated on Thu Mar 19 19:35:21 2009 for CubicVR by  doxygen 1.5.6