#include <object.h>
Public Member Functions | |
void | addActor (vtkActor *actor) |
vtkSmartPointer < vtkActorCollection > | getActors () |
std::string | getName () const |
bool | hasActor (vtkActor *actor) |
Object (std::string name) | |
void | removeActor (vtkActor *actor) |
virtual void | render (vtkRenderer *renderer) |
void | setName (std::string name) |
virtual | ~Object () |
Protected Attributes | |
vtkSmartPointer < vtkActorCollection > | actors_ |
boost::mutex | actors_mutex_ |
Private Attributes | |
std::map< vtkActor *, std::set < vtkRenderer * > > | associated_renderers_ |
std::string | name_ |
Object::Object | ( | std::string | name | ) |
Definition at line 7 of file object.cpp.
virtual Object::~Object | ( | ) | [inline, virtual] |
void Object::addActor | ( | vtkActor * | actor | ) |
Definition at line 64 of file object.cpp.
vtkSmartPointer< vtkActorCollection > Object::getActors | ( | ) |
Definition at line 29 of file object.cpp.
std::string Object::getName | ( | ) | const |
Definition at line 17 of file object.cpp.
bool Object::hasActor | ( | vtkActor * | actor | ) |
Definition at line 56 of file object.cpp.
void Object::removeActor | ( | vtkActor * | actor | ) |
Definition at line 99 of file object.cpp.
void Object::render | ( | vtkRenderer * | renderer | ) | [virtual] |
Reimplemented in OutofcoreCloud, and Camera.
Definition at line 35 of file object.cpp.
void Object::setName | ( | std::string | name | ) |
Definition at line 23 of file object.cpp.
vtkSmartPointer<vtkActorCollection> Object::actors_ [protected] |
boost::mutex Object::actors_mutex_ [protected] |
std::map<vtkActor*, std::set<vtkRenderer*> > Object::associated_renderers_ [private] |
std::string Object::name_ [private] |