#include <Scene.hpp>
Definition at line 16 of file Scene.hpp.
◆ Scene()
| RayTracer::Scene::Scene |
( |
| ) |
|
|
noexcept |
Definition at line 9 of file Scene.cpp.
10{}
std::vector< std::shared_ptr< IPrimitive > > _objects
std::unique_ptr< ILight > _ambient
std::vector< std::unique_ptr< ILight > > _lights
References _ambient, _lights, and _objects.
◆ addLight()
| void RayTracer::Scene::addLight |
( |
std::unique_ptr< ILight > | light | ) |
|
◆ addObject()
| void RayTracer::Scene::addObject |
( |
std::shared_ptr< IPrimitive > | obj | ) |
|
◆ getAmbient()
◆ getCamera()
◆ getLights()
| const std::vector< std::unique_ptr< RayTracer::ILight > > & RayTracer::Scene::getLights |
( |
| ) |
const |
◆ getObjects()
◆ setAmbientLight()
| void RayTracer::Scene::setAmbientLight |
( |
std::unique_ptr< ILight > | light | ) |
|
◆ setCamera()
| void RayTracer::Scene::setCamera |
( |
const Camera & | cam | ) |
|
◆ _ambient
| std::unique_ptr<ILight> RayTracer::Scene::_ambient |
|
private |
◆ _camera
| Camera RayTracer::Scene::_camera |
|
private |
◆ _lights
| std::vector<std::unique_ptr<ILight> > RayTracer::Scene::_lights |
|
private |
◆ _objects
| std::vector<std::shared_ptr<IPrimitive> > RayTracer::Scene::_objects |
|
private |
The documentation for this class was generated from the following files: