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

HierRad Class Reference

#include <HierRad.h>

Inheritance diagram for HierRad:

RadMethod RadAttributes

Collaboration diagram for HierRad:

List of all members.


Public Members

 HierRad ()
 ~HierRad ()
virtual HRLinkCreateLink ()
Void SetScene (scScenePtr scene)
set new scene.

Void ResetOptions ()
called when options have been changed.

RadElemNewMesh ()
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.

PatchListGetElements ()
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.

HRElemClosestHRIntersection (Point &start, Vector &direction, Point &hitPoint)
HRElemList clusterableElems
Clusterable HR elements.

Clustercluster
Cluster.

HRElemPtrtrees
list of trees in the scene.

Int numTrees
HRElemPtr clusTree
points to top-level scene cluster.

PatchListleaves
Int iterations
Int poly
GCLReal error
Int linkPatch
Int linksCreated
Int linksCreatedLast

Static Public Members

Void* New ()


Detailed Description

The hierarchical radiosity system may have to deal with a number of bases of different orders, over different geometric constructs (planar quads or triangles, curved surfaces, even volume or face clusters.) The basic class that encapsulates all such elements is HRElem -- see HRElem.h for details. The basic class for representing links between different elements is HRLink; again, see HRLink.h for further details.

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.


Constructor & Destructor Documentation

HierRad::HierRad ()

Definition at line 51 of file HierRad.cc.

HierRad::~HierRad ()

Definition at line 55 of file HierRad.cc.


Member Function Documentation

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]

Reimplemented from RadMethod.

Definition at line 136 of file HierRad.cc.

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

Reimplemented from RadMethod.

Definition at line 160 of file HierRad.cc.

Void HierRad::DumpStats () [virtual]

Reimplemented from RadMethod.

Definition at line 702 of file HierRad.cc.

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]

Definition at line 76 of file HierRad.h.

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]

Reimplemented from RadMethod.

Definition at line 959 of file HierRad.cc.

Void HierRad::PrintCmds (ostream & s) const [virtual]

Reimplemented from RadMethod.

Definition at line 951 of file HierRad.cc.

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]

set new scene.

Reimplemented from RadMethod.

Definition at line 61 of file HierRad.cc.

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 ()

Refine the links, and then solve.

Definition at line 296 of file HierRad.cc.


Member Data Documentation

HRElemPtr HierRad::clusTree

points to top-level scene cluster.

Definition at line 65 of file HierRad.h.

Cluster * HierRad::cluster

Cluster.

Definition at line 62 of file HierRad.h.

HRElemList HierRad::clusterableElems

Clusterable HR elements.

Definition at line 61 of file HierRad.h.

GCLReal HierRad::error

Definition at line 70 of file HierRad.h.

Int HierRad::iterations

Definition at line 68 of file HierRad.h.

PatchList * HierRad::leaves

Definition at line 66 of file HierRad.h.

Int HierRad::linkPatch

Definition at line 71 of file HierRad.h.

Int HierRad::linksCreated

Definition at line 72 of file HierRad.h.

Int HierRad::linksCreatedLast

Definition at line 73 of file HierRad.h.

Int HierRad::numTrees

Definition at line 64 of file HierRad.h.

Int HierRad::poly

Definition at line 69 of file HierRad.h.

HRElemPtr * HierRad::trees

list of trees in the scene.

Definition at line 63 of file HierRad.h.


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