-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScene.h
More file actions
38 lines (25 loc) · 770 Bytes
/
Copy pathScene.h
File metadata and controls
38 lines (25 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// Created by Jiang Kairong on 3/10/18.
//
#ifndef PROG03_INLINEBOOL_SCENE_H
#define PROG03_INLINEBOOL_SCENE_H
#include <vector>
#include "Surface.h"
#include "Camera.h"
#include "LightSource.h"
#include "Image.h"
class Scene {
public:
explicit Scene(const std::string &sceneFileName);
const std::vector<Surface*> &getObjects() const;
void setObjects(const std::vector<Surface*> &objects);
const Camera &getMainCamera() const;
void setMainCamera(const Camera &mainCamera);
const std::vector<LightSource> &getLightSources() const;
void setLightSources(const std::vector<LightSource> &lightSources);
private:
std::vector<Surface*> objects;
Camera mainCamera;
std::vector<LightSource> lightSources;
};
#endif //PROG03_INLINEBOOL_SCENE_H