6 #include "outofcore_cloud.h"
15 static Scene *instance_;
29 if (!Scene::instance_)
30 Scene::instance_ =
new Scene ();
32 return Scene::instance_;
66 std::vector<Viewport*>
72 render_mutex_.lock ();
78 render_mutex_.unlock ();
82 std::vector<Camera*> cameras_;
83 std::vector<Viewport*> viewports_;
84 std::vector<Object*> objects_;
86 std::mutex render_mutex_;
Camera * getCamera(const std::string &name)
Object * getObjectByName(const std::string &name)
std::vector< Object * > getObjects()
void addViewport(Viewport *viewport)
void addCamera(Camera *camera)
void addObject(Object *object)
std::vector< Viewport * > getViewports()
Scene(const Scene &op)=delete
static Scene * instance()
std::vector< Camera * > getCameras()
Camera * getCamera(vtkCamera *camera)
Scene & operator=(const Scene &op)=delete