57 for (std::vector<SUMORTree*>::iterator it =
myLayers.begin(); it !=
myLayers.end(); ++it) {
93 for (std::vector<SUMORTree*>::const_iterator it =
myLayers.begin(); it !=
myLayers.end(); ++it) {
94 result += (*it)->Search(a_min, a_max, c);
@ GLO_POI
poi (over view, geo and lane)
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
Stores the information about how to visualize structures.
void Insert(const float a_min[2], const float a_max[2], GUIGlObject *const &a_dataId)
Insert entry (delegate to appropriate layer).
LayeredRTree()
Constructor.
std::vector< SUMORTree * > myLayers
the layers for drawing
~LayeredRTree()
Destructor.
int Search(const float a_min[2], const float a_max[2], const GUIVisualizationSettings &c) const
Find all within search rectangle (searches all layers in order).
void Remove(const float a_min[2], const float a_max[2], GUIGlObject *const &a_dataId)
Remove entry (delegate to appropriate layer).
size_t selectLayer(GUIGlObject *o)
select the appropriate layer for each object