#include <TriangleSetExt.h>
Inheritance diagram for TriangleExt:
Public Member Functions | |
TriangleExt (const Triangle &t) | |
backward compatibility with Triangle structure. | |
Static Public Member Functions | |
static Vertex | centerOf (const Triangle &t) |
Compute center of triangle. | |
Public Attributes | |
Color | vertexColor [3] |
per-vertex colors | |
Color | vertexColorRaw [3] |
per-vertex colors after | |
Vertex | vertex [3] |
Array of vertexes. | |
Color | emission |
Triangle's own emission (for light sources). | |
Color | reflectivity |
Triangle's reflectivity (material property). | |
Color | radiosity |
Triangle's computed radiosity. | |
Color | radiosityLast |
Working variable of RadiosityRenderer. |
Definition at line 18 of file TriangleSetExt.h.
TriangleExt::TriangleExt | ( | const Triangle & | t | ) | [inline] |
backward compatibility with Triangle structure.
t | Reference to Triangle object to construct from. |
Definition at line 26 of file TriangleSetExt.h.
References Triangle::radiosity, vertexColor, and vertexColorRaw.
Compute center of triangle.
Definition at line 208 of file Triangle.h.
References Triangle::vertex, Vertex::x, Vertex::y, and Vertex::z.
per-vertex colors after
Definition at line 20 of file TriangleSetExt.h.
Referenced by TriangleExt().
Vertex Triangle::vertex[3] [inherited] |
Array of vertexes.
Definition at line 198 of file Triangle.h.
Referenced by Triangle::centerOf(), and operator<<().
Color Triangle::emission [inherited] |
Triangle's own emission (for light sources).
Definition at line 199 of file Triangle.h.
Referenced by operator<<().
Color Triangle::reflectivity [inherited] |
Triangle's reflectivity (material property).
Definition at line 200 of file Triangle.h.
Referenced by operator<<().
Color Triangle::radiosity [inherited] |
Triangle's computed radiosity.
Definition at line 201 of file Triangle.h.
Referenced by operator<<(), and TriangleExt().
Color Triangle::radiosityLast [inherited] |