Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
Scene Class Reference

#include <scene.h>

List of all members.

Public Member Functions

void addCamera (Camera *camera)
void addObject (Object *object)
void addViewport (Viewport *viewport)
CameragetCamera (vtkCamera *camera)
CameragetCamera (std::string name)
std::vector< Camera * > getCameras ()
ObjectgetObjectByName (std::string name)
std::vector< Object * > getObjects ()
std::vector< Viewport * > getViewports ()
void lock ()
void unlock ()

Static Public Member Functions

static Sceneinstance ()

Private Member Functions

Sceneoperator= (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 Sceneinstance_ = NULL

Detailed Description

Definition at line 12 of file scene.h.


Constructor & Destructor Documentation

Scene::Scene ( ) [private]

Definition at line 9 of file scene.cpp.

Scene::Scene ( const Scene op) [private]

Member Function Documentation

void Scene::addCamera ( Camera camera)

Definition at line 17 of file scene.cpp.

void Scene::addObject ( Object object)

Definition at line 55 of file scene.cpp.

void Scene::addViewport ( Viewport viewport)

Definition at line 85 of file scene.cpp.

Camera * Scene::getCamera ( vtkCamera *  camera)

Definition at line 29 of file scene.cpp.

Definition at line 43 of file scene.cpp.

std::vector< Camera * > Scene::getCameras ( )

Definition at line 23 of file scene.cpp.

Definition at line 61 of file scene.cpp.

std::vector< Object * > Scene::getObjects ( )

Definition at line 71 of file scene.cpp.

std::vector< Viewport * > Scene::getViewports ( )

Definition at line 91 of file scene.cpp.

static Scene* Scene::instance ( ) [inline, static]

Definition at line 27 of file scene.h.

void Scene::lock ( ) [inline]

Definition at line 70 of file scene.h.

Scene& Scene::operator= ( const Scene op) [private]
void Scene::unlock ( ) [inline]

Definition at line 76 of file scene.h.


Member Data Documentation

std::vector<Camera*> Scene::cameras_ [private]

Definition at line 82 of file scene.h.

Scene * Scene::instance_ = NULL [static, private]

Definition at line 16 of file scene.h.

std::vector<Object*> Scene::objects_ [private]

Definition at line 84 of file scene.h.

boost::mutex Scene::render_mutex_ [private]

Definition at line 86 of file scene.h.

std::vector<Viewport*> Scene::viewports_ [private]

Definition at line 83 of file scene.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:53