8 #include "Primitive.hxx"
16 // add another primitive to the scene
17 void Add(Primitive* p);
19 // intersect the ray with all objects in the scene
20 virtual bool Intersect(Ray& ray);
22 virtual bool Occluded(Ray& ray);
24 // trace the given ray and shade it, returnt the color of the shaded ray
25 Vec3f RayTrace(Ray& ray);
27 const Camera* camera() const;
30 Scene& operator=(const Scene& );
37 std::vector<Primitive*> m_primitives;