#include <FormFactorEngine.h>
Collaboration diagram for FormFactorEngine:

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 | |
Definition at line 34 of file FormFactorEngine.h.
| FormFactorEngine::FormFactorEngine | ( | PatchRandomAccessEnumerator * | patchEnumerator | ) |
Constructor, create window, OpenGL context and pre-compute some temp variables.
| patchEnumerator |
| FormFactorEngine::~FormFactorEngine | ( | ) |
Destructor, close window, free memory.
| void FormFactorEngine::fillCacheLine | ( | int | destPatch, | |
| PatchCacheLine * | cacheLine | |||
| ) |
Compute form factors for destination patch destPatch and store these factors into cache line.
| destPatch | Index of destination patch. | |
| cacheLine | Pointer to target cache line. |
const int FormFactorEngine::EDGE_1 = 256 [static] |
const int FormFactorEngine::EDGE_2 = 2*EDGE_1 [static] |
const int FormFactorEngine::EDGE_LENGTH = 3*EDGE_1 [static] |
1.5.2