This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | Vertex |
| 3D vertex (3 axes - x, y, z) More... | |
| struct | Color |
| Color representation - 3 float (r, g, b) in range <0.0, 1.0>. More... | |
| struct | Triangle |
| Low-level triangle representation - plain structure. This structure contains 3 Vertexes and 3 Colors (needed for radiosity rendering). More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &out, const Vertex &vertex) |
| Represent Vertex object in human readable format. | |
| Color & | operator+= (Color &dest, const Color &src) |
| Addition of another color. Behaves as usual vector arithmetic. | |
| Color & | operator *= (Color &dest, const Color &src) |
| Multiplication by another color. Component after component. | |
| Color & | operator *= (Color &c, float ratio) |
| Multiplication by constant. Behaves as usual vector arithmetic. | |
| Color | operator * (Color c, float ratio) |
| Multiplication by constant. Behaves as usual vector arithmetic. | |
| bool | operator== (const Color &a, const Color &b) |
| Compare two color structures. Component after component. | |
| std::ostream & | operator<< (std::ostream &out, const Color &color) |
| Represent Color object in human readable format. | |
| std::ostream & | operator<< (std::ostream &out, const Triangle &t) |
| Represent Triangle object in human readable format. | |
Definition in file Triangle.h.
Multiplication by constant. Behaves as usual vector arithmetic.
| c | Color to multiplicate. | |
| ratio | Constant to multiplicate by. |
Definition at line 156 of file Triangle.h.
Multiplication by constant. Behaves as usual vector arithmetic.
| c | Destination color structure. | |
| ratio | Constant to multiplicate by. |
Definition at line 142 of file Triangle.h.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Triangle & | t | |||
| ) | [inline] |
Represent Triangle object in human readable format.
| out | Output stream to write to. | |
| t | Reference to Triangle object to write. |
Definition at line 225 of file Triangle.h.
References Triangle::emission, Triangle::radiosity, Triangle::reflectivity, and Triangle::vertex.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Color & | color | |||
| ) | [inline] |
Represent Color object in human readable format.
| out | Output stream to write to. | |
| color | Reference to Color object to write. |
Definition at line 183 of file Triangle.h.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Vertex & | vertex | |||
| ) | [inline] |
Represent Vertex object in human readable format.
| out | Output stream to write to. | |
| vertex | Reference to Vertex object to write. |
Definition at line 59 of file Triangle.h.
1.5.2