g2o
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
WorldItem Struct Reference
Inheritance diagram for WorldItem:
Inheritance graph
[legend]
Collaboration diagram for WorldItem:
Collaboration graph
[legend]

Public Member Functions

 WorldItem (OptimizableGraph *graph_, OptimizableGraph::Vertex *vertex_=0)
 
OptimizableGraph::Vertexvertex ()
 
void setVertex (OptimizableGraph::Vertex *vertex_)
 
 WorldItem (OptimizableGraph *graph_, OptimizableGraph::Vertex *vertex_=0)
 
OptimizableGraph::Vertexvertex ()
 
void setVertex (OptimizableGraph::Vertex *vertex_)
 
- Public Member Functions inherited from SimulatorItem
 SimulatorItem (OptimizableGraph *graph_)
 
OptimizableGraphgraph ()
 
virtual ~SimulatorItem ()
 
 SimulatorItem (OptimizableGraph *graph_)
 
OptimizableGraphgraph ()
 
virtual ~SimulatorItem ()
 

Protected Attributes

OptimizableGraph::Vertex_vertex
 
- Protected Attributes inherited from SimulatorItem
OptimizableGraph_graph
 

Detailed Description

Definition at line 54 of file simulator_3d_line.cpp.

Constructor & Destructor Documentation

◆ WorldItem() [1/2]

WorldItem::WorldItem ( OptimizableGraph graph_,
OptimizableGraph::Vertex vertex_ = 0 
)
inline

Definition at line 55 of file simulator_3d_line.cpp.

56 : SimulatorItem(graph_), _vertex(vertex_) {}
OptimizableGraph::Vertex * _vertex

◆ WorldItem() [2/2]

WorldItem::WorldItem ( OptimizableGraph graph_,
OptimizableGraph::Vertex vertex_ = 0 
)
inline

Definition at line 79 of file simulator_3d_plane.cpp.

80 : SimulatorItem(graph_), _vertex(vertex_) {}

Member Function Documentation

◆ setVertex() [1/2]

void WorldItem::setVertex ( OptimizableGraph::Vertex vertex_)
inline

Definition at line 58 of file simulator_3d_line.cpp.

58{ _vertex = vertex_; }

References _vertex.

Referenced by LineItem::LineItem(), Robot::move(), and PlaneItem::PlaneItem().

◆ setVertex() [2/2]

void WorldItem::setVertex ( OptimizableGraph::Vertex vertex_)
inline

Definition at line 82 of file simulator_3d_plane.cpp.

82{ _vertex = vertex_; }

References _vertex.

◆ vertex() [1/2]

OptimizableGraph::Vertex * WorldItem::vertex ( )
inline

Definition at line 57 of file simulator_3d_line.cpp.

57{ return _vertex; }

References _vertex.

Referenced by main(), Robot::move(), LineSensor::sense(), and PlaneSensor::sense().

◆ vertex() [2/2]

OptimizableGraph::Vertex * WorldItem::vertex ( )
inline

Definition at line 81 of file simulator_3d_plane.cpp.

81{ return _vertex; }

References _vertex.

Member Data Documentation

◆ _vertex

OptimizableGraph::Vertex * WorldItem::_vertex
protected

Definition at line 61 of file simulator_3d_line.cpp.

Referenced by setVertex(), and vertex().


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