Carna  Version 3.0.1
TestScene.h
1 /*
2  * Copyright (C) 2010 - 2015 Leonid Kostrykin
3  *
4  * Chair of Medical Engineering (mediTEC)
5  * RWTH Aachen University
6  * Pauwelsstr. 20
7  * 52074 Aachen
8  * Germany
9  *
10  */
11 
12 #pragma once
13 
14 #include <Carna/Carna.h>
15 
16 namespace Carna
17 {
18 
19 namespace testing
20 {
21 
22 
23 
24 // ----------------------------------------------------------------------------------
25 // TestScene
26 // ----------------------------------------------------------------------------------
27 
28 class TestScene
29 {
30 
31  std::unique_ptr< base::HUVolumeUInt16 > huVolume;
32 
33  base::Geometry* const myVolumeGeometry;
34 
35  base::Camera* const myCam;
36 
37 public:
38 
39  const static unsigned int GEOMETRY_TYPE_VOLUMETRIC = 0;
40 
41  const static unsigned int ROLE_HU_VOLUME = 0;
42 
43  TestScene();
44 
45  ~TestScene();
46 
47  const std::unique_ptr< base::Node > root;
48 
49  base::Geometry& volumeGeometry() const;
50 
51  base::Camera& cam() const;
52 
53  void resetCamTransform();
54 
55 }; // TestScene
56 
57 
58 
59 } // namespace testing
60 
61 } // namespace Carna