38 #ifndef __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
39 #define __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
42 #include "../Config.h"
52 namespace da {
class DataSource; }
53 namespace rst {
class Raster; }
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...
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
This strategy is based on Serio Rosim method, using this "mask" is possible extract a graph from a LD...
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.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.