-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTeleImmersionSceneManager.cpp
More file actions
34 lines (25 loc) · 1.02 KB
/
TeleImmersionSceneManager.cpp
File metadata and controls
34 lines (25 loc) · 1.02 KB
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
#include "TeleImmersionSceneManager.h"
TeleImmersionSceneManager::TeleImmersionSceneManager(CollageGraphics* collageGraphics)
: SceneManager(collageGraphics) {
padPixelsBetweenDisplays = 0;
toroidalDisplay = false;
padForBoundaries = false;
SceneDisplayGroup* sceneDisplayGroup;
SceneDisplay* sceneDisplay;
// Build the only display group
sceneDisplayGroup = new SceneDisplayGroup(this);
sceneDisplayGroup->SetGroupName("wall 1");
// Set the only display
sceneDisplay = new SceneDisplay(sceneDisplayGroup);
sceneDisplay->SetDisplayRole(SceneManager::SM_THUMBNAIL_DISPLAY);
sceneDisplay->SetXOrigin(0);
sceneDisplay->SetYOrigin(0);
sceneDisplay->SetWidthInPixels(1920 * 2);
sceneDisplay->SetHeightInPixels(1080 * 2);
sceneDisplayGroup->GetSceneDisplays()->push_back(sceneDisplay);
sceneDisplayGroups.push_back(sceneDisplayGroup);
// Take all of the dimensions and compute all aspects of the scene
CalculateScene();
}
TeleImmersionSceneManager::~TeleImmersionSceneManager() {
}