Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
jafar::lgl::TDecomposer< T, RasterT > Class Template Reference

Abstract class that all terrain decomposers (bin tree, quadtree or any rectangular clustering) More...


Detailed Description

template<typename T, class RasterT>
class jafar::lgl::TDecomposer< T, RasterT >

Abstract class that all terrain decomposers (bin tree, quadtree or any rectangular clustering)

Definition at line 31 of file Decomposer.hpp.

#include <Decomposer.hpp>

Inheritance diagram for jafar::lgl::TDecomposer< T, RasterT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TDecomposer (RasterT *_raster)
RasterT * getRaster () const
DecompgetDecomp () 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.
Decompdecomp
 The decomposition matrix structure.

Member Data Documentation

template<typename T, class RasterT>
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().

template<typename T, class RasterT>
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().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:41 for Jafar by doxygen 1.7.6.1
LAAS-CNRS