GObject Class Reference

#include <gobject.h>

Inheritance diagram for GObject:

Polygon Sphere List of all members.

Public Member Functions

 GObject ()
baseBRDFbrdf (void)
void setBrdf (baseBRDF *b)
Materialmaterial ()
bool & isEmitter (void)
virtual bool intersect (Ray ray, float &t, Colour &colour)=0
virtual Vector normal (Point)=0
virtual Point objectCentre (void)=0
virtual eObjectType objectType (void) const =0
virtual void print (ostream &)=0
virtual bool sample (Point &p, float &pdf, const Point &from, float s, float t)=0
virtual void read (istream &)=0

Private Attributes

Material Mat
bool m_isEmitter
baseBRDFm_brdf

Constructor & Destructor Documentation

GObject::GObject (  )  [inline]


Member Function Documentation

baseBRDF* GObject::brdf ( void   )  [inline]

void GObject::setBrdf ( baseBRDF b  )  [inline]

Material& GObject::material (  )  [inline]

bool& GObject::isEmitter ( void   )  [inline]

virtual bool GObject::intersect ( Ray  ray,
float &  t,
Colour colour 
) [pure virtual]

Implemented in Polygon, and Sphere.

virtual Vector GObject::normal ( Point   )  [pure virtual]

Implemented in Polygon, and Sphere.

virtual Point GObject::objectCentre ( void   )  [pure virtual]

Implemented in Polygon, and Sphere.

virtual eObjectType GObject::objectType ( void   )  const [pure virtual]

Implemented in Polygon, and Sphere.

virtual void GObject::print ( ostream &   )  [pure virtual]

Implemented in Polygon, and Sphere.

virtual bool GObject::sample ( Point p,
float &  pdf,
const Point from,
float  s,
float  t 
) [pure virtual]

Implemented in Polygon, and Sphere.

virtual void GObject::read ( istream &   )  [pure virtual]

Implemented in Polygon, and Sphere.


Member Data Documentation

Material GObject::Mat [private]

bool GObject::m_isEmitter [private]

baseBRDF* GObject::m_brdf [private]


The documentation for this class was generated from the following file:
Generated on Fri Jan 12 10:15:52 2007 for Path tracing coursework by  doxygen 1.5.1-p1