g2o
Public Types | Public Member Functions | Public Attributes | List of all members
g2o::WorldObject< VertexType_ > Class Template Reference

#include <simulator.h>

Inheritance diagram for g2o::WorldObject< VertexType_ >:
Inheritance graph
[legend]
Collaboration diagram for g2o::WorldObject< VertexType_ >:
Collaboration graph
[legend]

Public Types

typedef VertexType_ VertexType
 
typedef VertexType_::EstimateType EstimateType
 

Public Member Functions

 WorldObject (World *world_=0)
 
virtual void setVertex (OptimizableGraph::Vertex *vertex_)
 
VertexTypevertex ()
 
- Public Member Functions inherited from g2o::BaseWorldObject
 BaseWorldObject (World *world_=0)
 
virtual ~BaseWorldObject ()
 
void setWorld (World *world_)
 
Worldworld ()
 
OptimizableGraphgraph ()
 
OptimizableGraph::Vertexvertex ()
 

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 

Additional Inherited Members

- Protected Attributes inherited from g2o::BaseWorldObject
OptimizableGraph_graph
 
OptimizableGraph::Vertex_vertex
 
World_world
 

Detailed Description

template<class VertexType_>
class g2o::WorldObject< VertexType_ >

Definition at line 58 of file simulator.h.

Member Typedef Documentation

template<class VertexType_ >
typedef VertexType_::EstimateType g2o::WorldObject< VertexType_ >::EstimateType

Definition at line 62 of file simulator.h.

template<class VertexType_ >
typedef VertexType_ g2o::WorldObject< VertexType_ >::VertexType

Definition at line 61 of file simulator.h.

Constructor & Destructor Documentation

template<class VertexType_ >
g2o::WorldObject< VertexType_ >::WorldObject ( World world_ = 0)
inline

Definition at line 63 of file simulator.h.

63  : BaseWorldObject(world_){
64  _vertex = new VertexType();
65  }
BaseWorldObject(World *world_=0)
Definition: simulator.h:44
OptimizableGraph::Vertex * _vertex
Definition: simulator.h:53
VertexType_ VertexType
Definition: simulator.h:61

Member Function Documentation

template<class VertexType_ >
virtual void g2o::WorldObject< VertexType_ >::setVertex ( OptimizableGraph::Vertex vertex_)
inlinevirtual

Reimplemented from g2o::BaseWorldObject.

Definition at line 66 of file simulator.h.

66  {
67  if(! dynamic_cast<VertexType*>(vertex_))
68  return;
69  _vertex = vertex_;
70  }
OptimizableGraph::Vertex * _vertex
Definition: simulator.h:53
template<class VertexType_ >
VertexType* g2o::WorldObject< VertexType_ >::vertex ( )
inline

Member Data Documentation

template<class VertexType_ >
g2o::WorldObject< VertexType_ >::EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Definition at line 60 of file simulator.h.


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