#include <scene.h>
Public Member Functions | |
void | addCamera (Camera *camera) |
void | addObject (Object *object) |
void | addViewport (Viewport *viewport) |
Camera * | getCamera (vtkCamera *camera) |
Camera * | getCamera (std::string name) |
std::vector< Camera * > | getCameras () |
Object * | getObjectByName (std::string name) |
std::vector< Object * > | getObjects () |
std::vector< Viewport * > | getViewports () |
void | lock () |
void | unlock () |
Static Public Member Functions | |
static Scene * | instance () |
Private Member Functions | |
Scene & | operator= (const Scene &op) |
Scene () | |
Scene (const Scene &op) | |
Private Attributes | |
std::vector< Camera * > | cameras_ |
std::vector< Object * > | objects_ |
boost::mutex | render_mutex_ |
std::vector< Viewport * > | viewports_ |
Static Private Attributes | |
static Scene * | instance_ = NULL |
Scene::Scene | ( | ) | [private] |
Scene::Scene | ( | const Scene & | op | ) | [private] |
void Scene::addCamera | ( | Camera * | camera | ) |
void Scene::addObject | ( | Object * | object | ) |
void Scene::addViewport | ( | Viewport * | viewport | ) |
Camera * Scene::getCamera | ( | vtkCamera * | camera | ) |
Camera * Scene::getCamera | ( | std::string | name | ) |
std::vector< Camera * > Scene::getCameras | ( | ) |
Object * Scene::getObjectByName | ( | std::string | name | ) |
std::vector< Object * > Scene::getObjects | ( | ) |
std::vector< Viewport * > Scene::getViewports | ( | ) |
static Scene* Scene::instance | ( | ) | [inline, static] |
void Scene::lock | ( | ) | [inline] |
void Scene::unlock | ( | ) | [inline] |
std::vector<Camera*> Scene::cameras_ [private] |
Scene * Scene::instance_ = NULL [static, private] |
std::vector<Object*> Scene::objects_ [private] |
boost::mutex Scene::render_mutex_ [private] |
std::vector<Viewport*> Scene::viewports_ [private] |