SurfacePoint.cpp File Reference
Core class representing a single point on the surface of a Shape, which was likely generated by either an intersection with a Ray or random sampling on the surface of the shape. SurfacePoint encapsulates all of the different information about a surface point and is used for shading evaluation (BSDF), emittance evaluation (Emitter), and so-called importance evaluation (Sensor). More...
#include "SurfacePoint.h"
#include <Material.h>
#include <Ray.h>
Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &os, const SurfacePoint &pt) |
| Prints a SurfacePoint to an output stream for debugging purposes. | |
Detailed Description
Core class representing a single point on the surface of a Shape, which was likely generated by either an intersection with a Ray or random sampling on the surface of the shape. SurfacePoint encapsulates all of the different information about a surface point and is used for shading evaluation (BSDF), emittance evaluation (Emitter), and so-called importance evaluation (Sensor).
- Date:
- Fall 2008
- Note:
- When finding the closest intersection point between a Ray and a set of objects in the scene, SurfacePoint is used to hold the 'current' closest object and any metadata that shape may need to lazily fill in the rest of the SurfacePoint structure later on (see Shape::initSurfacePoint).
Definition in file SurfacePoint.cpp.
Function Documentation
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const SurfacePoint & | pt | |||
| ) |
Prints a SurfacePoint to an output stream for debugging purposes.
Definition at line 78 of file SurfacePoint.cpp.
Generated on 28 Feb 2009 for Milton by
1.5.6