Object Class Reference

#include <Object.h>

Inherited by Group, and Primitive.


Public Member Functions

 Object ()
virtual ~Object ()
virtual void preprocess ()
virtual void getBounds (BoundingBox &bbox) const =0
virtual void intersect (HitRecord &hit, const RenderContext &context, const Ray &ray) const =0


Detailed Description

Definition at line 14 of file Object.h.


Constructor & Destructor Documentation

Object  ) 
 

Definition at line 7 of file Object.cc.

~Object  )  [virtual]
 

Definition at line 11 of file Object.cc.


Member Function Documentation

virtual void getBounds BoundingBox bbox  )  const [pure virtual]
 

Implemented in Box, Cyl, Group, Plane, Ring, Sphere, and Triangle.

virtual void intersect HitRecord hit,
const RenderContext context,
const Ray ray
const [pure virtual]
 

Implemented in Box, Cyl, Group, Plane, Primitive, Ring, Sphere, and Triangle.

Referenced by Scene::render(), and LambertianMaterial::shade().

void preprocess  )  [virtual]
 

Reimplemented in Group, and Primitive.

Definition at line 15 of file Object.cc.


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