38#ifndef __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
39#define __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
103 bool build(
te::rst::Raster* raster,
const std::string& dsInfo,
const std::string& graphType,
const std::map<std::string, std::string>& gInfo);
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
An abstract class for data providers like a DBMS, Web Services or a regular file.
AbstractGraphBuilder()
Default constructor.
virtual ~LDDGraphBuilder()
Virtual destructor.
int m_edgeId
Attribute used as a index counter for edge objects.
int getEdgeId()
Function used to generated the edge id.
LDDGraphBuilder()
Default constructor.
te::rst::Raster * m_raster
Input raster with LDD information.
bool getVertexId(int row, int col, int &id)
Function used to generated the vertex id based on raster coordenate.
bool build(te::rst::Raster *raster, const std::string &dsInfo, const std::string &graphType, const std::map< std::string, std::string > &gInfo)
Function used to build the output graph based on input parameters.
An abstract class for raster data strucutures.
Namespace for the DataAccess API of TerraLib.
Namespace for the Raster module of TerraLib.
Configuration flags for the Graph module of TerraLib.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.