#include <HierRad.h>
Inheritance diagram for HierRad:
Public Members | |||
HierRad () | |||
~HierRad () | |||
virtual HRLink* | CreateLink () | ||
Void | SetScene (scScenePtr scene) | ||
set new scene. | |||
Void | ResetOptions () | ||
called when options have been changed. | |||
RadElem* | NewMesh () | ||
Return mesh element for this method. | |||
Int | Stage (Int stage) | ||
Gets called at various stages of solution. | |||
Void | Draw (Renderer &r) | ||
Void | DrawMatrix (Renderer &r) | ||
Void | DumpStats () | ||
Void | ColourVertices () | ||
Assign appropriate radiosities to each vertex based on face radiosities. | |||
PatchList* | GetElements () | ||
Return a pointer to a list of leaf elements in the
mesh. | |||
Void | PrintCmds (ostream &s) const | ||
Bool | ParseCmd (StrConst str, istream &s) | ||
Bool | Render () | ||
Wavelet radiosity render. More... | |||
Bool | CreateClusterLink () | ||
Bool | CreateInitialPatchLinks () | ||
Bool | ScheduledSolve () | ||
Bool | MultiGridSolve () | ||
Bool | TwoStageSolve () | ||
Refine the links, and then solve. | |||
HRElem* | ClosestHRIntersection (Point &start, Vector &direction, Point &hitPoint) | ||
HRElemList | clusterableElems | ||
Clusterable HR elements. | |||
Cluster* | cluster | ||
Cluster. | |||
HRElemPtr* | trees | ||
list of trees in the scene. | |||
Int | numTrees | ||
HRElemPtr | clusTree | ||
points to top-level scene cluster. | |||
PatchList* | leaves | ||
Int | iterations | ||
Int | poly | ||
GCLReal | error | ||
Int | linkPatch | ||
Int | linksCreated | ||
Int | linksCreatedLast | ||
Static Public Members | |||
Void* | New () |
All HRElems should implement the generic wavelet interface, so they can be used interchangeably, or in cluster-driven radiosity, using GenLink. The Haar..M3Elem types also each have their own link type that assumes the scene consists of that type only for added efficiency. (See HaarLink, M2Link etc.)
Definition at line 19 of file HierRad.h.
HierRad::HierRad () |
Definition at line 51 of file HierRad.cc.
HierRad::~HierRad () |
Definition at line 55 of file HierRad.cc.
HRElem* HierRad::ClosestHRIntersection (Point & start, Vector & direction, Point & hitPoint) |
Void HierRad::ColourVertices () [virtual]
|
Assign appropriate radiosities to each vertex based on face radiosities.
Reimplemented from RadMethod.
Definition at line 871 of file HierRad.cc.
Bool HierRad::CreateClusterLink () |
Definition at line 200 of file HierRad.cc.
Bool HierRad::CreateInitialPatchLinks () |
Definition at line 231 of file HierRad.cc.
HRLink * HierRad::CreateLink () [virtual]
|
Definition at line 178 of file HierRad.cc.
Void HierRad::Draw (Renderer & r) [virtual]
|
Void HierRad::DrawMatrix (Renderer & r) [virtual]
|
Void HierRad::DumpStats () [virtual]
|
PatchList * HierRad::GetElements () [virtual]
|
Return a pointer to a list of leaf elements in the mesh.
Reimplemented from RadMethod.
Definition at line 914 of file HierRad.cc.
Bool HierRad::MultiGridSolve () |
Definition at line 383 of file HierRad.cc.
Void * HierRad::New () [inline, static]
|
RadElem * HierRad::NewMesh () [virtual]
|
Return mesh element for this method.
Reimplemented from RadMethod.
Definition at line 859 of file HierRad.cc.
Bool HierRad::ParseCmd (StrConst str, istream & s) [virtual]
|
Void HierRad::PrintCmds (ostream & s) const [virtual]
|
Bool HierRad::Render () [virtual]
|
Wavelet radiosity render.
Returns true if render completed successfully.
Reimplemented from RadMethod.
Definition at line 501 of file HierRad.cc.
Void HierRad::ResetOptions () [virtual]
|
called when options have been changed.
Reimplemented from RadMethod.
Definition at line 82 of file HierRad.cc.
Bool HierRad::ScheduledSolve () |
Definition at line 476 of file HierRad.cc.
Void HierRad::SetScene (scScenePtr theScene) [virtual]
|
Int HierRad::Stage (Int stage) [virtual]
|
Gets called at various stages of solution.
Reimplemented from RadMethod.
Definition at line 771 of file HierRad.cc.
Bool HierRad::TwoStageSolve () |
HRElemPtr HierRad::clusTree |
Cluster * HierRad::cluster |
HRElemList HierRad::clusterableElems |
GCLReal HierRad::error |
Int HierRad::iterations |
PatchList * HierRad::leaves |
Int HierRad::linkPatch |
Int HierRad::linksCreated |
Int HierRad::linksCreatedLast |
Int HierRad::numTrees |
Int HierRad::poly |
HRElemPtr * HierRad::trees |