Group Class Reference

#include <Group.h>

Inherits Object.


Public Member Functions

 Group ()
virtual ~Group ()
void addObject (Object *object)
virtual void preprocess ()
virtual void getBounds (BoundingBox &bbox) const
virtual void intersect (HitRecord &hit, const RenderContext &context, const Ray &ray) const

Protected Attributes

std::vector< Object * > objects


Detailed Description

Definition at line 11 of file Group.h.


Constructor & Destructor Documentation

Group  ) 
 

Definition at line 9 of file Group.cc.

~Group  )  [virtual]
 

Definition at line 13 of file Group.cc.


Member Function Documentation

void addObject Object object  ) 
 

Definition at line 17 of file Group.cc.

References objects.

void getBounds BoundingBox bbox  )  const [virtual]
 

Implements Object.

Definition at line 30 of file Group.cc.

References objects.

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

Implements Object.

Definition at line 38 of file Group.cc.

References objects.

void preprocess  )  [virtual]
 

Reimplemented from Object.

Definition at line 22 of file Group.cc.

References objects.


Field Documentation

std::vector<Object*> objects [protected]
 

Definition at line 22 of file Group.h.

Referenced by addObject(), getBounds(), intersect(), and preprocess().


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