29#ifndef __TERRALIB_GRAPH_INTERNAL_BOXLOADERSTRATEGY_H
30#define __TERRALIB_GRAPH_INTERNAL_BOXLOADERSTRATEGY_H
This class define the main functions necessary to save and load the graph data and metadata informati...
A dataset is the unit of information manipulated by the data access module of TerraLib.
An Envelope defines a 2D rectangular region.
A point with x and y coordinate values.
AbstractGraphLoaderStrategy(te::graph::GraphMetadata *metadata)
Default constructor.
Abstract class used to define the main functions of graph struct. All graph implementations must used...
BoxLoaderStrategy(te::graph::GraphMetadata *metadata)
Default constructor.
virtual void loadDataByVertexId(int vertexId, te::graph::AbstractGraph *g, te::graph::GraphCache *gc=0)
Functio used to load a group of vertex elements given a base element.
virtual ~BoxLoaderStrategy()
Default destructor.
virtual void loadDataByEdgeId(int edgeId, te::graph::AbstractGraph *g, te::graph::GraphCache *gc=0)
Functio used to load a group of edges elements given a base element.
te::gm::Envelope * calculateBox(te::gm::Point *p, std::string tableName)
Generate a box with p as center. The new box will have n% of the total graph height and n% of total g...
Class used to manager the graph data elements. This class uses a cache policy to control the elements...
This class define a important struct used to group a map of vertex and edges. A flag is used to indic...
Namespace for the DataAccess API of TerraLib.
Namespace for the Vector Geometry 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.