forgot to add the new files
[laserbrain_demo] / src / exman.h
diff --git a/src/exman.h b/src/exman.h
new file mode 100644 (file)
index 0000000..5c627e6
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef EXMAN_H_
+#define EXMAN_H_
+
+#include <vector>
+#include "exhibit.h"
+#include "metascene.h"
+
+class ExhibitManager {
+private:
+       std::vector<Exhibit*> items;
+
+public:
+       ExhibitManager();
+       ~ExhibitManager();
+
+       bool load(const MetaScene *mscn, const char *fname);
+
+       ExSelection select(const Ray &ray) const;
+       ExSelection select(const Sphere &sph) const;
+};
+
+#endif // EXMAN_H_