g2o
Public Member Functions | Protected Attributes | List of all members
g2o::BaseWorldObject Class Reference

#include <simulator.h>

Inheritance diagram for g2o::BaseWorldObject:
Inheritance graph
[legend]
Collaboration diagram for g2o::BaseWorldObject:
Collaboration graph
[legend]

Public Member Functions

 BaseWorldObject (World *world_=0)
 
virtual ~BaseWorldObject ()
 
void setWorld (World *world_)
 
Worldworld ()
 
OptimizableGraphgraph ()
 
OptimizableGraph::Vertexvertex ()
 
virtual void setVertex (OptimizableGraph::Vertex *vertex_)
 

Protected Attributes

OptimizableGraph_graph
 
OptimizableGraph::Vertex_vertex
 
World_world
 

Detailed Description

Definition at line 42 of file simulator.h.

Constructor & Destructor Documentation

g2o::BaseWorldObject::BaseWorldObject ( World world_ = 0)
inline

Definition at line 44 of file simulator.h.

44 {_world = world_; _vertex=0;}
OptimizableGraph::Vertex * _vertex
Definition: simulator.h:53
g2o::BaseWorldObject::~BaseWorldObject ( )
virtual

Definition at line 33 of file simulator.cpp.

33 {}

Member Function Documentation

OptimizableGraph * g2o::BaseWorldObject::graph ( )

Definition at line 34 of file simulator.cpp.

References graph.

34  {
35  if (_world)
36  return _world-> graph();
37  return 0;
38  }
OptimizableGraph * graph()
Definition: simulator.cpp:34
void g2o::BaseWorldObject::setVertex ( OptimizableGraph::Vertex vertex_)
virtual

Reimplemented in g2o::WorldObject< VertexType_ >.

Definition at line 40 of file simulator.cpp.

40  {
41  _vertex= vertex_;
42  }
OptimizableGraph::Vertex * _vertex
Definition: simulator.h:53
void g2o::BaseWorldObject::setWorld ( World world_)
inline

Definition at line 46 of file simulator.h.

46 {_world = world_;}
OptimizableGraph::Vertex* g2o::BaseWorldObject::vertex ( )
inline

Definition at line 49 of file simulator.h.

Referenced by g2o::World::addWorldObject().

49 {return _vertex;}
OptimizableGraph::Vertex * _vertex
Definition: simulator.h:53
World* g2o::BaseWorldObject::world ( )
inline

Definition at line 47 of file simulator.h.

References graph.

47 {return _world;}

Member Data Documentation

OptimizableGraph* g2o::BaseWorldObject::_graph
protected

Definition at line 52 of file simulator.h.

OptimizableGraph::Vertex* g2o::BaseWorldObject::_vertex
protected

Definition at line 53 of file simulator.h.

World* g2o::BaseWorldObject::_world
protected

Definition at line 54 of file simulator.h.


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