Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ProgRad Class Reference

#include <ProgRad.h>

Inheritance diagram for ProgRad:

RadMethod RadAttributes HProgRad

Collaboration diagram for ProgRad:

List of all members.


Public Members

Bool Render ()
create the radiosity solution.

Int Stage (Int stage)
Gets called at various stages of solution.

RadElemNewMesh ()
Return mesh element for this method.

Void DrawMatrix (Renderer &r)
Void DumpStats ()
Void MakeFormFactorFromVector (RadElem &fromPatch, PatchList &patches, ColourList &result)
ColourList B
ColourList S
Int maxPowerIndex
GCLReal error
GCLReal maxPower
GCLReal origShoot
Colour envRad
Int iterations
ColourList FFRow

Static Public Members

Void* New ()


Detailed Description

This implements progressive radiosity *without* substructuring. Its main purpose is as a more easily readable implementation of progressive radiosity, without the substructuring code cluttering things up, and for comparisons with the substructuring version to gauge the overhead of subtructuring.

For most "real world" applications, progressive radiosity with substructuring (implemented by HProgRad) should be used instead.

Definition at line 17 of file ProgRad.h.


Member Function Documentation

Void ProgRad::DrawMatrix (Renderer & r) [virtual]

Reimplemented from RadMethod.

Reimplemented in HProgRad.

Definition at line 421 of file ProgRad.cc.

Void ProgRad::DumpStats () [virtual]

Reimplemented from RadMethod.

Reimplemented in HProgRad.

Definition at line 335 of file ProgRad.cc.

Void ProgRad::MakeFormFactorFromVector (RadElem & fromPatch, PatchList & patches, ColourList & result)

Definition at line 27 of file ProgRad.cc.

Void * ProgRad::New () [inline, static]

Reimplemented in HProgRad.

Definition at line 47 of file ProgRad.h.

RadElem * ProgRad::NewMesh () [virtual]

Return mesh element for this method.

Reimplemented from RadMethod.

Reimplemented in HProgRad.

Definition at line 464 of file ProgRad.cc.

Bool ProgRad::Render () [virtual]

create the radiosity solution.

Reimplemented from RadMethod.

Reimplemented in HProgRad.

Definition at line 84 of file ProgRad.cc.

Int ProgRad::Stage (Int stage) [virtual]

Gets called at various stages of solution.

Reimplemented from RadMethod.

Reimplemented in HProgRad.

Definition at line 374 of file ProgRad.cc.


Member Data Documentation

ColourList ProgRad::B

Definition at line 30 of file ProgRad.h.

ColourList ProgRad::FFRow

Definition at line 40 of file ProgRad.h.

ColourList ProgRad::S

Definition at line 31 of file ProgRad.h.

Colour ProgRad::envRad

Definition at line 36 of file ProgRad.h.

GCLReal ProgRad::error

Definition at line 35 of file ProgRad.h.

Int ProgRad::iterations

Definition at line 38 of file ProgRad.h.

GCLReal ProgRad::maxPower

Definition at line 35 of file ProgRad.h.

Int ProgRad::maxPowerIndex

Definition at line 33 of file ProgRad.h.

GCLReal ProgRad::origShoot

Definition at line 35 of file ProgRad.h.


The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:26:58 2000 for Radiator by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000