INFO804 Introduction à l'informatique graphique
|
Namespace RayTracer. More...
Classes | |
struct | Color |
struct | GraphicalObject |
class | Image2D |
Classe générique pour représenter des images 2D. More... | |
class | Image2DWriter |
class | Image2DWriter< Color > |
Specialization for color images. More... | |
class | Image2DWriter< unsigned char > |
Specialization for gray-level images. More... | |
struct | Light |
Lights are used to give lights in a scene. More... | |
struct | Material |
struct | PointLight |
struct | PointVector |
struct | Ray |
struct | Renderer |
This structure takes care of rendering a scene. More... | |
struct | Scene |
struct | Sphere |
A sphere is a concrete GraphicalObject that represents a sphere in 3D space. More... | |
class | Viewer |
Typedefs | |
typedef float | Real |
the type for representing a real number. | |
typedef PointVector< Real, 2 > | Vector2 |
typedef PointVector< Real, 2 > | Point2 |
typedef PointVector< Real, 3 > | Vector3 |
The type for representing a 3d point. | |
typedef PointVector< Real, 3 > | Point3 |
The type for representing a 3d vector;. | |
typedef PointVector< Real, 4 > | Vector4 |
typedef PointVector< Real, 4 > | Point4 |
Functions | |
Color | operator* (Real v, const Color &other) |
Real | distance (const Color &c1, const Color &c2) |
template<typename T , std::size_t N> | |
std::ostream & | operator<< (std::ostream &out, const PointVector< T, N > &PV) |
template<typename T , std::size_t N> | |
PointVector< T, N > | operator* (T val, const PointVector< T, N > &PV) |
template<typename T , std::size_t N> | |
PointVector< T, N > | operator* (const PointVector< T, N > &PV, T val) |
template<typename T , std::size_t N> | |
PointVector< T, N > | operator/ (T val, const PointVector< T, N > &PV) |
template<typename T , std::size_t N> | |
PointVector< T, N > | operator/ (const PointVector< T, N > &PV, T val) |
template<typename T , std::size_t N> | |
T | distance2 (const PointVector< T, N > &p1, const PointVector< T, N > &p2) |
template<typename T , std::size_t N> | |
T | distance (const PointVector< T, N > &p1, const PointVector< T, N > &p2) |
void | progressBar (std::ostream &output, const double currentValue, const double maximumValue) |
Namespace RayTracer.
typedef PointVector< Real, 2 > rt::Point2 |
Definition at line 208 of file PointVector.h.
typedef PointVector< Real, 3 > rt::Point3 |
The type for representing a 3d vector;.
Definition at line 212 of file PointVector.h.
typedef PointVector< Real, 4 > rt::Point4 |
Definition at line 214 of file PointVector.h.
typedef float rt::Real |
the type for representing a real number.
Definition at line 206 of file PointVector.h.
typedef PointVector< Real, 2 > rt::Vector2 |
Definition at line 207 of file PointVector.h.
typedef PointVector< Real, 3 > rt::Vector3 |
The type for representing a 3d point.
Definition at line 210 of file PointVector.h.
typedef PointVector< Real, 4 > rt::Vector4 |
Definition at line 213 of file PointVector.h.
|
inline |
Definition at line 198 of file PointVector.h.
|
inline |
Definition at line 190 of file PointVector.h.
PointVector< T, N > rt::operator* | ( | const PointVector< T, N > & | PV, |
T | val | ||
) |
Definition at line 162 of file PointVector.h.
PointVector< T, N > rt::operator* | ( | T | val, |
const PointVector< T, N > & | PV | ||
) |
Definition at line 153 of file PointVector.h.
PointVector< T, N > rt::operator/ | ( | const PointVector< T, N > & | PV, |
T | val | ||
) |
Definition at line 180 of file PointVector.h.
PointVector< T, N > rt::operator/ | ( | T | val, |
const PointVector< T, N > & | PV | ||
) |
Definition at line 171 of file PointVector.h.
std::ostream & rt::operator<< | ( | std::ostream & | out, |
const PointVector< T, N > & | PV | ||
) |
Definition at line 146 of file PointVector.h.
|
inline |
Definition at line 16 of file Renderer.h.