cpe::object3d Class Reference

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

+ Inheritance diagram for cpe::object3d:

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

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::sphere, and cpe::plane.

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


The documentation for this class was generated from the following file: