Jafar
|
Abstract class that all terrain decomposers (bin tree, quadtree or any rectangular clustering) More...
Abstract class that all terrain decomposers (bin tree, quadtree or any rectangular clustering)
Definition at line 31 of file Decomposer.hpp.
#include <Decomposer.hpp>
Public Member Functions | |
TDecomposer (RasterT *_raster) | |
RasterT * | getRaster () const |
Decomp * | getDecomp () const |
virtual T | getData (const RasterRect &rect) const =0 |
virtual T | getData (const RasterCellIndex &cluster) const =0 |
virtual bool | getClusterForCell (const RasterCellIndex &cell, RasterRect &cluster) const =0 |
virtual bool | getClusterForCell (const RasterCellIndex &cell, RasterCellIndex &clusterRoot) const =0 |
virtual bool | getAdjacentClusters (const RasterCellIndex &root_cell, Decomp::SIDE side, std::list< RasterCellIndex > &clusters) const =0 |
Protected Attributes | |
RasterT * | raster |
Pointer to the raster object of type Raster. | |
Decomp * | decomp |
The decomposition matrix structure. |
Decomp* jafar::lgl::TDecomposer< T, RasterT >::decomp [protected] |
The decomposition matrix structure.
It represents in a raster/matrix way the geometric rectangular decomposition
Definition at line 46 of file Decomposer.hpp.
Referenced by jafar::lgl::Quadtree< T, RasterT >::Quadtree().
RasterT* jafar::lgl::TDecomposer< T, RasterT >::raster [protected] |
Pointer to the raster object of type Raster.
It represents the data of the terrain over which the quadtree is built. This points generally to an external object. (Do not delete)
Definition at line 40 of file Decomposer.hpp.
Referenced by jafar::lgl::Quadtree< T, RasterT >::Quadtree().
Generated on Wed Oct 15 2014 00:37:41 for Jafar by doxygen 1.7.6.1 |