Go to the documentation of this file.
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);
141 #endif // __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
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.
int m_edgeId
Attribute used as a index counter for edge objects.
te::rst::Raster * m_raster
Input raster with LDD information.
An abstract class for raster data strucutures.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
bool getVertexId(int row, int col, int &id)
Function used to generated the vertex id based on raster coordenate.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
virtual ~LDDGraphBuilder()
Virtual destructor.
This strategy is based on Serio Rosim method, using this "mask" is possible extract a graph from a LD...
LDDGraphBuilder()
Default constructor.
int getEdgeId()
Function used to generated the edge id.