libspatialindex API Reference  (git-trunk)
SpatialIndex::MVRTree::MVRTree Class Reference

#include <MVRTree.h>

Inheritance diagram for SpatialIndex::MVRTree::MVRTree:
Inheritance graph
Collaboration diagram for SpatialIndex::MVRTree::MVRTree:
Collaboration graph

Public Member Functions

 MVRTree (IStorageManager &, Tools::PropertySet &)
 
 ~MVRTree ()
 
virtual void insertData (uint32_t len, const uint8_t *pData, const IShape &shape, id_type id)
 
virtual bool deleteData (const IShape &shape, id_type id)
 
virtual void internalNodesQuery (const IShape &query, IVisitor &v)
 
virtual void containsWhatQuery (const IShape &query, IVisitor &v)
 
virtual void intersectsWithQuery (const IShape &query, IVisitor &v)
 
virtual void pointLocationQuery (const Point &query, IVisitor &v)
 
virtual void nearestNeighborQuery (uint32_t k, const IShape &query, IVisitor &v, INearestNeighborComparator &)
 
virtual void nearestNeighborQuery (uint32_t k, const IShape &query, IVisitor &v)
 
virtual void selfJoinQuery (const IShape &s, IVisitor &v)
 
virtual void queryStrategy (IQueryStrategy &qs)
 
virtual void getIndexProperties (Tools::PropertySet &out) const
 
virtual void addCommand (ICommand *pCommand, CommandType ct)
 
virtual bool isIndexValid ()
 
virtual void getStatistics (IStatistics **out) const
 
virtual void flush ()
 
- Public Member Functions inherited from SpatialIndex::ISpatialIndex
virtual ~ISpatialIndex ()=default
 

Friends

class Node
 
class Leaf
 
class Index
 
std::ostream & operator<< (std::ostream &os, const MVRTree &t)
 

Detailed Description

Definition at line 42 of file src/mvrtree/MVRTree.h.

Constructor & Destructor Documentation

◆ MVRTree()

SpatialIndex::MVRTree::MVRTree::MVRTree ( IStorageManager sm,
Tools::PropertySet ps 
)

◆ ~MVRTree()

SpatialIndex::MVRTree::MVRTree::~MVRTree ( )

Definition at line 242 of file MVRTree.cc.

Member Function Documentation

◆ addCommand()

void SpatialIndex::MVRTree::MVRTree::addCommand ( ICommand pCommand,
CommandType  ct 
)
virtual

◆ containsWhatQuery()

void SpatialIndex::MVRTree::MVRTree::containsWhatQuery ( const IShape query,
IVisitor v 
)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 310 of file MVRTree.cc.

References SpatialIndex::MVRTree::ContainmentQuery, and SpatialIndex::IShape::getDimension().

Here is the call graph for this function:

◆ deleteData()

◆ flush()

void SpatialIndex::MVRTree::MVRTree::flush ( )
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 560 of file MVRTree.cc.

◆ getIndexProperties()

◆ getStatistics()

void SpatialIndex::MVRTree::MVRTree::getStatistics ( IStatistics **  out) const
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 555 of file MVRTree.cc.

◆ insertData()

void SpatialIndex::MVRTree::MVRTree::insertData ( uint32_t  len,
const uint8_t *  pData,
const IShape shape,
id_type  id 
)
virtual

◆ internalNodesQuery()

void SpatialIndex::MVRTree::MVRTree::internalNodesQuery ( const IShape query,
IVisitor v 
)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 305 of file MVRTree.cc.

◆ intersectsWithQuery()

void SpatialIndex::MVRTree::MVRTree::intersectsWithQuery ( const IShape query,
IVisitor v 
)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 316 of file MVRTree.cc.

References SpatialIndex::IShape::getDimension(), and SpatialIndex::MVRTree::IntersectionQuery.

Here is the call graph for this function:

◆ isIndexValid()

◆ nearestNeighborQuery() [1/2]

void SpatialIndex::MVRTree::MVRTree::nearestNeighborQuery ( uint32_t  k,
const IShape query,
IVisitor v 
)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 336 of file MVRTree.cc.

References SpatialIndex::IShape::getDimension().

Here is the call graph for this function:

◆ nearestNeighborQuery() [2/2]

void SpatialIndex::MVRTree::MVRTree::nearestNeighborQuery ( uint32_t  k,
const IShape query,
IVisitor v,
INearestNeighborComparator  
)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 331 of file MVRTree.cc.

◆ pointLocationQuery()

void SpatialIndex::MVRTree::MVRTree::pointLocationQuery ( const Point query,
IVisitor v 
)
virtual

◆ queryStrategy()

void SpatialIndex::MVRTree::MVRTree::queryStrategy ( IQueryStrategy qs)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 348 of file MVRTree.cc.

References SpatialIndex::IQueryStrategy::getNextEntry().

Here is the call graph for this function:

◆ selfJoinQuery()

void SpatialIndex::MVRTree::MVRTree::selfJoinQuery ( const IShape s,
IVisitor v 
)
virtual

Implements SpatialIndex::ISpatialIndex.

Definition at line 343 of file MVRTree.cc.

Friends And Related Function Documentation

◆ Index

friend class Index
friend

Definition at line 216 of file src/mvrtree/MVRTree.h.

◆ Leaf

friend class Leaf
friend

Definition at line 215 of file src/mvrtree/MVRTree.h.

◆ Node

friend class Node
friend

Definition at line 214 of file src/mvrtree/MVRTree.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const MVRTree t 
)
friend

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