FormFactorEngine Class Reference

Compute all form factors for any destination patch. More...

#include <FormFactorEngine.h>

Collaboration diagram for FormFactorEngine:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FormFactorEngine (PatchRandomAccessEnumerator *patchEnumerator)
 Constructor, create window, OpenGL context and pre-compute some temp variables.
void fillCacheLine (int destPatch, PatchCacheLine *cacheLine)
 Compute form factors for destination patch destPatch and store these factors into cache line.
 ~FormFactorEngine ()
 Destructor, close window, free memory.

Static Public Attributes

static const int EDGE_1 = 256
 size (in pixels) of hemi-cube edge
static const int EDGE_2 = 2*EDGE_1
 EDGE_1 * 2 (size of important area in hemicube).
static const int EDGE_LENGTH = 3*EDGE_1
 size (pixels) of render viewport

Detailed Description

Compute all form factors for any destination patch.

Definition at line 34 of file FormFactorEngine.h.


Constructor & Destructor Documentation

FormFactorEngine::FormFactorEngine ( PatchRandomAccessEnumerator patchEnumerator  ) 

Constructor, create window, OpenGL context and pre-compute some temp variables.

Parameters:
patchEnumerator 

FormFactorEngine::~FormFactorEngine (  ) 

Destructor, close window, free memory.


Member Function Documentation

void FormFactorEngine::fillCacheLine ( int  destPatch,
PatchCacheLine cacheLine 
)

Compute form factors for destination patch destPatch and store these factors into cache line.

Parameters:
destPatch Index of destination patch.
cacheLine Pointer to target cache line.


Member Data Documentation

const int FormFactorEngine::EDGE_1 = 256 [static]

size (in pixels) of hemi-cube edge

Definition at line 72 of file FormFactorEngine.h.

const int FormFactorEngine::EDGE_2 = 2*EDGE_1 [static]

EDGE_1 * 2 (size of important area in hemicube).

Definition at line 73 of file FormFactorEngine.h.

const int FormFactorEngine::EDGE_LENGTH = 3*EDGE_1 [static]

size (pixels) of render viewport

Definition at line 74 of file FormFactorEngine.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 6 19:33:12 2007 for Radiosity Renderer and Visualizer by  doxygen 1.5.2