g2o
Loading...
Searching...
No Matches
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 () const
 
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 64 of file simulator.h.

Member Typedef Documentation

◆ EstimateType

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

Definition at line 68 of file simulator.h.

◆ VertexType

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

Definition at line 67 of file simulator.h.

Constructor & Destructor Documentation

◆ WorldObject()

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

Definition at line 69 of file simulator.h.

69 : BaseWorldObject(world_) {
70 _vertex = new VertexType();
71 }
BaseWorldObject(World *world_=0)
Definition simulator.h:46
OptimizableGraph::Vertex * _vertex
Definition simulator.h:59
VertexType_ VertexType
Definition simulator.h:67

References g2o::BaseWorldObject::_vertex.

Member Function Documentation

◆ setVertex()

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

Reimplemented from g2o::BaseWorldObject.

Definition at line 72 of file simulator.h.

72 {
73 if (!dynamic_cast<VertexType*>(vertex_)) return;
74 _vertex = vertex_;
75 }

References g2o::BaseWorldObject::_vertex.

◆ vertex()

template<class VertexType_ >
VertexType * g2o::WorldObject< VertexType_ >::vertex ( )
inline

Definition at line 77 of file simulator.h.

77 {
78 if (!_vertex) return 0;
79 return dynamic_cast<VertexType*>(_vertex);
80 }

References g2o::BaseWorldObject::_vertex.

Member Data Documentation

◆ EIGEN_MAKE_ALIGNED_OPERATOR_NEW

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

Definition at line 66 of file simulator.h.


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