Main Page Class Hierarchy Compound List File List Compound Members File Members
HRLink Class Reference
#include <HRLink.h>
Inheritance diagram for HRLink:
Collaboration diagram for HRLink:
List of all members.
Public Members |
| | | HRLink () |
| | virtual HRLink* | New () = 0 |
| | | Create a new link of the same type.
|
| | virtual Void | FreeLink (HRLink *link) |
| | | Free up link.
|
| | Bool | MakeLink ( HRElem *fromElem, HRElem *toElem, HRLink *parentLink = 0, Bool forceVisReuse = false ) |
| | | Setup a link. More...
|
| | virtual Bool | CalcTransport () = 0 |
| | | Calculate the transport coefficients. More...
|
| | virtual Bool | CalcVisibility (HRLink *parentLink, Bool forceVisReuse) |
| | | Calculate the fractional visibility, and
multiply into transport. More...
|
| | virtual Void | Gather () = 0 |
| | | Gather radiosity from from->B and accumulate
in to->R.
|
| | Bool | NeedVisibility (HRLink *parentLink) |
| | | Return true if we need a new visibility estimate.
|
| | virtual RefChoice | RefineOracle () |
| | | Decide if and how the link needs to be refined.
|
| | virtual GCLReal | Error () = 0 |
| | virtual GCLReal | BFAError () = 0 |
| | HRLink* | CreateSubLink (HRElem *from, HRElem *to) |
| | | Create a new link between from and to,
reusing the visibility calcs of the old link
if possible.
|
| | virtual Void | Print (ostream &s) |
| | virtual Void | DrawLink (Renderer &r, GCLReal left, GCLReal top, GCLReal right, GCLReal bottom, GCLReal weight) |
| | virtual GCLReal | Strength () = 0 |
| | virtual Void | DebugInfo () |
| | HRElem* | from |
| | HRElem * | to |
| | GCLReal | visibility |
| | Flags8 | flags |
Detailed Description
Definition at line 27 of file HRLink.h.
Constructor & Destructor Documentation
Member Function Documentation
virtual GCLReal HRLink::BFAError () [pure virtual]
|
Bool HRLink::CalcTransport () [inline, pure virtual]
|
Calculate the transport coefficients.
Returns true if the transport is non-zero.
Reimplemented in GenLink, HaarLink, and VecLink.
Bool HRLink::CalcVisibility (HRLink * parent, Bool rv) [inline, virtual]
|
Calculate the fractional visibility, and
multiply into transport.
Return true if
the link isn't totally occluded.
Reimplemented in GenLink, HaarLink, and VecLink.
Definition at line 130 of file HRLink.cc.
Create a new link between from and to,
reusing the visibility calcs of the old link
if possible.
Definition at line 144 of file HRLink.cc.
Void HRLink::DebugInfo () [virtual]
|
Void HRLink::DrawLink (Renderer & r, GCLReal left, GCLReal top, GCLReal right, GCLReal bottom, GCLReal weight) [virtual]
|
virtual GCLReal HRLink::Error () [pure virtual]
|
Void HRLink::FreeLink (HRLink * link) [inline, virtual]
|
Void HRLink::Gather () [inline, pure virtual]
|
Bool HRLink::MakeLink (HRElem * fromElem, HRElem * toElem, HRLink * parentLink = 0, Bool forceVisReuse = false)
|
Setup a link.
Returns true if there is a viable link, false if there is no
energy transfer and the link can be discarded.
Definition at line 99 of file HRLink.cc.
Bool HRLink::NeedVisibility (HRLink * parentLink)
|
Return true if we need a new visibility estimate.
Definition at line 193 of file HRLink.cc.
HRLink * HRLink::New () [inline, pure virtual]
|
Void HRLink::Print (ostream & s) [virtual]
|
RefChoice HRLink::RefineOracle () [inline, virtual]
|
Decide if and how the link needs to be refined.
Reimplemented in GenLink, and VecLink.
Definition at line 36 of file HRLink.cc.
virtual GCLReal HRLink::Strength () [pure virtual]
|
Member Data Documentation
GCLReal HRLink::visibility
|
The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:26:56 2000 for Radiator by
1.1.0 written by Dimitri van Heesch,
© 1997-2000