Material Class Reference

#include <Material.h>

Inherited by LambertianMaterial.


Public Member Functions

 Material ()
virtual ~Material ()
virtual void preprocess ()
virtual void shade (Color &result, const RenderContext &context, const Ray &ray, const HitRecord &hit, const Color &atten, int depth) const =0


Detailed Description

Definition at line 13 of file Material.h.


Constructor & Destructor Documentation

Material  ) 
 

Definition at line 7 of file Material.cc.

~Material  )  [virtual]
 

Definition at line 11 of file Material.cc.


Member Function Documentation

void preprocess  )  [virtual]
 

Definition at line 15 of file Material.cc.

Referenced by Primitive::preprocess().

virtual void shade Color result,
const RenderContext context,
const Ray ray,
const HitRecord hit,
const Color atten,
int  depth
const [pure virtual]
 

Implemented in LambertianMaterial.

Referenced by Scene::render().


The documentation for this class was generated from the following files:
Generated on Tue Jan 29 21:34:55 2008 for specter by  doxygen 1.4.6