#include <RadMesh.h>
Inheritance diagram for RadElem:
Collaboration diagram for RadElem:
Edge and vertex numbering for a quad element is as follows: 3 +-----+ |0 3| 0 | | 2 |1 2| +-----+ 1 Numbering for triangular elements is as follows: 0 |\ | \ 2 0 | \ | \ +----+ 1 2 1 In general: vertex numbering is counter-clockwise from the upper-left, and edge i is the edge from vertices i to (i + 1) % m. Thus index[0] is index of top-left vertex, etc. A triangle has three valid indices, with index[3] = -1. A quad is parameterised by [s, t] as follows: v[1] + s(v[2] - v[1]) + t(v[0] - v[1]): s, t E [0, 1] A tri is parameterised by : (1 - s - t) v[0] + sv[1] + tv[2]: s, t, s + t E [0, 1] There are also colour indices for each corner of the quad/tri, which lets us share colours for internal mesh vertices and along polys that share normals & surface attributes.
Definition at line 84 of file RadMesh.h.
Definition at line 116 of file RadMesh.cc.
[virtual]
Definition at line 124 of file RadMesh.cc.
Combines EstPatchFactor and PatchFactor according to an approximation oracle.
Definition at line 460 of file RadMesh.cc.
[inline]
Definition at line 753 of file RadMesh.cc.
[inline, virtual]
Push element radiosities to vertices.
Reimplemented in HierElem, HierGrid, and RadGrid.
Definition at line 673 of file RadMesh.cc.
Definition at line 269 of file RadMesh.cc.
[inline, virtual]
Split Elem into patches s.t. area < maxPatchSize.
Reimplemented in HierElem, HierGrid, HRMeshElem, and RadGrid.
Definition at line 684 of file RadMesh.cc.
[virtual]
Reimplemented in HierElem, HierGrid, HRMeshElem, and RadGrid.
Definition at line 155 of file RadMesh.cc.
Definition at line 139 of file RadMesh.cc.
Definition at line 391 of file RadMesh.cc.
[inline]
Returns an estimate of the form factor from this patch to 'to' by calling one of the above methods.
Definition at line 499 of file RadMesh.cc.
[inline, virtual]
Find the elem containing this coord.
Reimplemented in HierElem, HierGrid, and RadGrid.
Definition at line 224 of file RadMesh.cc.
[inline]
[inline]
[inline]
[inline]
[virtual]
Reimplemented in HierElem, HierGrid, NbRadElem, and RadGrid.
Definition at line 1141 of file RadMesh.cc.
[virtual]
Reimplemented in HaarElem, HierElem, HierGrid, and RadGrid.
Definition at line 335 of file RadMesh.cc.
[inline]
[inline]
Definition at line 602 of file RadMesh.cc.
[virtual]
Definition at line 804 of file RadMesh.cc.
Definition at line 838 of file RadMesh.cc.
[virtual]
Reimplemented in HaarElem, HierElem, HierGrid, HRMeshElem, and RadGrid.
Definition at line 340 of file RadMesh.cc.
Definition at line 1037 of file RadMesh.cc.
Definition at line 994 of file RadMesh.cc.
[virtual]
[inline]
[inline, virtual]
Sample radiosity at this coord.
Reimplemented in AnaGrid.
Definition at line 259 of file RadMesh.cc.
[inline, virtual]
Sample radiosity of this elem, rather than descendants.
Reimplemented in HaarElem.
Definition at line 229 of file RadMesh.cc.
Samples patch factor over n x n panes of the element to estimate form factor.
Definition at line 565 of file RadMesh.cc.
[inline]
Definition at line 1109 of file RadMesh.cc.
[inline]
Definition at line 1097 of file RadMesh.cc.
Definition at line 636 of file RadMesh.cc.
[inline]
[inline]
[inline]
Definition at line 915 of file RadMesh.cc.
Definition at line 724 of file RadMesh.cc.
Definition at line 904 of file RadMesh.cc.
[inline]
[static]
[static]