cpe::object3d Class Reference

Generic container of a shape with intersect method. More...

Inheritance diagram for cpe::object3d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 object3d ()
 empty constructor
virtual ~object3d ()
 destructor
virtual std::vector
< intersection_data
intersect (const ray &seg) const =0
 Method to call on a generic object to get intersection with a ray.

Detailed Description

Generic container of a shape with intersect method.


Constructor & Destructor Documentation

cpe::object3d::object3d (  )  [inline]

empty constructor

virtual cpe::object3d::~object3d (  )  [inline, virtual]

destructor


Member Function Documentation

virtual std::vector<intersection_data> cpe::object3d::intersect ( const ray seg  )  const [pure virtual]

Method to call on a generic object to get intersection with a ray.

Implemented in cpe::plane, and cpe::sphere.

Referenced by cpe::ray_tracer::find_inter().


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 16:13:45 2011 by  doxygen 1.6.3