g2o
Loading...
Searching...
No Matches
PlaneItem Struct Reference
Inheritance diagram for PlaneItem:
Collaboration diagram for PlaneItem:

Public Member Functions

 PlaneItem (OptimizableGraph *graph_, int id)
Public Member Functions inherited from WorldItem
 WorldItem (OptimizableGraph *graph_, OptimizableGraph::Vertex *vertex_=0)
OptimizableGraph::Vertex * vertex ()
void setVertex (OptimizableGraph::Vertex *vertex_)
 WorldItem (OptimizableGraph *graph_, OptimizableGraph::Vertex *vertex_=0)
OptimizableGraph::Vertex * vertex ()
void setVertex (OptimizableGraph::Vertex *vertex_)
Public Member Functions inherited from SimulatorItem
 SimulatorItem (OptimizableGraph *graph_)
OptimizableGraph * graph ()
virtual ~SimulatorItem ()
 SimulatorItem (OptimizableGraph *graph_)
OptimizableGraph * graph ()
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 198 of file simulator_3d_plane.cpp.

Constructor & Destructor Documentation

◆ PlaneItem()

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

Definition at line 199 of file simulator_3d_plane.cpp.

199 : WorldItem(graph_) {
200 VertexPlane* p = new VertexPlane();
201 p->setId(id);
202 graph()->addVertex(p);
203 setVertex(p);
204 }
OptimizableGraph * graph()
WorldItem(OptimizableGraph *graph_, OptimizableGraph::Vertex *vertex_=0)
void setVertex(OptimizableGraph::Vertex *vertex_)
virtual bool addVertex(HyperGraph::Vertex *v, Data *userData)

References g2o::OptimizableGraph::addVertex(), SimulatorItem::graph(), g2o::OptimizableGraph::Vertex::setId(), WorldItem::setVertex(), and WorldItem::WorldItem().


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