g2o
Public Member Functions | List of all members
PlaneItem Struct Reference
Inheritance diagram for PlaneItem:
Inheritance graph
[legend]
Collaboration diagram for PlaneItem:
Collaboration graph
[legend]

Public Member Functions

 PlaneItem (OptimizableGraph *graph_, int id)
 
- Public Member Functions inherited from WorldItem
 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from WorldItem
OptimizableGraph::Vertex_vertex
 
- Protected Attributes inherited from SimulatorItem
OptimizableGraph_graph
 

Detailed Description

Definition at line 185 of file simulator_3d_plane.cpp.

Constructor & Destructor Documentation

PlaneItem::PlaneItem ( OptimizableGraph graph_,
int  id 
)
inline

Definition at line 186 of file simulator_3d_plane.cpp.

References graph, and g2o::OptimizableGraph::Vertex::setId().

186  : WorldItem(graph_){
187  VertexPlane* p=new VertexPlane();
188  p->setId(id);
189  graph()->addVertex(p);
190  setVertex(p);
191  }
void setVertex(OptimizableGraph::Vertex *vertex_)
virtual void setId(int id)
sets the id of the node in the graph be sure that the graph keeps consistent after changing the id ...
virtual bool addVertex(HyperGraph::Vertex *v, Data *userData)
WorldItem(OptimizableGraph *graph_, OptimizableGraph::Vertex *vertex_=0)
OptimizableGraph * graph()

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