SurfacePoint.h File Reference

#include <shapes/Triangle.h>
#include <materials/IndexOfRefraction.h>
#include <boost/shared_ptr.hpp>
#include <ostream>

Go to the source code of this file.

Classes

class  SurfacePoint
 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...
struct  SurfacePoint::SurfacePointNormal
 Convenience stand-in normal which plays nicely with shapes that don't support the concept of a normal (ex. point lights). More...

Typedefs

typedef boost::shared_ptr
< SurfacePoint
SurfacePointPtr

Functions

std::ostream & operator<< (std::ostream &os, const SurfacePoint &pt)
 Prints a SurfacePoint to an output stream for debugging purposes.


Typedef Documentation

typedef boost::shared_ptr<SurfacePoint> SurfacePointPtr

Definition at line 177 of file SurfacePoint.h.


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 doxygen 1.5.6